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

Command icon 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:

Comments

catch created an issue. See original summary.

catch’s picture

xjm’s picture

nod_’s picture

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/

longwave’s picture

damienmckenna’s picture

With jQuery 4 still in beta, does this mean Drupal 11 is being delayed from the original release plan of the week of July 29th?

catch’s picture

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

damienmckenna’s picture

Thank 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?

catch’s picture

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

damienmckenna’s picture

xjm’s picture

Status: Active » Postponed

Marking 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).

spokje’s picture

Title: Update to a stable version of jQuery 4 » [PP-upstream] Update to a stable version of jQuery 4
xjm’s picture

xjm’s picture

Issue summary: View changes
gábor hojtsy’s picture

jQuery 4 RC1 is out now! Opened #3540886: Update to jQuery 4 RC1.

longwave’s picture

Title: [PP-upstream] Update to a stable version of jQuery 4 » Update to a stable version of jQuery 4
Version: 11.x-dev » main
Status: Postponed » Active

quietone made their first commit to this issue’s fork.

quietone’s picture

Title: Update to a stable version of jQuery 4 » Update to jQuery 4.0.0
quietone’s picture

Status: Active » Needs review
longwave’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me!

The changes are so minimal that I think we can safely ship this in 11.4 as well as 12.0.

  • nod_ committed 5f125e83 on 11.3.x
    task: #3449874 Update to jQuery 4.0.0
    
    By: catch
    By: xjm
    By: nod_
    By:...

  • nod_ committed 1bfc547f on 11.x
    task: #3449874 Update to jQuery 4.0.0
    
    By: catch
    By: xjm
    By: nod_
    By:...

  • nod_ committed 2effbe20 on main
    task: #3449874 Update to jQuery 4.0.0
    
    By: catch
    By: xjm
    By: nod_
    By:...
nod_’s picture

Version: main » 11.x-dev
Status: Reviewed & tested by the community » Fixed

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!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

gábor hojtsy’s picture