Repository navigation
Update dependency select2 to 4.2.* - #96
Conversation
There was a problem hiding this comment.
Approved: no adaptation is required under the configured project policy.
PR #96 updates Select2 from 4.1.1 to 4.2.0 and merges cleanly into the recorded target. Frontend and PHP checks passed, and a Chromium fixture using the application's asset loader verified host group and service contact selection. Browser coverage used local forms with sample data. The Select2 update introduces no deprecation relevant to Nagadmin. Existing ESLint 9.39.5 reached end of support on 2026-08-06. Migrate to ESLint 10 with compatible plugins in a separate update.
Agent-assessed risk: Low. The update changes one browser dependency, and both application multiselects passed focused smoke checks with the locked jQuery runtime.
Evidence (7 items)
- Local check:
git merge-base dda168674f5236c59aa03b5341abdd09bf65536e refs/artidezi/inputs/source-pr; git diff dda168674f5236c59aa03b5341abdd09bf65536e...refs/artidezi/inputs/source-pr; git diff --check dda168674f5236c59aa03b5341abdd09bf65536e...refs/artidezi/inputs/source-pr; git merge-tree --write-tree dda168674f5236c59aa03b5341abdd09bf65536e refs/artidezi/inputs/source-pr— The merge base is the recorded target. Only app/frontend/package.json and its lock change, with a clean diff and conflict-free merge. The computed merge tree 26c9a40c3be427ae158794313f9edb7ed27639c7 matches the source tree and was exported for local verification. - Release notes: source — The release adds disabled-fieldset handling and fixes keyboard, display and AJAX behavior. Nagadmin initializes two local-option multiselects with width set to 100% and uses neither custom rendering nor a Select2 AJAX transport. The release notes list no deprecation or removal affecting these users.
- Local check:
just js-analyze js-build; docker run --rm --entrypoint npm localhost/devture-nagadmin/node:latest ls --all select2 jquery react react-dom bootstrap @popperjs/core— Passed locked npm install in the project Node image, ESLint, TypeScript, and the frontend asset build. The installed tree resolves Select2 4.2.0 and jQuery 4.1.0, and the unchanged React DOM and Bootstrap peers resolve to React 19.3.1 and Popper 2.11.8. The first run built the image but hit an unavailable /tmp bind mount; all steps passed from the shared workspace archive. - Local check:
./bin/composer validate --strict; ./bin/composer install --no-interaction --prefer-dist; docker build --iidfile var/artidezi-verification-php-image.id etc/docker/php; vendor/bin/phpstan analyse -c phpstan.neon --no-progress; vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php; vendor/bin/twig-cs-fixer lint --config=.twig-cs-fixer.dist.php— All passed against the merged archive. The three application checks ran from /code/app in the built PHP image with networking disabled. No monitoring services were started. - Local check:
node browser-tools/smoke.mjs (temporary Playwright fixture)— Chromium 158.0.8127.0 loaded the generated Select2 JS and CSS through the repository's comploader and Twig initialization scripts without browser errors. Verified preselected values, group search, addition and removal, the application's new-group button, keyboard contact selection, native FormData for both fields, and disabled-fieldset handling. Used a static form fixture and a loopback asset server, with no Symfony routes or database. - Evidence:
Provided source CI snapshot for 9417fac155a87b8ddc10baace0c5ac77aefd772c— The recorded stability, frontend and PHP results were successful at the time of the snapshot. - Documentation: source — The target lock already marks ESLint 9.39.5 deprecated. Upstream support ended on 2026-08-06, after which the line receives no further upstream updates. Existing lint works; the supported migration is an independent upgrade to ESLint 10 with compatible plugins.
Assessed source 9417fac155a87b8ddc10baace0c5ac77aefd772c.
This PR contains the following updates:
4.1.*→4.2.*Release Notes
select2/select2 (select2)
v4.2.0Compare Source
New features / improvements
templateSelectionto return trusted HTML nodes, matchingtemplateResultbehavior (#6311)'timeout','abort','error','parseerror'), decoupling the failure contract from jqXHR internals (#6476)Bug fixes
Stringobjects consistently in template rendering (#6311)allowClearenabled (#3335, #6485)selectOnClosecloses a disabled dropdown (#6486)languagevalues now take precedence over string language codes when resolving translations (#6451)closestdir lookup when no ancestor has adirattribute (#6441)Translations
nn) (#6501)Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.