Skip to content

Releases: js-data/js-data-angular

2.2.0

24 Feb 17:10
Compare
Choose a tag to compare
2.2.0 - 24 February 2015
Backwards compatible API changes
  • Added suffix option

2.1.0

05 Feb 04:53
Compare
Choose a tag to compare
2.1.0 - 04 February 2015

Now requiring >= js-data 1.1.0 in order to use removeCircular to safely safe cyclic objects

2.0.0

04 Feb 05:54
Compare
Choose a tag to compare
2.0.0 - 03 February 2015

Note: Please see the js-data CHANGELOG.

Breaking API changes
  • Angular module renamed from angular-data.DS to js-data
  • Refactored to be a wrapper for js-data
  • deserialize and serialize are now properties of DSHttpAdapter.defaults
  • deserialize and serialize 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 and bindAll has been changed to be more consistent with the rest of the API
  • eagerInject has not yet been implemented in js-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 of es6-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

bindOne and bindAll

After

bindOne and bindAll

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

1.5.3

03 Dec 18:27
Compare
Choose a tag to compare
1.5.3 - 03 December 2014
Backwards compatible bug fixes
  • #263 - bower: update bower.json acc to the spec

1.5.2

03 Dec 16:51
Compare
Choose a tag to compare
1.5.2 - 03 December 2014
Backwards compatible bug fixes
  • #262 - store.previousAttributes is storing references to nested objects, preventing changes from being detected
Other
  • Change detection "should" work on nested attributes now

1.5.1

03 Dec 06:21
Compare
Choose a tag to compare
1.5.1 - 02 December 2014
Backwards compatible API changes
  • #259 - Added the "contains", "notContains", "|contains", and "|notContains" operators
Backwards compatible bug fixes
  • #258 - No changes detected on nested fields

1.5.0

01 Dec 16:42
Compare
Choose a tag to compare
1.5.0 - 01 December 2014
Backwards compatible API changes
  • Added DSHttpAdapter.getPath and DSLocalStorageAdapter.getPath
Backwards compatible bug fixes
  • Removed console.logs left over from a previous commit

1.4.3

01 Dec 05:47
Compare
Choose a tag to compare
1.4.3 - 30 November 2014
Backwards compatible bug fixes
  • #253 - Injecting an item with relationships a second time breaks relationships

1.4.2

19 Nov 02:36
Compare
Choose a tag to compare
1.4.2 - 18 November 2014
Backwards compatible API changes
  • #238 - Filter by substring ("in", "notIn', "|in" and "|notIn" operators now work on strings)
Backwards compatible bug fixes
  • Fixed "allowSimpleWhere" default not being set

1.4.1

12 Nov 03:44
Compare
Choose a tag to compare
1.4.1 - 11 November 2014
Backwards compatible bug fixes
  • #213 - multiple orderBy does not work