- #76 - Queries and filtering. See TRANSITION.md.
- #82 - Simplify error handling. Reduced size of angular-data.min.js by 4kb.
- #42 - Relations/Associations.
DS.inject
now looks for relations and injects them as well.
- #17 - Where predicates should be able to handle OR, not just AND
- #23 - Computed Properties
- #78 - Added optional callback to
bindOne
andbindAll
- #79 -
ejectAll
should clear matching completed queries - #83 - Implement
DS.loadRelations(resourceName, instance(Id), relations[, options])
- #84 - idAttribute of a resource can be a computed property
- #68 - Async methods should honor methods on a resource definition.
- #69 - Failed requests should throw an error, not just return it
- #70 - Make
params
andparams.query
optional
- #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) { ... };
- #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
- #44 - Pending query isn't deleted when the response is a failure
- #47 - Minification error in $q $delegate
- #37 - Add option to only save changed attributes when calling DS.save()
- #38 - "saved" attribute item isn't being updated properly
- #36 - Fixed inconsistencies in
DS.filter
when using skip or limit in the query
DS.eject(resourceName, id)
can now only eject individual items
- #34 - Added
DS.ejectAll(resourceName, params)
- #33 - Added
DS.destroyAll(resourceName, params[, options])
- #35 - Add options for asynchronous getter methods to return data without putting it into the data store
Added pluggable filters for the "where" clause of a query. Angular-data's "query language" will remain small and simple. Developers can provide their own more robust filters for more powerful queries.
- #3 - Pluggable async adapters
- #2 - angular-data query language
- #4 - Query caching
- #17 - Where predicates should be able to handle OR, not just AND
- #22 - Reorganize infrastructure to utilize angular's DI
- #1 - Pluggable adapters
- #6 - Observable objects
- #7 - Model lifecycle hooks
- #19 - Null pointer exception in several places where angular-data tries to use the $q service
- #15 - Integration test coverage
- #18 - observers aren't created for items injected into the store from a findAll() call.