Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

js-data

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-data - npm Package Versions

1
15

2.10.0

Diff

jdobry
published 3.0.0-rc.6 •

Changelog

Source

3.0.0-rc.6 - 05 October 2016

Bug fixes
  • Wrapped lifecycle hook validation error in an instance of Error
jdobry
published 3.0.0-rc.5 •

Changelog

Source

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 SimpleStore class between Container and DataStore.
  • #393 - Added Schema#pick method
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
Other
  • #406 - refactor(test): splits tests into smaller ones by @stalniy
jdobry
published 3.0.0-rc.4 •

Changelog

Source

3.0.0-rc.4 - 03 August 2016

Bug fixes
  • #376 - Fix unlinking of records
  • #379 fixes #380 - fix(hasOne): do not create links for undefined or null keys by @nickescallon
  • #382 fixes #381 - check that inverseDef exists before attempting to setup Inverse for belongsTo by @pik
  • #384 - DataStore does not correctly call super
jdobry
published 3.0.0-rc.3 •

Changelog

Source

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 @nickescallon
jdobry
published 3.0.0-rc.2 •

Changelog

Source

3.0.0-rc.2 - 08 July 2016

Bug fixes
  • #366 - Mapper doesn't always call Schema#apply when it should
jdobry
published 3.0.0-rc.1 •

Changelog

Source

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"
jdobry
published 3.0.0-beta.10 •

Changelog

Source

3.0.0-beta.10 - 02 July 2016

Forgot to bump version in package.json for previous release

jdobry
published 3.0.0-beta.8 •

Changelog

Source

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!
jdobry
published 3.0.0-beta.7 •

Changelog

Source

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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc