Skip to content

Version 10.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Jan 04:44

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