Skip to content

Latest commit

 

History

History
264 lines (189 loc) · 8.63 KB

CHANGELOG.md

File metadata and controls

264 lines (189 loc) · 8.63 KB
1.0.0-rc.2 - xx September 2014
Backwards compatible API changes
  • #145 - Add "useClass" option to inject, find, findAll, create
  • #155 - Allow deserialize and serialize to be configured per-method as well
  • #159 - Find which items from collection have changed with lastModified
  • #161 - Allow the http method of DSHttpAdapter methods to be configured
  • #166 - Add ID Resolver
  • #167 - Default params argument of bindAll to empty object
  • #170 - Global callbacks
  • #171 - "not in" query
Backwards compatible bug fixes
  • #156 - cached findAll pending query doesn't get removed sometimes
  • #163 - loadRelations shouldn't try to load a relation if the id for it is missing
  • #165 - DS.hasChanges() reports changes after loading relations
1.0.0-rc.1 - 03 September 2014
Backwards compatible API changes
  • #142 - Update references on eject (Added DS.unlinkInverse)
1.0.0-beta.3 - 30 August 2014
Backwards compatible bug fixes
  • Unfroze resource definitions
1.0.0-beta.2 - 27 August 2014
Breaking API changes
  • findBelongsTo option of DS.inject now defaults to false
Backwards compatible API changes
  • #132 - Added findHasMany option and capability to DS.inject
  • #133 - Override resource end point in async methods
  • #136 - Add a way to force computed properties to be computed. Added DS.compute. Added DSCompute to prototype of instances.
  • #137 - Add DS.link, DS.linkAll, and DS.linkInverse, and added linkInverse option to DS.inject
Backwards compatible bug fixes
  • #135 - loadrelations loop
  • #140 - lastModified changes when loading distant related objects
Other
  • #138 - Performance optimizations
  • #139 - Documentation error
1.0.0-beta.1 - 23 August 2014
Backwards compatible API changes
  • #40 - Support for nested resource endpoints
  • #118, #122 - Multiple relationships to the same model
  • #120 - When using DSCacheFactory, allow onExpire to be specified
  • #132 - Inject relations for parent resource on create
  • #141 - Allow lifecycle hooks to be overridden per method as well
Backwards compatible bug fixes
  • #126 - injectRelations isn't running when injecting an array
Other
  • #121 - Documentation errors
  • #123 - Send query params with DS.find()
  • #124 - Documentation overhaul
0.10.5 - 14 August 2014
Backwards compatible API changes
  • #111 - DSHttpAdapter default $http config
  • #114 - Include resourceName in error messages
  • #117 - Event system
Backwards compatible bug fixes
  • #113 - FindAll with object as a result
0.10.4 - 04 August 2014
Breaking API changes
  • #110 - DS.refresh now always returns a promise
Backwards compatible API changes
  • #103 - Add upsert option to DS.create
  • #107 - Computed properties no dependencies
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 - 24 July 2014
Backwards compatible bug fixes
  • #100 - defineResource can't handle names that aren't [a-zA-z0-9]
  • #101 - DS.findAll isn't added to completedQueries
  • #102 - Resource objects are missing the changes, eject, and ejectAll methods
0.10.2 - 21 July 2014
Backwards compatible bug fixes
  • #99 - Computed properties + uglify
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 to DS.defineResource)
  • #95 - observe-js outdated (Upgraded observe-js.js an refactored to new API)
  • #98 - Missing id warning
0.10.0 - 18 July 2014

Official Release

0.10.0-beta.2 - 10 July 2014
Backwards compatible API changes
  • #89 - Added the cacheResponse option to DS.create and DS.save
Backwards compatible bug fixes
  • #87 - Filter where boolean values
Other
  • #88 - Fixed guide documentation for the simple default where filter
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 and bindAll
  • #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 - 30 May 2014
Backwards compatible bug fixes
  • #68 - Async methods should honor methods on a resource definition.
  • #69 - Failed requests should throw an error, not just return it
  • #70 - Make params and params.query optional
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
0.8.1 - 02 May 2014
Backwards compatible Bug fixes
  • #44 - Pending query isn't deleted when the response is a failure
  • #47 - Minification error in $q $delegate
0.8.0 - 13 March 2014
Backwards compatible API changes
  • #37 - Add option to only save changed attributes when calling DS.save()
Backwards compatible bug fixes
  • #38 - "saved" attribute item isn't being updated properly
0.7.1 - 26 February 2014
Backwards compatible bug fixes
  • #36 - Fixed inconsistencies in DS.filter when using skip or limit in the query
0.7.0 - 24 February 2014
Breaking API changes
  • DS.eject(resourceName, id) can now only eject individual items
Backwards compatible API changes
  • #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
0.6.0 - 17 January 2014

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.

Breaking API changes
  • #3 - Pluggable async adapters
Backwards API changes
  • #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
0.5.0 - 16 January 2014
Backwards API changes
  • #1 - Pluggable adapters
  • #6 - Observable objects
  • #7 - Model lifecycle hooks
Backwards compatible bug fixes
  • #19 - Null pointer exception in several places where angular-data tries to use the $q service
Other
  • #15 - Integration test coverage
0.4.2 - 15 January 2014
Backwards compatible bug fixes
  • #18 - observers aren't created for items injected into the store from a findAll() call.