Skip to content

Home-made croissants

Choose a tag to compare

@cibernox cibernox released this 30 Apr 21:13
· 891 commits to master since this release

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!