Releases: Choices-js/Choices
Version 9.0.0
Changes
🚨 Breaking changes
- Add missing type definitions + rename sortFn @jshjohnson (#734)
- Fix #727 @jshjohnson (#731)
🐛 Bug Fixes
- Remove redundant event listener conditional @jshjohnson (#755)
- Resolve bug #637 @jshjohnson (#754)
- Always hide remove button if no value is selected @bronzehedwick (#744)
- Indent fixed in "choices__list--dropdown" @dios-oleg (#750)
- Resolve bug 473 @jshjohnson (#739)
- Resolve bug 533 @jshjohnson (#736)
- fix setChoices flow @tinovyatkin (#730)
🔧 Maintenance
- Typo. @agamemnus (#759)
- Commit and push built files to master @jshjohnson (#756)
- Upgrade Cypress to 3.6 and use cache in Github Actions @tinovyatkin (#748)
- Fix id types @jshjohnson (#743)
- remove safari test, update snapshots for new macOS, use dependency caching @tinovyatkin (#745)
- Enable test on Safari @tinovyatkin (#737)
- [bug] Override Prettier settings for Demo page @tinovyatkin (#733)
- [TEST] Automatic screenshots comparing and error checking in IE11, Firefox and Chrome @tinovyatkin (#715)
- Add documentation label + headings @jshjohnson (#729)
- Update GitHub action workflows @jshjohnson (#728)
- Fix lint @tinovyatkin (#723)
- Store config in file @jshjohnson (#722)
- Add release drafter @jshjohnson (#720)
🔧 Maintenance
- improve whole-page performance by scoping events handlers @tinovyatkin (#740)
- Code refactoring @jshjohnson (#735)
- speed up getAdjacentEl @tinovyatkin (#726)
- use CSS queries @tinovyatkin (#718)
Contributors
@agamemnus, @bronzehedwick, @dios-oleg, @jshjohnson and @tinovyatkin
Version 8.0.0
This version contains multiple breaking changes:
- The ability to pass multiple elements to one instance of Choices has been removed - now only one element can be associated with Choices (#693)
- The undocumented
userDefaults
static property has been removed - The
ajax
method has been removed.setChoices
can now be used to set choices dynamically - more info can be found in the README (#701) - The
addItemFilterFn
option has been renamed toaddItemFilter
and now supports regex's (#699) Element.prototype.closest
has been added to the required polyfill list (#696)- The
.is-hidden
class has been replaced with thehidden
attribute (https://github.com/jshjohnson/Choices/pull/691/files)
This version also contains numerous bug fixes, type fixes + tooling improvements 🎉
Big thanks to @tinovyatkin for his contributions to this release!
Version 7.1.0
Version 7.0.2
Version 7.0.0
Version 6.0.3
Fixes an issue in the previous release where Fuse was not be transpiled to ES5 code.
Version 6.0.2
Version 6.0.1
- Upgrades Fuse.js to fix IE11 issues
Version 6.0.0
The regexFilter
config option has now been removed and replaced with addItemFilterFn
which is more flexible.
The toggleDropdown
method has also been removed as it was broken and arguably unnecessary.
This release also fixes a bug where the dropdown message would not display whilst typing.
Version 5.0.0
With this release the following polyfills have been removed to reduce the bundle size:
Array.prototype.find
Array.prototype.includes
Array.from
If you need to support browsers that do not have these features, see here: https://github.com/jshjohnson/Choices#browser-compatibility
This release hopefully also resolves rendering performance issues with large data sets.