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
MIT License
Bot releases are hidden (Show)
Published by jmdobry over 6 years ago
Published by jmdobry about 7 years ago
makeDescriptor
method on the Schema
class.dist/js-data.d.ts
.Published by jmdobry about 7 years ago
v3 Stable Release
Published by jmdobry over 7 years ago
Schema#pick
no longer incorrectly infers values for objects and arraysPublished by jmdobry over 7 years ago
strict
option has been removed from the toJSON
methods. The methods now rely wholly on Schema#pick
for strictness, and assumes the original strict: false
behavior if no schema is defined.Schema#pick
now copies properties not defined in the "properties" keyword if the "additionalProperties" keyword is present and truthy.Published by jmdobry over 7 years ago
Collection#add
is missing a "silent" optionemitRecordEvents
option to Collection
which defaults to true
package.json
to .babelrc
yarn.lock
filePublished by jmdobry about 8 years ago
SimpleStore
class between Container
and DataStore
.Schema#pick
methodPublished by jmdobry about 8 years ago
applyDefaultsOnInject
option, which defaults to false
usePendingFind
and usePendingFindAll
options, which both default to true
Published by jmdobry about 8 years ago
Published by jmdobry about 8 years ago
Published by jmdobry over 8 years ago
Published by jmdobry over 8 years ago
Mapper#applyDefaults
option which defaults to true
Mapper#beforeCreate
and Mapper#beforeCreateMany
now apply default valuesapplyDefaults
option.ctx
property to the opts
argument passed to validation keywordsSchema#applyDefaults(target)
methodPublished by jmdobry over 8 years ago
Forgot to bump version in package.json for previous release
Published by jmdobry over 8 years ago
Collection#unsaved
, LinkedCollection#unsaved
, DataStore#unsaved
Collection#prune
, LinkedCollection#prune
, DataStore#prune
Record#isNew
and Record#changeHistory
DataStore#usePendingFind
, which defaults to true
DataStore#usePendingFindAll
, which defaults to true
Published by jmdobry over 8 years ago
Published by jmdobry over 8 years ago
Published by jmdobry over 8 years ago
Mapper#validate
for you by default.Container#as
and DataStore#as
Published by jmdobry over 8 years ago
DataStore
are now non-enumerable by defaultRecord#changes
, toJSON
is called on if available.dist/js-data.d.ts
is now in ES6 module formattypings
field to package.json
typings.json
Published by jmdobry over 8 years ago
Collection
now has a configurable queryClass
property, which defaults to Query