- Interfaces are in
ng.jsonapinow - Resources can be extended for personalized classes
- Save on localstore all data. When you request a resource or collection, first check memory. If its empty, read from store. If is empty, get the data from back-end.
- HttpStorage deprecated: jsons were saved as sent by the server, now we save json with logic (saving ids and resources separately).
- Service with
toServer()andfromServer()functions. They execute before and after http request. Ideal for type conversions. JsonapiCore.duplicateResource(resouce, ...relationtypes)return a duplication of resource. You can duplicate resources and, optionally, their relationships. (v0.6.16)- resource save() method return a promise.
- Fix problem with
Possibly unhandled rejection: undefinedwith new AngularJs. - Fix problem with double angularjs library require.
- typings and index.d.ts removed. We only use
import
All data is merged on one single resource. If you request a request a single related resource, and on this request not include any another resource, related resources come from memory cache (if exists)