Skip to content

Pulpo a feira

Pre-release
Pre-release
Compare
Choose a tag to compare
@cibernox cibernox released this 18 Dec 17:08
· 826 commits to master since this release

πŸŽ… πŸŽ„ πŸŽ„ 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!