Skip to content

Update dependency select2 to 4.2.* - #96

Merged
artidezi-devture[bot] merged 1 commit into
masterfrom
renovate/select2-4.x
Nov 27, 2026
Merged

artidezi-devture[bot] merged 1 commit into
masterfrom
renovate/select2-4.x

Conversation

@renovate

@renovate renovate Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
select2 (source) 4.1.* → 4.2.* age confidence

Release Notes

select2/select2 (select2)

v4.2.0

Compare Source

New features / improvements
  • Allow templateSelection to return trusted HTML nodes, matching templateResult behavior (#​6311)
  • Allow transports to report AJAX failure reasons as a text status string (e.g. 'timeout', 'abort', 'error', 'parseerror'), decoupling the failure contract from jqXHR internals (#​6476)
Bug fixes
  • Disable Select2 when the original select is inside a disabled fieldset (#​6482)
  • Fix disabled state of optgroup children when using data arrays (#​6422)
  • Escape String objects consistently in template rendering (#​6311)
  • Remove only the last choice when pressing Backspace in a multiple select with allowClear enabled (#​3335, #​6485)
  • Do not select a result when selectOnClose closes a disabled dropdown (#​6486)
  • Closing the container no longer forces the page to scroll (#​6483)
  • Show an error message when an AJAX request times out instead of staying on "Searching..." (#​6476)
  • Object language values now take precedence over string language codes when resolving translations (#​6451)
  • Prevent selecting stale results from a previous search while an AJAX query is in flight (#​4854, #​6499)
  • Guard closest dir lookup when no ancestor has a dir attribute (#​6441)
  • Fix duplicate search queries when Korean IME input events fire on arrow keys or Enter (#​6295)
Translations
  • Add Norwegian Nynorsk translation (nn) (#​6501)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

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

@artidezi-devture artidezi-devture Bot 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.

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.

@artidezi-devture
artidezi-devture Bot merged commit 459e12d into master Nov 27, 2026
3 checks passed
@renovate
renovate Bot deleted the renovate/select2-4.x branch November 27, 2026 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants