[TikiWiki-commits] [Git][tikiwiki/tiki][24.x] [FIX] restrict npm-asset/select2 to version 4.0.x as 4.1 introduces a change...
"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]> Fri, 24 Jul 2026 12:44:09 +0000
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <6a635e19c20a8_38307f7087806a@gitlab-sidekiq-low-urgency-cpu-bound-v2-7d8cd68bcd-j2xjq.mail> |
Victor Emanouilov pushed to branch 24.x at Tiki Wiki CMS Groupware / Tiki
Commits:
d3344afb by Victor Emanouilov at 2026-07-24T15:44:03+03:00
[FIX] restrict npm-asset/select2 to version 4.0.x as 4.1 introduces a change in options that breaks multiselect boxes in Tiki
- - - - -
2 changed files:
- vendor_bundled/composer.json
- vendor_bundled/composer.lock
Changes:
=====================================
vendor_bundled/composer.json
=====================================
@@ -176,7 +176,7 @@
"ext-openssl": "*",
"ext-iconv": "*",
"ext-zip": "*",
- "npm-asset/select2": "^4.0",
+ "npm-asset/select2": "~4.0.0",
"npm-asset/ttskch--select2-bootstrap4-theme": "^1.5",
"npm-asset/sortablejs": "^1.13",
"npm-asset/systemjs": "^6.12",
@@ -256,7 +256,15 @@
"reviewer": "Joseph Kausi",
"alternatives": "No direct drop-in replacement was suggested. Alternatives are migrating to another ML ecosystem or maintaining a fork.",
"impact": "Machine learning features become non-functional, including model training/prediction and ML-based data analysis capabilities."
- }
+ },
+ "npm-asset/select2": {
+ "reason": "24.x branch still uses version 4 of select2 lib but it had a breaking change between 4.0 and 4.1",
+ "mitigation": "Stick to version 4.0.x for the time being - otherwise, multiselect boxes are visually broken.",
+ "reviewed": "2026-07-24",
+ "reviewer": "Victor Emanouilov",
+ "alternatives": "Update Tiki to use newer version 4.1 but since the lib is replaced in future Tiki versions, it is not recommended.",
+ "impact": "Broken multiselect boxes"
+ }
}
},
"replace": {
=====================================
vendor_bundled/composer.lock
=====================================
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "91cd45ba6e24f925047ee76e59249c5a",
+ "content-hash": "289ce25f7396fda3e66aa2fce3e88659",
"packages": [
{
"name": "Sam152/Javascript-Equal-Height-Responsive-Rows",
@@ -6936,10 +6936,10 @@
},
{
"name": "npm-asset/select2",
- "version": "4.1.0",
+ "version": "4.0.13",
"dist": {
"type": "tar",
- "url": "https://registry.npmjs.org/select2/-/select2-4.1.0.tgz"
+ "url": "https://registry.npmjs.org/select2/-/select2-4.0.13.tgz"
},
"type": "npm-asset",
"license": [
@@ -16144,11 +16144,11 @@
"ext-iconv": "*",
"ext-zip": "*"
},
- "platform-dev": [],
+ "platform-dev": {},
"platform-overrides": {
"ext-ldap": "0",
"ext-soap": "0",
"php": "7.4"
},
- "plugin-api-version": "2.6.0"
+ "plugin-api-version": "2.9.0"
}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d3344afb1ecb7f5c31c9e533a0d3424c95ed79f2
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d3344afb1ecb7f5c31c9e533a0d3424c95ed79f2
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs