Skip to content

Bump choices.js from 10.2.0 to 11.0.6 #1249

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

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 28, 2025

Bumps choices.js from 10.2.0 to 11.0.6.

Release notes

Sourced from choices.js's releases.

v11.0.6

Changes

🚨 Breaking changes

  • Changes to setChoices & clearChoices adjust how the selection and new choices combine when using replaceChoices: true is used to better match v10.2.0 and v11.0.3 behavior.
    • To remove duplication, consider using the configuration optionduplicateItemsAllowed: false, or use the setChoices's new 6th argument replaceItems:true

🐛 Bug Fixes

Chore

  • Add e2e test for dropdown behavior on item mouse down/click
  • Add e2e test for serveral setChoices/clearChoices actions

Contributors

@​Xon

v11.0.5

Changes

🐛 Bug Fixes

  • Fix setChoices regression in v11.0.4, where replaceChoices argument would deselect selected items. Fixes #1278 @​Xon (#1279)

Contributors

@​Xon

v11.0.4

Changes

🚀 Features

🐛 Bug Fixes

  • Fix v11 setChoice performance regression @​Xon (#1276)
  • Fix renderSelectedChoices option when all choices are selected @​Xon (#1274)
  • Fix v11 regression for disabled placeholder option handling @​Xon (#1273)
  • Fix v11 regression where clearChoices (and setChoices with replaceChoices:true) did not remove selected items @​Xon (#1272)
  • Fix v11 regression where duplicateItemsAllowed option did not work with select-one/select-multiple @​Xon (#1271)
  • Fix: Reached maximum item limit notice is not cleared after removing selections @​ticktackk (#1270)
  • Fix: Disabled options are not visible (#1257) @​ticktackk (#1269)
  • Fix: Clear button reverses items order @​ticktackk (#1265)
  • Fix tab => direction keys handling with disabled search @​zoglo (#1260)
  • Improve cjs compatibility by removing pinned "module" type in package.json @​roma-formio (#1254)

🔧 Maintenance

... (truncated)

Changelog

Sourced from choices.js's changelog.

[11.0.6]

Breaking changes

  • Changes to setChoices & clearChoices adjust how the selection and new choices combine when using replaceChoices: true is used to better match v10 and v11.0.3 behavior.
    • To remove duplication, consider duplicateItemsAllowed: false to be set, or use the new 6th argument replaceItems:true

Bug Fixes

Chore

  • Add e2e test for dropdown behavior on item mouse down/click
  • Add e2e test for serveral setChoices/clearChoices actions

[11.0.5] (2025-02-26)

Bug Fixes

  • Fix regression when calling setChoices #1278

[11.0.4] (2025-02-23)

Features

  • Do not preventDefault on item to support dragging #417 #1094 #920

Bug Fixes (from 11.0.0)

  • Fix performance regression when calling setChoices #1275
  • Fix renderSelectedChoices option when all choices are selected #1274
  • Fix v11 regression for disabled placeholder option handling #1203
  • Fix v11 regression where clearChoices (and setChoices with replaceChoices:true) did not remove selected items when preserving placeholders #1261
  • Fix v11 regression where duplicateItemsAllowed option did not work with select-one/select-multiple #1271
  • Fix: Reached maximum item limit notice is not cleared after removing selections #1249
  • Fix: Disabled options are not visible #1257 #1269
  • Fix: Clear button reverses items order #1251
  • Fix tab => direction keys handling with disabled search #1260
  • Improve cjs compatibility by removing pinned "module" type in package.json #1250

[11.0.3] (2024-12-22)

Bug Fixes (from 11.0.0)

  • Fix input text - method setValue didn't work #1207
  • Fix tab and esc keys handling #1234 #1209
  • Fix Notice for max item limit is removed permanently if you keep typing #1201
  • Fix search was not stopped when leaving focus with esc key #1240
  • Fix single-select mode disabling search when tab => arrow keys are pressed #1230
  • Fix HTML comments were copied from backing <option> and were rendered as text #1231

[11.0.2] (2024-09-05)

Features (from 11.0.0)

  • Pass getClassNames as the 3rd argument to callbackOnCreateTemplates callback

... (truncated)

Commits
  • 468bb70 Compile JS files
  • 7dc8200 version bump
  • b02f512 Update CHANGELOG.md
  • 039c81d Merge pull request #1283 from Choices-js/fix-clear-choices
  • 51654a2 Update e2e test for setChoice with preserving selection
  • 2a778ac Compile JS files
  • a65f0de Preserve selected items by default in clearChoices
  • 1b969b4 Add e2e test for #1278
  • 51f9a0f Add e2e test for #1281
  • 0acba2b Remove test since closeDropdownOnSelect: true isn't used in select-multiple m...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [choices.js](https://github.com/jshjohnson/Choices) from 10.2.0 to 11.0.6.
- [Release notes](https://github.com/jshjohnson/Choices/releases)
- [Changelog](https://github.com/Choices-js/Choices/blob/main/CHANGELOG.md)
- [Commits](Choices-js/Choices@v10.2.0...v11.0.6)

---
updated-dependencies:
- dependency-name: choices.js
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/choices.js-11.0.6 branch from 064764a to 65f0076 Compare February 28, 2025 11:14
@driesvints driesvints merged commit a8514c7 into main Feb 28, 2025
2 checks passed
@driesvints driesvints deleted the dependabot/npm_and_yarn/choices.js-11.0.6 branch February 28, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant