Releases: ebryn/ember-model
3.0.0
v2.18.0
ember-model 2.18.0
is the first release in 18 months since 0.0.18
and the first major release. It is designed to be compatible with Ember 2.18 and serve as a bridge to updating ember-model to support Ember 3.0+.
Breaking changes:
Rename store and adapter: #474 @nolaneo
As ember-data
is included by default in new Ember apps, and the preferred data library to use in your Ember applications, we've modified ember-model
to allow it to co-exist with ember-data
. This will provide existing apps which use ember-model
a path to incrementally migrate from ember-model
to ember-data
. In order to support this, we've renamed the ember-model
store from store:main
to emstore:main
and the adapter from data-adapter:main
to em-data-adapter:main
.
If your app relies on the default model
route hook implementation to call this.store.find
, you'll now have to modify your routes to specifically implement the model
hook which loads the model directly from ember-model
.
Other changes
- Replace deprecated
contains
withincludes
: #456 - Update dependencies: #459
- Handle out of bounds access gracefully: #460 @sduquej
- Upgrade QUnit to 2.5: #463 @patocallaghan
- Update grunt-contrib-watch to fix grunt.util._.contains error: #464 @patocallaghan
- Replace
grunt develop
andgrunt test
with Testem: #471 @patocallaghan - Add label to ajax promises: #475 @kmiyashiro
- Upgrade to Ember 2.18.2: #473 & #480