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-beta.1

8 years ago
3.0.0-beta.1 - 17 April 2016

Official beta release.

Other
  • Switched back to Mocha from Ava
  • Added Karma tests with Sauce Labs browser testing
  • Improved test coverage

3.0.0-beta.1 API Reference docs

3.0.0-alpha.29

8 years ago
3.0.0-alpha.29 - 05 April 2016
Breaking changes
  • Reworked DataStore relation linking to no longer uses dynamic getters. Instead, links are updated as records are added to the store or when the assignment operators are used to re-assign relaitons.
  • DataStore now upgrades the Record classes that it touches so that things like Record#save and Record#destroy will use the DataStore's methods instead of the Mapper's methods.
Backwards compatible changes
  • Other tweaks
3.0.0-alpha.28 - 02 April 2016
Backwards compatible changes
  • Added selectForAdd to DataStore
3.0.0-alpha.27 - 02 April 2016
Backwards compatible bug fixes
  • Quick fix for wrap functionality
3.0.0-alpha.26 - 02 April 2016
Backwards compatible changes
  • Improved Mapper#createRecord, and made it easier to work with non-standard responses
3.0.0-alpha.25 - 01 April 2016
Backwards compatible bug fixes
  • Removed accidental rx-lite optional dependency
3.0.0-alpha.24 - 01 April 2016
Backwards compatible bug fixes
  • Some fixes for js-data.d.ts
  • Added argument check to Mapper#createRecord
  • Made Record instances print nicer
3.0.0-alpha.23 - 01 April 2016
Breaking changes
  • Moved js-data.d.ts to dist/js-data.d.ts
Other
  • Fixed some JSDoc comments

3.0.0-alpha.22

8 years ago
3.0.0-alpha.22 - 31 March 2016
Backwards compatible API changes
  • Containers and DataStores now bubble up Mapper events
  • DataStores now bubble up Collection events
Other
  • Switched from mocha/istanbul to ava/nyc for parallel tests

3.0.0-alpha.22 API Reference Docs

3.0.0-alpha.21

8 years ago
3.0.0-alpha.21 - 22 March 2016
Backwards compatible API changes
  • #195 - Add "with" to remove/removeAll (eject/ejectAll) to also remove relations
  • Added Mapper#validate(record[, opts]), Record#validate([opts]) and Record#isValid()
Backwards compatible bug fixes
  • #263 - orderBy with undefined values doesn't order (though null works)
Other
  • Updated js-data.d.ts

3.0.0-alpha.21 API Reference Docs

3.0.0-alpha.20

8 years ago
3.0.0-alpha.20 - 18 March 2016
Breaking API changes
  • Switched Record#changes and Record#hasChanges to using an options argument
Backwards compatible API changes
  • Passive change detection now possible with changes to Record#changes() and Record#hasChanges(), see #313
  • Added sum and count methods
Backwards compatible big fixes
  • Container and DataStore now proxy all Mapper methods

3.0.0-alpha.20 API Reference Docs

3.0.0-alpha.19

8 years ago
3.0.0-alpha.19 - 14 March 2016
Breaking API changes
  • Passive change detection now possible with changes to Record#changes() and Record#hasChanges(), see #313
Other
  • Now easier to customize utility functions (when necessary, should be rare)
3.0.0-alpha.18 - 12 March 2016
Backwards compatible API changes
  • Improved forEachRelation utility function to support filtering on "with" sub queries
  • Added deepFillIn utility function
  • Made some Mapper instance properties non-enumerable

3.0.0-alpha.19 API Reference Docs

3.0.0-alpha.17

8 years ago
3.0.0-alpha.17 - 10 March 2016
Breaking API changes
  • Removed upsert option from js-data core. upsert is now handled at the adapter level.
  • Fixed order of arguments to updateAll
  • Fixed how arguments are passed to the various lifecycle methods

3.0.0-alpha.17 API Reference Docs

2.9.0

8 years ago
2.9.0 - 17 February 2016
Backwards compatible bug API changes
  • #273 - DS.save, use id from incoming arguments by @zuzusik
  • #284 - (Partial) Support for temporary items
  • #290 - Add save() option to always include specified properties when using changesOnly by @OzzieOrca
  • #305 - Add support for multiple parents by @tfoxy
Backwards compatible bug fixes
  • #251 - The 'localKey' of the 'belongsTo' relation ship is not set.
  • #262 - defaultValues are shallow copied
  • #272 - lastSaved is broken when API doesn't return saved object in response
  • #304 - Relations ignore useClass on the server

3.0.0-alpha.13

8 years ago
3.0.0-alpha.13 - 05 February 2016
  • Added back change detection

3.0.0-alpha.12

8 years ago
3.0.0-alpha.12 - 04 February 2016
  • Added back relation linking to DataStore and LinkedCollection
  • Container and DataStore now proxy a number of Collection methods
  • Container and DataStore now proxy Mapper#createRecord
  • Container now proxies async Mapper methods, not just DataStore