Releases: js-data/js-data
Releases · js-data/js-data
3.0.0-rc.3
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
3.0.0-rc.1
3.0.0-rc.1 - 08 July 2016
Breaking changes
- Added
Mapper#applyDefaults
option which defaults totrue
- #352 -
Mapper#beforeCreate
andMapper#beforeCreateMany
now apply default values
to records for missing values according to the Mapper's schema and theapplyDefaults
option.
Backwards compatible changes
- Added the
ctx
property to theopts
argument passed to validation keywords - Added
Schema#applyDefaults(target)
method
Bug fixes
- #365 - "noValidate" should be used instead of "validate"
3.0.0-beta.9
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
andRecord#changeHistory
- Added option
DataStore#usePendingFind
, which defaults totrue
- Added option
DataStore#usePendingFindAll
, which defaults totrue
3.0.0-beta.10
3.0.0-beta.10 - 02 July 2016
Forgot to bump version in package.json for previous release
3.0.0-beta.8
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.7
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
Other
- Upgraded dependencies
3.0.0-beta.6
3.0.0-beta.6 - 16 May 2016
Breaking changes
- beforeCreate, beforeCreateMany, beforeUpdate, beforeUpdateAll, and beforeUpdateMany
now runMapper#validate
for you by default.
Backwards compatible changes
- Added
Container#as
andDataStore#as
- Added some deprecation warnings
- Added support for groupings in where clauses
3.0.0-beta.5
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 topackage.json
- Added
typings.json
3.0.0-beta.2
3.0.0-beta.2 - 27 April 2016
Backwards compatible changes
Collection
now has a configurablequeryClass
property, which defaults toQuery
- Lots of JSDoc improvements