Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency choices.js to v11 #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
choices.js ^7.0.0 -> ^11.0.0 age adoption passing confidence

Release Notes

jshjohnson/Choices (choices.js)

v11.0.2

Compare Source

Features (from 11.0.0)
  • Pass getClassNames as the 3rd argument to callbackOnCreateTemplates callback
  • duplicateItemsAllowed option is now respected by setChoices() method #​855
Bug Fixes (from 11.0.0)
  • Fix choice disable state wasn't considered when showing the "no choices to choose from" notice
  • Fix regression where webpack doesn't permit importing scss/css @​tagliala #​1193
  • Fix regression "no choices to choose from"/"no results found" notice did not reliably trigger. #​1185 #​1191
  • Fix regression of UnhighlightItem event not firing #​1173
  • Fix clearChoices() would remove items, and clear the search flag.
  • Fixes for opt-group handling/rendering
  • Fix removeChoice() did not properly remove a choice which was part of a group
Chore
  • Add e2e tests for "no choices" behavior to match v10

v11.0.1

Compare Source

Bug Fixes (from 11.0.0)
  • Fix the rendered item list was not cleared when clearStore was called. This impacted the on-form-reset and refresh features.
Chore
  • Add e2e test for 'form reset' and 'on paste & search'.
  • Cleanup adding classes to generated elements.

v11.0.0

Compare Source

⚠ BREAKING CHANGES
  • Update polyfills to include Element.prototype.replaceChildren
  • Number of internal APIs have changed
Bug Fixes (from 10.2.0)
  • Reduce work done for unhighlightAll during on-click handler (batching in v11.0.0-rc8 would also have helped) #​522 #​599
  • Improve performance when rendering very large number of items and choices. Stuttering when stopping searching or selecting an item still happens depending on device and number of choices.

v10.2.0: Version 10.2.0

Compare Source

Changes

🚀 Features

🐛 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

v10.1.0: Version 10.1.0

Compare Source

Changes

🚀 Features

🐛 Bug Fixes

🔧 Maintenance

Contributors

@​brosua, @​mtriff, @​mysliwietzflorian and @​supermueller

v10.0.0: Version 10.0.0

Compare Source

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

v9.1.0

Compare Source

v9.0.1: Version 9.0.1

Compare Source

Changes

🐛 Bug Fixes

🔧 Maintenance

Contributors

@​jshjohnson, @​kzkn and GitHub Action

v9.0.0: Version 9.0.0

Compare Source

Changes

🚨 Breaking changes

🐛 Bug Fixes

🔧 Maintenance

🔧 Maintenance

Contributors

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

v8.0.0: Version 8.0.0

Compare Source

This version contains multiple breaking changes:

This version also contains numerous bug fixes, type fixes + tooling improvements 🎉

Big thanks to @​tinovyatkin for his contributions to this release!

v7.1.5

Compare Source

v7.1.4

Compare Source

v7.1.3

Compare Source

v7.1.1

Compare Source

v7.1.0: Version 7.1.0

Compare Source

https://github.com/jshjohnson/Choices/pull/617

v7.0.6

Compare Source

v7.0.4

Compare Source

v7.0.2: Version 7.0.2

Compare Source

https://github.com/jshjohnson/Choices/pull/608
https://github.com/jshjohnson/Choices/pull/648
https://github.com/jshjohnson/Choices/pull/642
https://github.com/jshjohnson/Choices/pull/644

v7.0.1

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants