v2.0.0-beta.0
版本发布时间: 2017-12-19 01:08:43
cibernox/ember-power-select最新发布版本:v8.3.1(2024-09-09 14:37:17)
🎅 🎄 🎄 Ho Ho Ho! 🎄🎄 🎅
Santa came early with a new major version of Ember Power Select! This kicks in the 2.0 series, the first one with (intentional) breaking changes in a long time. But fear not, you won't probably notice anything.
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!