Problem/Motivation
We're on a beta of jQuery 4, we need to update to a stable release before 12.0.0 - opening this issue to track.
jQuery 4.0.0 milestone progress on GitHub
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3449874
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3449874-update-to-a
changes, plain diff MR !14395
Comments
Comment #2
catchComment #3
xjmComment #4
nod_new beta for jquery 4 got out, need a new issue to update in 11.x https://blog.jquery.com/2024/07/17/second-beta-of-jquery-4-0-0/
Comment #5
longwaveOpened #3462339: Update to jQuery 4.0.0-beta2
Comment #6
damienmckennaWith jQuery 4 still in beta, does this mean Drupal 11 is being delayed from the original release plan of the week of July 29th?
Comment #7
catch@DamienMcKenna if it was just a week or so then we probably would, but indications are that it'll be a few weeks before there's a stable jQuery 4 release, but also that this isn't due to changes/bugs in jQuery itself but updating documentation and etc. Given that, we're planning to release 11.x on the beta, and update to a stable release in an 11.0.x patch release once it's available. Will need something in the release notes, but feels like the least bad option.
Comment #8
damienmckennaThank you for the update.
Should this issue be refocused on the jQuery 4 plan for D11 with remaining tasks identified and then a separate task for updating to a final jQuery 4 release for a future core release?
Comment #9
catchAs far as we know, there's nothing left to do except update to the stable release when it comes out.
There are various non-blocking follow-ups like #3189416: [PP-1] Remove jQuery Form dependency from misc/ajax.js but that issue already existed, just would have made the jQuery 4 update a lot easier if we'd finished it.
Comment #10
damienmckennaComment #11
xjmMarking postponed until a newer version is available. Right now we are on beta2 and that is the latest.
I think #3189416: [PP-1] Remove jQuery Form dependency from misc/ajax.js belongs as a should-have in the Drupal 12 beta requirements meta (rather than here).
Comment #12
xjmComment #13
spokjeComment #14
xjmReparent of sadness.
Comment #15
xjmComment #16
gábor hojtsyjQuery 4 RC1 is out now! Opened #3540886: Update to jQuery 4 RC1.
Comment #17
longwaveJQuery 4.0.0 is finally here!
https://blog.jquery.com/2026/01/17/jquery-4-0-0/
Comment #19
quietone commentedComment #21
quietone commentedComment #22
quietone commentedComment #23
longwaveLooks good to me!
The changes are so minimal that I think we can safely ship this in 11.4 as well as 12.0.
Comment #27
nod_10.6 is on jQuery 3, so the deprecations from 4 are not really expected. Unlike 11.x which has been using 4-rc already.
Committed 2effbe2 and pushed to main.
Committed 1bfc547 and pushed to 11.x.
Committed 5f125e8 and pushed to 11.3.x. Thanks!
Comment #31
gábor hojtsy