0.9.0
Pre-release
Pre-release
0.9.0 - 22 May 2014
Breaking API changes
- #61 - Make custom serializers/deserializers more valuable
- #59, #62 - Make queryTransform() consistent with the rest of the API
Before:
DSHttpAdapterProvider.defaults.serialize = function (data) { ... };
After:
DSProvider.defaults.serialize = function (resourceName, data) { ... };
Before:
DSHttpAdapterProvider.defaults.deserialize = function (data) { ... };
After:
DSProvider.defaults.deserialize = function (resourceName, data) { ... };
Before:
DSHttpAdapterProvider.defaults.queryTransform = function (query) { ... };
After:
DSHttpAdapterProvider.defaults.queryTransform = function (resourceName, query) { ... };
Backwards compatible API changes
- #30, #48, #66 - DSCacheFactory integration
- #49 - DS.bindOne($scope, prop, resourceName, id)
- #50 - DS.bindAll($scope, prop, resourceName, query)
- #51 - Allow baseUrl to be overridable at the method level
- #52 - DS.update(resourceName, id, attrs[, options]) (different from DS.save())
- #54 - Adding functionality to resources
- #56 - DS.updateAll(resourceName, attrs, params[, options])
- #60 - DSHttpAdapterProvider.defaults is undefined
- #63 - DSLocalStorageAdapter