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

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 2, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
choices.js ^9.1.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


Configuration

📅 Schedule: Branch creation - "* 0-3 1 * *" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

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

@renovate renovate bot added class: dependencies Pull requests that update a dependency file renovate PRs and Issues created by the RenovateBot labels Dec 2, 2024
@renovate renovate bot enabled auto-merge (squash) December 2, 2024 04:47
@matronator matronator merged commit f948c19 into master Dec 2, 2024
2 checks passed
@matronator matronator deleted the renovate/choices.js-11.x branch December 2, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
class: dependencies Pull requests that update a dependency file renovate PRs and Issues created by the RenovateBot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant