Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 28, 2024

This PR contains the following updates:

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

Release Notes

jshjohnson/Choices (choices.js)

v11.1.0

Compare Source

Features
Bug Fixes

v11.0.6

Compare Source

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

v11.0.5

Compare Source

Bug Fixes
  • Fix regression when calling setChoices #​1278

v11.0.4

Compare Source

Features
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

v11.0.3

Compare Source

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

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

Compare Source

  • 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.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


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 is behind base branch, 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

Read more information about the use of Renovate Bot within Laminas.

@renovate renovate bot added the renovate label Aug 28, 2024
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from 2bf6eaa to 38ae39c Compare September 3, 2024 06:36
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from ffc4d32 to e1d3f11 Compare September 17, 2024 03:35
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from e1d3f11 to ef1ed04 Compare September 24, 2024 03:40
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from ef1ed04 to 81a37d2 Compare October 1, 2024 06:43
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from 3d1ccc4 to 0430d45 Compare October 15, 2024 04:07
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 3 times, most recently from 0bd66d4 to 7083d11 Compare October 22, 2024 08:47
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from 7083d11 to 11a54b9 Compare October 29, 2024 08:00
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from d85ec0c to 37a7f36 Compare November 12, 2024 06:08
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from 37a7f36 to a4784c6 Compare November 19, 2024 04:28
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from 13f80c0 to 046faaf Compare December 3, 2024 04:56
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 3 times, most recently from 4f8eead to e162bb4 Compare December 17, 2024 06:41
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from e162bb4 to cb7e9da Compare December 24, 2024 06:44
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from cb7e9da to 46998be Compare December 31, 2024 07:16
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from e1edccd to c5c1620 Compare January 14, 2025 20:17
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from c5c1620 to aa92a23 Compare January 21, 2025 09:00
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from 7cf9994 to 76d23c1 Compare February 4, 2025 08:26
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from 576c416 to ba9f848 Compare February 25, 2025 06:49
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from ba9f848 to 2c75611 Compare March 4, 2025 10:21
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from fc2c3e7 to ff81435 Compare May 6, 2025 11:12
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from fce0729 to 25afa5e Compare May 20, 2025 11:34
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from 25afa5e to b06c01c Compare May 27, 2025 12:35
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from 7c25a6b to 4f3a8dc Compare June 17, 2025 07:55
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from 4f3a8dc to f1829ce Compare June 24, 2025 05:06
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from f1829ce to c5d92db Compare July 1, 2025 05:54
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from c5d92db to a8c6b91 Compare July 8, 2025 07:47
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from a8c6b91 to abc0a3e Compare July 15, 2025 10:42
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from 026aa58 to 4d64ae9 Compare July 29, 2025 10:35
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from 4d64ae9 to 4f17efa Compare August 5, 2025 09:39
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from 0824247 to bd77c0f Compare August 19, 2025 09:29
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from 2a65e01 to a87d1cb Compare September 1, 2025 20:30
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from a87d1cb to bef39c3 Compare September 9, 2025 05:12
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 4 times, most recently from 6835ce9 to 72c0bb3 Compare September 23, 2025 09:04
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from e0aee79 to 1b054cb Compare September 30, 2025 08:37
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch 2 times, most recently from eebc2b2 to 0a70898 Compare October 14, 2025 05:13
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from 0a70898 to c48558d Compare October 21, 2025 05:31
| datasource | package    | from  | to     |
| ---------- | ---------- | ----- | ------ |
| npm        | choices.js | 9.1.0 | 11.1.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/choices.js-11.x branch from c48558d to a6089e8 Compare October 28, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants