Skip to content

chore: update select2 to 4.1.0 - #1631

Merged
JohnVillalovos merged 1 commit into
LibreBooking:developfrom
labmecanicatec:select2
Aug 4, 2026
Merged

chore: update select2 to 4.1.0#1631
JohnVillalovos merged 1 commit into
LibreBooking:developfrom
labmecanicatec:select2

Conversation

@labmecanicatec

Copy link
Copy Markdown
Collaborator

Update Select2 assets to the latest stable version and keep
the dependency aligned with current releases.

Update Select2 assets to the latest stable version and keep
 the dependency aligned with current releases.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.0 stable.
  • Add the 4.1.0 Select2 CSS assets (select2.css and select2.min.css) and update templates to point at them.
  • Stop referencing the old 4.1.0-rc.0 asset 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 JohnVillalovos left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I compared files to the upstream and everything matches.

LGTM

Thanks @labmecanicatec

@JohnVillalovos
JohnVillalovos merged commit dec67b9 into LibreBooking:develop Aug 4, 2026
17 checks passed
@labmecanicatec
labmecanicatec deleted the select2 branch August 5, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants