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 hidden (Show)

js-data - 2.0.0-beta.8

Published by jmdobry over 9 years ago

2.0.0-beta.8 - 22 June 2015
Backwards compatible API changes
  • #160 - Add "DS.change" events, fired on Resources and instances
js-data - 2.0.0-beta.7

Published by jmdobry over 9 years ago

2.0.0-beta.7 - 09 June 2015
Breaking API changes
  • #158 - Data store should consume resource definition methods internally (might not be breaking)
Backwards compatible API changes
  • #157 - DSEject not available on instances
Other
  • #156 - Thoroughly annotate all source code to encourage contribution
js-data - 2.0.0-beta.6

Published by jmdobry over 9 years ago

2.0.0-beta.6 - 04 June 2015
Breaking API changes
  • #150 - Debug output, debug now defaults to false
Backwards compatible API changes
  • #145 - A little AOP, add a .before to all methods, allowing per-method argument customization
js-data - 2.0.0-beta.2

Published by jmdobry over 9 years ago

2.0.0-beta.2 - 17 April 2015

Updated a dependency for better umd amd/r.js support

js-data - 2.0.0-beta.4

Published by jmdobry over 9 years ago

2.0.0-beta.4 - 28 April 2015
Backwards compatible API changes
  • #129 - Add interceptors to actions
js-data - 2.0.0-beta.5

Published by jmdobry over 9 years ago

2.0.0-beta.5 - 27 May 2015
Breaking API changes
  • #54 - feat: Call the inject and eject lifecycle hooks regardless of if the notify option is enabled
Backwards compatible API changes
  • #131 - array of IDs based hasMany relations
  • #132 - Allow resources to extend other resources
  • #133 - Allow filtering by nested fields
  • #135 - JSData caching inconsistent behaviour when ejecting items
  • #138 - Collection class
  • #139 - Option to specify default values of new resource instances.
Backwards compatible bug fixes
  • #127 - Memory leak in DS.changes
  • #134 - All resources get all methods defined on any resource
  • #142 - Allow omitting options in getEndpoint
js-data - 2.0.0-beta.1

Published by jmdobry over 9 years ago

2.0.0-beta.1 - 17 April 2015
Breaking API changes
  • #107 - Switch to property accessors (getter/setter) for relations links. (Relation links are no longer enumerable)
  • #121 - Remove bundled Promise code (The developer must now ensure an ES6-style Promise constructor is available)
  • #122 - Remove coupling with js-data-schema (You can still use js-data-schema, js-data just doesn't know anything about js-data-schema anymore)
Backwards compatible API changes
  • Computed properties now support nested fields (both the computed field and the fields it depends on) e.g. computed: { 'name.fullName': ['name.first', 'name.last', function (first, last) { return first + ' ' + last; } }
js-data - 1.8.0

Published by jmdobry over 9 years ago

1.8.0 - 14 April 2015
Backwards compatible API changes
  • #117 - .find skips the object in the store
  • #118 - DS#find() returns items cached with DS#inject() - Thanks @mightyguava!
  • createInstance will now initialize computed properties (but they won't be updated until the item is injected into the store, or unless you use Instance#set(key, value) to mutate the instance)
Backwards compatible bug fixes
  • #74 - Some arrays' contents deleted before reaching serialize
  • #115 - removeCircular bug
js-data - 1.7.0

Published by jmdobry over 9 years ago

1.7.0 - 09 April 2015
Backwards compatible API changes
  • #106 - Add pathname option to actions
  • #114 - Add support to actions for having item ids in the path
js-data - 1.6.3

Published by jmdobry over 9 years ago

1.6.3 - 03 April 2015
Backwards compatible bug fixes
  • #106 - loadRelations: check params.where instead when allowSimpleWhere is disabled - Thanks @maninga!
js-data - 1.6.2

Published by jmdobry over 9 years ago

1.6.2 - 01 April 2015
Backwards compatible bug fixes
  • #104 - DS.schemator is undefined when using browserify
js-data - 1.6.1

Published by jmdobry over 9 years ago

1.6.1 - 31 March 2015
Backwards compatible bug fixes
  • #101 - Reject instead of throw, as throw is messy in the console
js-data - 1.6.0

Published by jmdobry over 9 years ago

1.6.0 - 29 March 2015
Backwards compatible API changes
  • #97 - Don't link relations where localField is undefined
Backwards compatible bug fixes
  • #95 - actions should use defaultAdapter of the resource
js-data - 1.5.13

Published by jmdobry over 9 years ago

1.5.13 - 25 March 2015
Backwards compatible bug fixes
  • #91 - Wrong second argument passed to afterCreateInstance
js-data - 1.5.12

Published by jmdobry over 9 years ago

1.5.12 - 23 March 2015
Backwards compatible bug fixes
  • #84 - DS.Inject performance issues when reloading data (DSUtils.copy was attempting to copy relations)
js-data - 1.5.11

Published by jmdobry over 9 years ago

1.5.11 - 22 March 2015
Backwards compatible bug fixes
  • #83 - Change detection incorrectly handles cycles in the object
js-data - 1.5.10

Published by jmdobry over 9 years ago

1.5.10 - 19 March 2015
Backwards compatible bug fixes
  • #81 - Sometimes inject with nested relations causes an infinite loop
Other
  • Added .npmignore for a slimmer npm package
js-data - 1.5.9

Published by jmdobry over 9 years ago

1.5.9 - 18 March 2015
Backwards compatible bug fixes
  • #76 - Saving relation fields with changesOnly=true
  • #80 - save + changesOnly + nested relations + no actual changes results in an error
Other
  • Upgraded dependencies
js-data - 1.5.8

Published by jmdobry over 9 years ago

1.5.8 - 14 March 2015
Other
  • Extracted BinaryHeap class to its own npm module
js-data - 1.5.7

Published by jmdobry over 9 years ago

1.5.7 - 13 March 2015
Backwards compatible bug fixes
  • #75 - DSUtils.removeCircular is removing more stuff than it should