Skip to content

Commit a834640

Browse files
committed
Merge branch 'v2'
Conflicts: CHANGELOG.md README.md bower.json dist/angular-data.js dist/angular-data.min.js guide/angular-cache/basics.md guide/angular-data/queries.md guide/nav.html karma.conf.js lib/observe-js/observe-js.js package.json src/adapters/localStorage.js src/datastore/async_methods/create.js src/datastore/async_methods/destroy.js src/datastore/async_methods/destroyAll.js src/datastore/async_methods/find.js src/datastore/async_methods/findAll.js src/datastore/async_methods/loadRelations.js src/datastore/async_methods/refresh.js src/datastore/async_methods/save.js src/datastore/async_methods/update.js src/datastore/async_methods/updateAll.js src/datastore/index.js src/datastore/sync_methods/changes.js src/datastore/sync_methods/createInstance.js src/datastore/sync_methods/defineResource.js src/datastore/sync_methods/filter.js src/datastore/sync_methods/index.js src/datastore/sync_methods/inject.js src/errors.js src/index.js src/utils.js test/datastore/async_methods/save.test.js test/integration/datastore/async_methods/loadRelations.test.js test/integration/datastore/sync_methods/changeHistory.test.js test/integration/datastore/sync_methods/changes.test.js test/integration/datastore/sync_methods/filter.test.js test/integration/datastore/sync_methods/lastModified.test.js
2 parents a806bdd + 53b2dee commit a834640

File tree

143 files changed

+1899
-21825
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+1899
-21825
lines changed

CHANGELOG.md

+26-58
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,27 @@
1-
##### 1.4.2 - 18 November 2014
1+
##### 2.0.0 - 03 February 2015
22

3-
###### Backwards compatible API changes
4-
- #238 - Filter by substring ("in", "notIn', "|in" and "|notIn" operators now work on strings)
5-
6-
###### Backwards compatible bug fixes
7-
- Fixed "allowSimpleWhere" default not being set
8-
9-
##### 1.4.1 - 11 November 2014
10-
11-
###### Backwards compatible bug fixes
12-
- #213 - multiple orderBy does not work
13-
14-
##### 1.4.0 - 09 November 2014
15-
16-
###### Backwards compatible API changes
17-
- #227 - Supporting methods on model instances (again)
18-
19-
###### Backwards compatible bug fixes
20-
- #234 - Fixed an issue with DSLocalStorageAdapter.update
21-
- #235 - IE 8 support
22-
23-
##### 1.3.0 - 07 November 2014
24-
25-
###### Backwards compatible API changes
26-
- #227 - Added DSDestroy and DSRefresh to instance methods
27-
- #228 - Added DS.getAll(resourceName[, ids])
28-
29-
###### Backwards compatible bug fixes
30-
- #207 - digest iterations error
3+
_Note:_ Please see the [js-data CHANGELOG](https://github.com/js-data/js-data/blob/master/CHANGELOG.md).
314

32-
##### 1.2.1 - 04 November 2014
33-
34-
###### Backwards compatible bug fixes
35-
- #225 - If the server returned an empty array for a get request (valid scenario), angular-data throws an exception
36-
37-
##### 1.2.0 - 02 November 2014
38-
39-
###### Backwards compatible API changes
40-
- #208 - ng-repeat $$hashKey affecting hasChanges
41-
42-
###### Backwards compatible bug fixes
43-
- #223 - need to update lastModified when an item is re-injected
44-
45-
##### 1.1.0 - 30 October 2014
46-
47-
###### Backwards compatible API changes
48-
- #214 - back port js-data/js-data#9
49-
50-
###### Backwards compatible bug fixes
51-
- #215 - bower.json - angular not listed as non-dev dependency
52-
53-
##### 1.0.1 - 10 October 2014
5+
###### Breaking API changes
6+
- Angular module renamed from `angular-data.DS` to `js-data`
7+
- Refactored to be a wrapper for [js-data](https://github.com/js-data/js-data)
8+
- `deserialize` and `serialize` are now properties of `DSHttpAdapter.defaults`
9+
- `deserialize` and `serialize` are now configuration options used solely by the http adapter
10+
- All hooks (`validate`, `afterCreate`, `serialize`, etc.) now take the actual resource definition as the first argument instead of just the name of the resource
11+
- `DSLocalStorageAdapter` is no longer bundled, but is each separate from js-data-angular.
12+
- The API for `bindOne` and `bindAll` has been changed to be more consistent with the rest of the API
13+
- `eagerInject` has not yet been implemented in `js-data`.
14+
15+
##### Backwards compatible API changes
16+
- GitHub project renamed to js-data-angular
17+
- GitHub project moved to the js-data organization
5418

55-
###### Backwards compatible bug fixes
56-
- #204 - pending query isn't deleted properly in DS.find
19+
###### Other
20+
- #199 - Re-implement bindOne & bindAll in js-data-angular (they're missing from js-data)
21+
- #200 - Need to properly trigger digest where angular-data would have before
22+
- Added DSHttpAdapter fallback that uses $http if js-data-http isn't loaded
23+
- Load an es6-style version of `$q` instead of `es6-promises` to maintain `$scope` integration with the promise lifecycle
24+
- Updated dependencies. Now safely making copies of the `options` passed into methods
5725

5826
##### 1.0.0 - 04 October 2014
5927

@@ -181,7 +149,7 @@ Stable Version 1.0.0
181149

182150
###### Backwards compatible bug fixes
183151
- #90 - DS.create isn't added to completedQueries (`DS.create` now adds a completed query entry)
184-
- #91 - dist/angular-data(.min).js doesn't end with a semicolon (upgraded Browserify)
152+
- #91 - dist/js-data-angular(.min).js doesn't end with a semicolon (upgraded Browserify)
185153
- #94 - Resource object name/class inconsistency (added `useClass` option to `DS.defineResource`)
186154
- #95 - observe-js outdated (Upgraded observe-js.js an refactored to new API)
187155
- #98 - Missing id warning
@@ -204,8 +172,8 @@ Official Release
204172
##### 0.10.0-beta.1 - 28 June 2014
205173

206174
###### Breaking API changes
207-
- #76 - Queries and filtering. See [TRANSITION.md](https://github.com/jmdobry/angular-data/blob/master/TRANSITION.md).
208-
- #82 - Simplify error handling. Reduced size of angular-data.min.js by 4kb.
175+
- #76 - Queries and filtering. See [TRANSITION.md](https://github.com/js-data/js-data-angular/blob/master/TRANSITION.md).
176+
- #82 - Simplify error handling. Reduced size of js-data-angular.min.js by 4kb.
209177
- #42 - Relations/Associations. `DS.inject` now looks for relations and injects them as well.
210178

211179
###### Backwards compatible API changes
@@ -314,7 +282,7 @@ Developers can provide their own more robust filters for more powerful queries.
314282
- #3 - Pluggable async adapters
315283

316284
###### Backwards API changes
317-
- #2 - angular-data query language
285+
- #2 - js-data-angular query language
318286
- #4 - Query caching
319287
- #17 - Where predicates should be able to handle OR, not just AND
320288
- #22 - Reorganize infrastructure to utilize angular's DI
@@ -327,7 +295,7 @@ Developers can provide their own more robust filters for more powerful queries.
327295
- #7 - Model lifecycle hooks
328296

329297
###### Backwards compatible bug fixes
330-
- #19 - Null pointer exception in several places where angular-data tries to use the $q service
298+
- #19 - Null pointer exception in several places where js-data-angular tries to use the $q service
331299

332300
##### Other
333301
- #15 - Integration test coverage

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Contributing Guide
22

3-
First, feel free to contact me with questions. [Mailing List](https://groups.google.com/forum/?fromgroups#!forum/angular-data). [Issues](https://github.com/jmdobry/angular-data/issues).
3+
First, feel free to contact me with questions. [Mailing List](https://groups.google.com/forum/?fromgroups#!forum/js-data-angular). [Issues](https://github.com/js-data/js-data-angular/issues).
44

55
1. Contribute to the issue that is the reason you'll be developing in the first place
6-
1. Fork angular-data
7-
1. `git clone https://github.com/<you>/angular-data.git`
8-
1. `cd angular-data; npm install; bower install;`
6+
1. Fork js-data-angular
7+
1. `git clone https://github.com/<you>/js-data-angular.git`
8+
1. `cd js-data-angular; npm install; bower install;`
99
1. `grunt go` (builds and starts a watch)
1010
1. (in another terminal) `grunt karma:dev` (runs the tests)
1111
1. Write your code, including relevant documentation and tests

0 commit comments

Comments
 (0)