Skip to content

Releases: Choices-js/Choices

Version 10.2.0

29 Nov 19:02
5dbea28
Compare
Choose a tag to compare

Changes

🚀 Features

  • Add JSON support to custom properties @brosua (#1001)
  • Allow overwrite of the $choices-z-index variable @Moonlight-Angel (#1034)

🐛 Bug Fixes

🔧 Maintenance

  • Documentation: Add option "uniqueItemText" and "customAddItemText" to README @Sysix (#1051)

Contributors

@Moonlight-Angel, @Sysix, @brosua, @comxd, @mtriff, @ousmorez, David DIVERRES and Josua Vogel

Version 10.1.0

15 Feb 13:32
08d4f1f
Compare
Choose a tag to compare

Changes

🚀 Features

🐛 Bug Fixes

🔧 Maintenance

Contributors

@brosua, @mtriff, @mysliwietzflorian and @supermueller

Version 10.0.0

03 Jan 04:44
Compare
Choose a tag to compare

Changes

🚨 Breaking changes

  • Upgrade to Fuse v6 @mtriff (#991)
  • Introduce allowHTML option to allow people to disable injecting HTML into choices. @victiondev (#984)
    • Previously all Choices elements were set using innerHTML. This had the potential to allow XSS attacks when loading items from external, untrusted sources. This behaviour has been deprecated. The new option allowHTML has been introduced, with the current default to true. The default will change to false in a future release. It is recommended that you set it to false unless you require HTML.
    • As a result of this change, callbackOnCreateTemplates now receives the full configuration object, instead of just classNames. The method signature to match previous versions is now ({ classNames }, data). See the documentation for the updated example.

🐛 Bug Fixes

🔧 Maintenance

Contributors

@bobmaerten, @mtriff, @rjorel, @victiondev, @isaac-mercieca, @daicambruzzi

Version 9.1.0

20 Dec 02:00
Compare
Choose a tag to compare

Changes

Although this is primarily a maintenance release, there have been a couple of large refactorings done (for example, conversion of the library to TypeScript). So, just to be cautious, this is a minor version bump.

🐛 Bug Fixes

🔧 Maintenance

Contributors

@JoshuaCrewe, @actions-user, @alexwlchan, @bzf, @dgrammatiko, @flip111, @hans2103, @jshjohnson, @mtriff, @trbroyles1 and Joshua Crewe

Version 9.0.1

18 Nov 10:31
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

🔧 Maintenance

Contributors

@jshjohnson, @kzkn and GitHub Action

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)