MyGit

v2.18.0

ebryn/ember-model

版本发布时间: 2018-04-16 17:50:44

ebryn/ember-model最新发布版本:3.0.0(2018-10-17 22:05:51)

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: https://github.com/ebryn/ember-model/pull/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

相关地址:原始地址 下载(tar) 下载(zip)

查看:2018-04-16发行的版本