Releases: js-data/js-data-angular
Releases · js-data/js-data-angular
0.10.5
0.10.4
0.10.4 - 04 August 2014
Breaking API changes
- #110 -
DS.refresh
now always returns a promise
Backwards compatible API changes
Backwards compatible bug fixes
- #104 - Only hijack $rootScope digest when Object.observe is unavailable
- #105 - prototype methods shouldn't be included in change sets
- #106 - cacheResponse: false should force bypassCache to true
- #108 - Computed properties array syntax and primary id
- #110 -
DS.refresh
should still return a promise if the item isn't already in the data store
0.10.3
0.10.2
0.10.1
0.10.1 - 20 July 2014
Backwards compatible API changes
- #93 - Added
DS.createInstance(resourceName[, attrs][, options])
- #96 - Resource definitions should be able to proxy DS methods
Backwards compatible bug fixes
- #90 - DS.create isn't added to completedQueries (
DS.create
now adds a completed query entry) - #91 - dist/angular-data(.min).js doesn't end with a semicolon (upgraded Browserify)
- #94 - Resource object name/class inconsistency (added
useClass
option toDS.defineResource
) - #95 - observe-js outdated (Upgraded observe-js.js an refactored to new API)
- #98 - Missing id warning
0.10.0
0.10.0 - 18 July 2014
Official Release
See the following for 0.10.0 changes:
https://github.com/jmdobry/angular-data/releases/tag/0.10.0-beta.2
https://github.com/jmdobry/angular-data/releases/tag/0.10.0-beta.1
0.10.0-beta.2
0.10.0-beta.1
0.10.0-beta.1 - 28 June 2014
Breaking API changes
- #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.
Backwards compatible API changes
- #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
0.9.1
0.9.0
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