Skip to content

Releases: Choices-js/Choices

Version 9.0.0

14 Nov 22:58
44da784
Compare
Choose a tag to compare

Changes

🚨 Breaking changes

🐛 Bug Fixes

🔧 Maintenance

🔧 Maintenance

Contributors

@agamemnus, @bronzehedwick, @dios-oleg, @jshjohnson and @tinovyatkin

Version 8.0.0

29 Oct 21:40
0e44a91
Compare
Choose a tag to compare

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 to addItemFilter 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 the hidden 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

22 Oct 10:26
Compare
Choose a tag to compare

Version 7.0.2

15 Oct 08:36
Compare
Choose a tag to compare

Version 7.0.0

29 Mar 09:20
Compare
Choose a tag to compare

Includes the following changes:

  • #548 - clearChoices is now a public method and passing an empty array to setChoices will also clear choices
  • #547 - fixes scrollbar bug in IE11
  • #536 - removes CustomEvent polyfill (bring your own polyfills instead)

Version 6.0.3

26 Feb 12:21
9bebf2e
Compare
Choose a tag to compare

Fixes an issue in the previous release where Fuse was not be transpiled to ES5 code.

Version 6.0.2

22 Feb 22:09
Compare
Choose a tag to compare

Version 6.0.1

19 Feb 09:06
Compare
Choose a tag to compare
  • Upgrades Fuse.js to fix IE11 issues

Version 6.0.0

12 Feb 18:54
Compare
Choose a tag to compare

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

09 Feb 18:29
Compare
Choose a tag to compare

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.