Skip to content

v2.18.0

Compare
Choose a tag to compare
@GavinJoyce GavinJoyce released this 16 Apr 09:50
· 9 commits to master since this release

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