Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish ember-model 2.18.0 #477

Closed
3 tasks done
GavinJoyce opened this issue Apr 16, 2018 · 1 comment
Closed
3 tasks done

Publish ember-model 2.18.0 #477

GavinJoyce opened this issue Apr 16, 2018 · 1 comment

Comments

@GavinJoyce
Copy link
Collaborator

GavinJoyce commented Apr 16, 2018

Also note the breaking changes in the release notes

TODO:

@GavinJoyce
Copy link
Collaborator Author

GavinJoyce commented Apr 16, 2018

Draft Release Notes:

2.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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant