Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Late in Drupal 8.8.x cycle, we provided tools for deprecating JavaScript code. Unfortunately, we didn't manage to properly deprecate any of the JavaScript code so that they could be removed before Drupal 9.0.0.
Proposed resolution
Update documentation on deprecated JavaScript code to make it clear that the removals will happen before Drupal 10.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#9 | 3114116-9.patch | 1.98 KB | andypost |
#3 | 3114116-3.patch | 1.25 KB | lauriii |
Comments
Comment #2
lauriiiComment #3
lauriiiComment #4
andypostComment #5
andypostsomehow https://www.drupal.org/node/2974880 link returns 404 for me
Comment #6
lauriiiGood point @andypost. I'm tagging this for release manager review. Let's wait for a confirmation from them before moving forward on updating the change records.
Comment #7
Gábor HojtsyApparently https://www.drupal.org/node/2940704 is where the link should post. I think the change records would only be updated after commit anyway, as before commit there is no guarantees the updated change record reflects reality :) So IMHO updating the code comment here to point to that change record and then getting this to RTBC would be best. Release managers could still review it then :) The presence of the tag should ensure that other committers don't commit it accidentally.
Comment #8
Gábor HojtsyComment #9
andypostNot sure sniffers parse JS files but the missing CR https://www.drupal.org/node/2928117 it was fixed in #2928137: Correct deprecation note in ajax.es6.js
So here's a patch with fixed coding standards
Comment #10
Wim LeersLGTM!
Comment #11
Gábor HojtsyComment #15
catchSo IMO if we had a proper change record, and core usages were removed, it would still be fine to remove these bc layers in Drupal 9.
However I don't mind deferring the deprecation either, so committed/pushed to 8.8.x/8.9.x/9.0.x, thanks!
Comment #17
xjm