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.DS
tojs-data
- Refactored to be a wrapper for js-data
deserialize
andserialize
are now properties ofDSHttpAdapter.defaults
deserialize
andserialize
are 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 DSLocalStorageAdapter
is no longer bundled, but is each separate from js-data-angular.- The API for
bindOne
andbindAll
has been changed to be more consistent with the rest of the API eagerInject
has 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
$q
instead ofes6-promises
to maintain$scope
integration with the promise lifecycle - Updated dependencies. Now safely making copies of the
options
passed 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