Changelog
3.0.0-alpha.4 - 04 January 2016
Changelog
3.0.0-alpha.3 - 29 December 2015
Changelog
3.0.0-alpha.1 - 12 December 2015
DS
is now just a container for Model
classes. It no longer stores data or
metadata.Model
is essentially a constructor function, which can be used to create
instance of the Model. A Model has static methods like find
and create
. The
prototype of a Model defines behavior for instances of the Model. Models can be
defined using ES6 class syntax. A Model must be "initialized" in order to be
able to store data. A Model is automatically initialized if a schema is defined
for the Model, or if the Model is created using the .extend
method, or the
legacy DS#defineResource
or DS#defineModel
methods.Object.observe
and the observe-js polyfill have been dropped in
3.0.0-alpha.1
(see https://esdiscuss.org/topic/an-update-on-object-observe),
replaced with Backbone-style change detection (but unlike with Backbone, you can
still treat instances like POJOs!) Change detection is now more “opt in”, so you
can use it more wisely when you actually need, improving performance overall.3.0.0-alpha.1
Models (Resources) can now be defined with plain ES6
classes3.0.0-alpha.1
, the internal store (cache) of each Model (Resource)
supports secondary indexes for blazing fast lookups on indexed keys. Where in
2.x a hasMany
property accessor performs a O(n) lookup, in 3.0.0-alpha.1
the
lookup is performed in O(log n) time.Changelog
2.8.2 - 04 November 2015
Changelog
2.8.1 - 02 November 2015
Changelog
2.8.0 - 26 October 2015
Changelog
2.7.0 - 22 October 2015
belongsTo
relation with zero value by @Pencroff