chore: update select2 to 4.1.0 - #1631
Merged
Merged
Conversation
Update Select2 assets to the latest stable version and keep the dependency aligned with current releases.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the bundled Select2 vendor assets from 4.1.0-rc.0 to the stable 4.1.0 release and updates Smarty templates to load the new version (local vendor path or jsDelivr CDN).
Changes:
- Update Select2 metadata and JS bundles to reference
4.1.0stable. - Add the
4.1.0Select2 CSS assets (select2.cssandselect2.min.css) and update templates to point at them. - Stop referencing the old
4.1.0-rc.0asset paths in templates.
Reviewed changes
Copilot reviewed 2 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Web/assets/vendor/select2/4.1.0/metadata.json | Bumps Select2 metadata from rc to stable release tag. |
| Web/assets/vendor/select2/4.1.0/js/select2.js | Updates Select2 non-minified JS bundle content for 4.1.0. |
| Web/assets/vendor/select2/4.1.0/js/select2.full.js | Updates Select2 “full” non-minified JS bundle content for 4.1.0 (incl. bundled mousewheel). |
| Web/assets/vendor/select2/4.1.0/css/select2.min.css | Adds Select2 4.1.0 minified CSS for local vendor loading. |
| Web/assets/vendor/select2/4.1.0/css/select2.css | Adds Select2 4.1.0 unminified CSS for local vendor loading. |
| Web/assets/vendor/select2/4.1.0-rc.0/js/select2.min.js | Removes old rc minified JS asset. |
| Web/assets/vendor/select2/4.1.0-rc.0/css/select2.min.css | Removes old rc minified CSS asset. |
| Web/assets/vendor/select2/4.1.0-rc.0/css/select2.css | Removes old rc unminified CSS asset. |
| tpl/javascript-includes.tpl | Switches Select2 script include (local + CDN) to 4.1.0 stable. |
| tpl/globalheader.tpl | Switches Select2 stylesheet include (local + CDN) to 4.1.0 stable. |
JohnVillalovos
approved these changes
Aug 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update Select2 assets to the latest stable version and keep
the dependency aligned with current releases.