Releases: js-data/js-data
Releases · js-data/js-data
3.0.0-alpha.11
3.0.0-alpha.11 is a major refactor from the previous version!
3.0.0-alpha.11 - 25 January 2016
- Refactored architecture into Record, Collection (and LinkedCollection), Mapper, Container, DataStore, and Schema
3.0.0-alpha.9
3.0.0-alpha.9 - 09 January 2016
Backwards compatible bug fixes
- Fixed a bug in IE where Object.prototype.toString !== window.toString
3.0.0-alpha.8 - 09 January 2016
Breaking API changes
- The Model class is now stateless
- All stateful functionality has been moved to the Collection class
- The DS class no longer proxies Model methods.
3.0.0-alpha.10
3.0.0-alpha.10 - 09 January 2016
- (temporarily?) removed relation links
- Added
Collection#modelOpts
option - Relations can be defined via
DS#defineModel
3.0.0-alpha.7
Stable Version 3.0.0-alpha.7
3.0.0-alpha.6
3.0.0-alpha.6 - 05 January 2016
- More fixes
- Inheritance should work better in TypeScript
- Better operational eventing
3.0.0-alpha.5
Stable Version 3.0.0-alpha.5
3.0.0-alpha.3
3.0.0-alpha.3 - 29 December 2015
- Implemented more methods from 2.x.
- Better compatibility for the classes exposed by js-data.
- Switched from Webpack to Rollup for a 7% smaller build
(automatic tree-shaking) and built code that's simpler and easier to read.
3.0.0-alpha.2
Stable Version 3.0.0-alpha.2
3.0.0-alpha.1
3.0.0-alpha.1 - 12 December 2015
Breaking API changes
- js-data now requires full ES5 compatibility from the runtime. The developer
can add es5-shim for older browsers. DS
is now just a container forModel
classes. It no longer stores data or
metadata.- Settings are no longer inherited via the prototype. A base Model can be
created which the remaining Models can extend. - A
Model
is essentially a constructor function, which can be used to create
instance of the Model. A Model has static methods likefind
andcreate
. 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
legacyDS#defineResource
orDS#defineModel
methods.
Other
- As this is an alpha build of a complete rewrite from scratch, there is still a
lot of work to be done. Some features from 2.x may not have been implemented yet
and there are probably bugs. If you're willing to experiment with 3.x, your
feedback is appreciated. - 3.0.0-alpha.1 gzipped is approximately 40% smaller than 2.8.2 gzipped.