Releases: js-data/js-data-angular
Releases · js-data/js-data-angular
2.2.0
2.1.0
2.0.0
2.0.0 - 03 February 2015
Note: Please see the js-data CHANGELOG.
Breaking API changes
- Angular module renamed from
angular-data.DStojs-data - Refactored to be a wrapper for js-data
deserializeandserializeare now properties ofDSHttpAdapter.defaultsdeserializeandserializeare now configuration options used solely by the http adapter- All hooks (
validate,afterCreate,serialize, etc.) now take the actual resource definition as the first argument instead of just the name of the resource DSLocalStorageAdapteris no longer bundled, but is each separate from js-data-angular.- The API for
bindOneandbindAllhas been changed to be more consistent with the rest of the API eagerInjecthas not yet been implemented injs-data.
Backwards compatible API changes
- GitHub project renamed to js-data-angular
- GitHub project moved to the js-data organization
Other
- #199 - Re-implement bindOne & bindAll in js-data-angular (they're missing from js-data)
- #200 - Need to properly trigger digest where angular-data would have before
- Added DSHttpAdapter fallback that uses $http if js-data-http isn't loaded
- Load an es6-style version of
$qinstead ofes6-promisesto maintain$scopeintegration with the promise lifecycle - Updated dependencies. Now safely making copies of the
optionspassed into methods
Transition
1.x ---> 2.x - 03 February 2015
Breaking API changes
Module name change
Before
angular.module('myApp', ['angular-data.DS'])
After
angular.module('myApp', ['js-data'])
bindOne and bindAll syntax change
Before
After
Backwards compatible API changes
Repo re-assignment and name change
Before
https://github.com/jmdobry/angular-data.git
After
https://github.com/js-data/js-data-angular.git
New Bower package
Before
bower install --save angular-data
After
bower install --save js-data-angular
New NPM package
Before
npm install --save angular-data
After
npm install --save js-data js-data-angular