Releases · js-data/js-data
3.0.2
2.10.1
3.0.1
3.0.1 - 18 August 2017
Backwards compatible changes
- Exposed the
makeDescriptormethod on theSchemaclass.
Bug fixes
- Fixes some missing definitions in
dist/js-data.d.ts.
Other
- Upgraded dependencies.
3.0.0
3.0.0-rc.9
3.0.0-rc.9 - 22 February 2017
Bug fixes
Schema#pickno longer incorrectly infers values for objects and arrays
3.0.0-rc.8
3.0.0-rc.8 - 21 February 2017
Breaking changes
- #445
- The
strictoption has been removed from thetoJSONmethods. The methods now rely wholly onSchema#pickfor strictness, and assumes the originalstrict: falsebehavior if no schema is defined. Schema#picknow copies properties not defined in the "properties" keyword if the "additionalProperties" keyword is present and truthy.- Mappers are no longer given an empty schema if no schema is provided
- The
Bug fixes
- #446 - fix(Collection): Add noValidate option to Collection#add, by @ivanvoznyakovsky
3.0.0-rc.7
3.0.0-rc.7 - 29 January 2017
Bug fixes
- #433 -
Collection#addis missing a "silent" option
Backwards compatible changes
- Added a
emitRecordEventsoption toCollectionwhich defaults totrue
Other
- Moved Babel config from
package.jsonto.babelrc - Upgraded devDependencies
- Added a
yarn.lockfile
3.0.0-rc.6 - 05 October 2016
Bug fixes
- Wrapped lifecycle hook validation error in an instance of Error
3.0.0-rc.5
3.0.0-rc.5 - 26 September 2016
Backwards compatible changes
- Fixed some edge cases with Schemas related to anyOf, oneOf, allOf, and additionalProperties
- #386 - Added intermediate
SimpleStoreclass betweenContainerandDataStore. - #393 - Added
Schema#pickmethod
Bug fixes
- #374 - revert() after a save() does not work with Schema defined properties
- #387 - Switch to passing only the current-change in 'changes' emit by @pik