MyGit

v2.0.0

cibernox/ember-power-select

版本发布时间: 2018-05-01 05:13:16

cibernox/ember-power-select最新发布版本:v8.3.1(2024-09-09 14:37:17)

Finally a new major version!

When compared with 2.0.0-beta.5, it finally removes the dependency on ember-native-dom-helpers. Not the test helpers provided by this addon use the helpers in @ember/test-helpers.

When compared with the last 1.X version, I'll just copy the relevan breaking changes, which I don't expect they'll be relevant for most users:

Require Glimmer 2

Now the min version of Ember is 2.10. It allows the component to drop some code most people don't need anymore. If you are not in Ember 2.10 or greater, don't worry. Branch 1.X will continue to support 2.3.1+ for some time while you upgrade.

Drop ember-wormhole

Now that we can rely on the glimmer-vm, the addon uses Ember-Basic-Dropdown 1.0, which uses the built-in #-in-element construct to render your content out of the regular flow of the page.

Better behaviour when typing on the trigger

Now when a select's trigger (not the searchbox) is focused and you type, the default behavior mimics much better the default behavior of native selects

Global acceptance helpers are deprecated.

The selectChoose, selectSearch, removeMultipleOption and clearSelected helpers will continue to exist, but registering and using them as globals is deprecated and will be removed on the 2.0 release. You can continue to use them just the same, but you will have to explicitly import them from ember-power-select/test-support/helpers. That is all!

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

查看:2018-05-01发行的版本