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 #264

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

Conversation

renovate[bot]
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.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


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
| datasource | package    | from  | to     |
| ---------- | ---------- | ----- | ------ |
| npm        | choices.js | 9.1.0 | 11.0.3 |


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 46998be to e1edccd Compare January 8, 2025 17:30
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