js-data

Give your data the treatment it deserves with a framework-agnostic, datastore-agnostic JavaScript ORM built for ease of use and peace of mind. Works in Node.js and in the Browser. Main Site: http://js-data.io, API Reference Docs: http://api.js-data.io/js-data

MIT License

Downloads
20K
Stars
1.6K
Committers
34

Bot releases are visible (Hide)

js-data - 1.5.6

Published by jmdobry over 9 years ago

1.5.6 - 07 March 2015
Backwards compatible bug fixes
  • Fixed loading of the optional js-data-schema
js-data - 1.5.5

Published by jmdobry over 9 years ago

1.5.5 - 07 March 2015
Other
  • Re-wrote a good amount of the code to use ES6. Now using Babel.js to transpile back to ES5.
js-data - 1.5.4

Published by jmdobry over 9 years ago

1.5.4 - 05 March 2015
Backwards compatible bug fixes
  • #72 - bug: items injected via a relationship fail to fire notifications (fixed more cases of this happening)
js-data - 1.5.3

Published by jmdobry over 9 years ago

1.5.3 - 05 March 2015
Backwards compatible bug fixes
  • #35 - beforeInject not called on relationships
  • #72 - bug: items injected via a relationship fail to fire notifications
js-data - 1.5.2

Published by jmdobry over 9 years ago

1.5.2 - 02 March 2015
Backwards compatible bug fixes
  • Now using DSUtils.copy when saving "original" attributes so changes can be computed properly
js-data - 1.5.1

Published by jmdobry over 9 years ago

1.5.1 - 02 March 2015
Backwards compatible bug fixes
  • #66 - "saved" and "lastSaved" method seems to be a misnomer
  • #69 - Using resource base class w/additional properties has some side effects
  • #70 - "lastSaved" timestamp changes too often
Other
  • Removed use of DSUtils.copy in the event hooks. This should increase performance quite a bit.
js-data - 1.5.0

Published by jmdobry over 9 years ago

1.5.0 - 27 February 2015
Backwards compatible API changes
  • #17 - feat: Load relations based on local field name
Backwards compatible bug fixes
  • #62 - getAdapter when called from a Resource fails
  • #65 - internal emit api was not updated to use Resource instead of Resource.name like the lifecycle hooks were
js-data - 1.4.1

Published by jmdobry over 9 years ago

1.4.1 - 26 February 2015
Backwards compatible bug fixes
  • - Two possible error cases in DS#find

js-data - 1.4.0

Published by jmdobry over 9 years ago

1.4.0 - 24 February 2015
Backwards compatible api changes
  • #51 - Allow resource instances to be created from a base class
js-data - 1.3.0

Published by jmdobry over 9 years ago

1.3.0 - 11 February 2015
Backwards compatible api changes
  • #50 - Added a DS#is(resourceName, instance) or Resource#is(instance) method to check if an object is an instance of a particular resource
Backwards compatible bug fixes
  • When items are ejected cached collection queries are now checked to see if all the cached items from that query are gone, and if so, the cache query is deleted
js-data - 1.2.1

Published by jmdobry over 9 years ago

1.2.1 - 06 February 2015
Backwards compatible bug fixes
  • #42 - deserialize and beforeInject are called from the parent relation when loadRelations is used
js-data - 1.2.0

Published by jmdobry over 9 years ago

1.2.0 - 05 February 2015
Backwards compatible bug fixes
  • Added a getResource(resourceName) method to resource definitions so adapters can grab the definitions of a resource's relations
js-data - 1.1.1

Published by jmdobry over 9 years ago

1.1.1 - 05 February 2015
Backwards compatible bug fixes
  • #46 - "actions" don't inherit basePath properly
js-data - 1.1.0

Published by jmdobry over 9 years ago

1.1.0 - 04 February 2015
Backwards compatible API changes
  • Allow nested keys in "orderBy" clauses, i.e. orderBy: 'foo.bar'
  • Added get and set methods to the instance prototype for getter/setter manipulation of data store items. Use of set will trigger immediate recalculation of computed properties on the instance. Both get and set support nested key names.
  • Added a removeCircular util method so cyclic objects can be saved without fuss
  • #43 - Added contains operator to the default filter
Backwards compatible bug fixes
  • Added missing createInstance calls
js-data - 1.0.0

Published by jmdobry over 9 years ago

1.0.0 - 03 February 2015

Stable Version 1.0.0

Other
  • Upgraded to the latest observe-js
js-data - 1.0.0-beta.2

Published by jmdobry over 9 years ago

1.0.0-beta.2 - 23 January 2015
Backwards compatible API changes
  • Updates to defining "actions"
js-data - 1.0.0-beta.1

Published by jmdobry almost 10 years ago

1.0.0-beta.1 - 10 January 2015
Breaking API changes
  • #30 - Issue with offset. To solve this a useFilter option was added, which defaults to false. Previously DS#filter was used to return cached findAll queries, but that had problems. Now, cached items are also tracked by the query that retrieved them, so when you make a query again you consistently get the right data.
Backwards compatible API changes
  • #6 - Allow logging to be configurable
  • #29 - Add version to JSData export
  • #31 - Add build for js-data-debug.js which contains lots of debugging statements and a configurable logger.
js-data - 1.0.0-alpha.5-8

Published by jmdobry almost 10 years ago

1.0.0-alpha.5-8 - 05 December 2014
Backwards compatible API changes
  • #27 - Properly resolve parent params for generating the URL
js-data - 1.0.0-alpha.5-7

Published by jmdobry almost 10 years ago

1.0.0-alpha.5-7 - 05 December 2014
Backwards compatible API changes
  • #26 - Added the DSCreate instance method
Backwards compatible bug fixes
  • #23 - DS#findAll: make a copy of options.params if it's passed in and manipulate that
js-data - 1.0.0-alpha.5-6

Published by jmdobry almost 10 years ago

1.0.0-alpha.5-6 - 03 December 2014
Backwards compatible bug fixes
  • Backport jmdobry/angular-data#262
Other
  • Optimized utility functions to save several kilobytes off of minified file
  • Change detection of nested properties "should" work now