Js Data Versions Save

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

3.0.0-rc.3

7 years ago
3.0.0-rc.3 - 25 July 2016
Bug fixes
  • #370 - fix(belongsTo): do not try to link when foreign key is null by @nickescallon
  • #371 - Remove target param when calling target.set() by @nvahalik

3.0.0-rc.2

7 years ago
3.0.0-rc.2 - 08 July 2016
Bug fixes
  • #366 - Mapper doesn't always call Schema#apply when it should

3.0.0-rc.1

7 years ago
3.0.0-rc.1 - 08 July 2016
Breaking changes
  • Added Mapper#applyDefaults option which defaults to true
  • #352 - Mapper#beforeCreate and Mapper#beforeCreateMany now apply default values to records for missing values according to the Mapper's schema and the applyDefaults option.
Backwards compatible changes
  • Added the ctx property to the opts argument passed to validation keywords
  • Added Schema#applyDefaults(target) method
Bug fixes
  • #365 - "noValidate" should be used instead of "validate"

3.0.0-rc.1 API Reference Docs

3.0.0-beta.10

7 years ago
3.0.0-beta.10 - 02 July 2016

Forgot to bump version in package.json for previous release

3.0.0-beta.10 API Reference Docs

3.0.0-beta.9

7 years ago
3.0.0-beta.9 - 02 July 2016
Breaking changes
  • Usaved records can now be added to a Collection (added to the store)
  • Record#save now always updates the original record
Backwards compatible changes
  • Added Collection#unsaved, LinkedCollection#unsaved, DataStore#unsaved
  • Added Collection#prune, LinkedCollection#prune, DataStore#prune
  • Added Record#isNew and Record#changeHistory
  • Added option DataStore#usePendingFind, which defaults to true
  • Added option DataStore#usePendingFindAll, which defaults to true

3.0.0-beta.9 API Reference Docs

3.0.0-beta.8

7 years ago
3.0.0-beta.8 - 22 June 2016
Breaking changes
  • #359 - In-memory relations are now unlinked by default when a record is destroyed
Backwards compatible changes
  • #353 - Schema: Add shorthand option to track all properties
  • #356 - Add back "methods" shortcut for adding instance methods to Mapper#recordClass
Bug fixes
  • #349 - Individual Record property validation errors don't report correct path
  • #354 - Unsubscribing from an event listener in the case of no event listeners, shouldn't raise an error
  • #355 - Resetting locals to undefined triggers a setter with an (undefined)record argument
  • #358 - findAll() on scoped store (store.as()) does not add the result to the store collection
Other
  • TONS of additional JSDoc comments in the source code. Thanks @MatthewOverall!

3.0.0-beta.8 API Reference Docs

3.0.0-beta.7

7 years ago
3.0.0-beta.7 - 05 June 2016
Backwards compatible changes
  • #336 - refactor(Relation): move Relation class into separate file by @stalniy
  • #337 - refactor(LinkedCollection) by @stalniy
  • #342 - Allow definition of custom getter/setter for schema properties by @jmdobry
  • #344 - Schema and utils tests by @MatthewOverall
  • #345 - refactor(Container): move defineRelations method to Mapper by @stalniy
  • Turned off minification of function names in js-data.min.js
Bug fixes
  • #332 - records should "commit" when they are saved fixed by @jmdobry
Other
  • Upgraded dependencies

3.0.0-beta.7 API Reference Docs

3.0.0-beta.6

7 years ago
3.0.0-beta.6 - 16 May 2016
Breaking changes
  • beforeCreate, beforeCreateMany, beforeUpdate, beforeUpdateAll, and beforeUpdateMany now run Mapper#validate for you by default.
Backwards compatible changes
  • Added Container#as and DataStore#as
  • Added some deprecation warnings
  • Added support for groupings in where clauses

3.0.0-beta.6 API Reference Docs

3.0.0-beta.5

7 years ago
3.0.0-beta.5 - 07 May 2016
Backwards compatible changes
  • Pulled in mindex updates
Bug fixes
  • #327 - Issues with inheritance using babel and ES6 classes
3.0.0-beta.4 - 06 May 2016
Breaking changes
  • Relation links managed by DataStore are now non-enumerable by default
  • Before calculating Record#changes, toJSON is called on if available.
3.0.0-beta.3 - 27 April 2016
Breaking changes
  • dist/js-data.d.ts is now in ES6 module format
Backwards compatible changes
  • Added typings field to package.json
  • Added typings.json

3.0.0-beta.2

8 years ago
3.0.0-beta.2 - 27 April 2016
Backwards compatible changes
  • Collection now has a configurable queryClass property, which defaults to Query
  • Lots of JSDoc improvements

3.0.0-beta.2 API References Docs