Problem/Motivation

During the 8.8.x development cycle, we deprecated numerous dependencies, libraries, and modules that needed to be removed from Drupal 9. We ran out of time for many things, so we should start this process sooner for Drupal 10.

The below issues cover work in various stages - in some cases we decided to stop using a library over a year ago but still need to decouple from it in practice. In other cases we have open issues to remove/deprecate core functionality but decisions on whether to do so have not been taken yet. In all cases, it would be best to resolve those issues as early as possible in the cycle rather than at the last minute.

Proposed resolution

Begin essential dependency, library, module, and theme deprecations by 9.3.0-beta1 (and sooner in some cases).

Deprecation infrastructure

JavaScript Dependencies

A table with the plan for all JS dependencies can be found in: #3238507: Drupal 10 JavaScript dependency plan

  1. [MUST-HAVE] CKEditor #3238333: Roadmap to CKEditor 5 stable in Drupal 9
  2. [MUST-HAVE] #3238501: Remove empty and deprecated IE11 polyfill library stub entries in 11.0.0
  3. [MUST-HAVE] #3239980: Deprecate Modernizr
  4. [MUST-HAVE] #3239838: Update core eslint configuration to remove unused React and JSX rules
  5. [MUST-HAVE] #1651344: Use color input type in the color.module or #2808151: [policy] Move the Color module to a contributed project when Bartik is deprecated
  6. #3052002: [meta] Replace JQuery with vanilla Javascript in core (The more of this we do, the less we have to make compatible with jQuery 4.)
  7. #3277744: Actually remove deprecated jquery_ui libraries from core

  8. #3189416: [PP-x] Remove jQuery Form dependency from misc/ajax.js
  9. #3145958: [META] Re-evaluate use of Backbone.js in core
  10. [Priority TBD] #3238497: What to do with assets build step? (Babel)
  11. Others TBD based on dependency changes in the next 12-18 months.

PHP dependencies

  1. [MUST-HAVE] #3176655: Deprecate GoutteDriver use in core and use Behat\Mink\Driver\BrowserKitDriver directly instead
  2. [MUST-HAVE] #3255243: Replace Diactoros' PSR-17 implementation with Guzzle's
  3. [MUST-HAVE] #3188549: [Meta] Tasks to deprecate both Aggregator and our dependency on Laminas Feed
  4. Event dispatcher: #2237831: Allow module services to specify hooks
  5. #3054535: Discuss whether to decouple from Symfony Validator

Libraries

Modules

Ensure that already-deprecated stub modules cannot be installed for new sites and removed from the codebase in Drupal 10

  • None at this time

Deprecate outdated or superseded modules in preparation for removal from Drupal 10

Policy still under discussion

Themes

Remaining tasks

  • Add additional issues as appropriate.
  • Evaluate in early 2021, after 9.2.0-beta1, prior to 9.3.0-alpha1, and prior to 10.0.0-beta1.

Issue fork drupal-3118154

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

xjm created an issue. See original summary.

xjm’s picture

Priority: Normal » Major
Issue summary: View changes

We can actually make this active as soon as 9.0.0-beta1 ships and 9.1.x opens for development, since Stable can be deprecated straightaway and additional deprecations should begin as soon as replacements stabilize and/or are added to Standard.

catch’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

xjm’s picture

Title: [meta] Deprecate dependencies, libraries, modules, and themes that will be removed from Drupal 10 core » [meta] Deprecate dependencies, libraries, modules, and themes that will be removed from Drupal 10 core by 9.2.0-beta1
xjm’s picture

Issue summary: View changes
catch’s picture

Issue summary: View changes
Status: Postponed » Active

Now that 9.0.0 is released, it's definitely time to unpostpone this.

catch’s picture

Issue summary: View changes
catch’s picture

Issue summary: View changes
catch’s picture

Issue summary: View changes
andypost’s picture

We need a common way to deprecate plugins and migrations like #3039240: Create a way to declare a plugin as deprecated

xjm’s picture

Issue summary: View changes
catch’s picture

Issue summary: View changes
andypost’s picture

Issue tags: +@deprecated
gábor hojtsy’s picture

Issue tags: +Drupal 10

Tagging so people find this issue alongside the other ones being done in Drupal 9 for Drupal 10.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes

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

mondrake’s picture

#22???? No idea what happened 😳

Sorry. Maybe just pressed a button by mistake on my phone.

xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes

I incorporated the unlisted outstanding issues from #3080837: [meta] PHP (and JS) dependencies to consider decoupling or removing in the summary since that issue was mostly about D9, and the remaining issues duplicated the list here.

xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
aaronmchale’s picture

Issue summary: View changes

The term "are made uninstallable" is ambiguous and could lead to confusion, swapped out for "cannot be installed".

nod_’s picture

Issue tags: +JavaScript

adding to the JS queue

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

gábor hojtsy’s picture

Issue summary: View changes

Adding the forum module removal policy issue. Are we still considering 9.2.0-beta1 as in the title as a general deadline? Then removing aggregator, forum, HAL, etc does not really have a chance anymore.

gábor hojtsy’s picture

Issue summary: View changes

Removing issues that landed already.

catch’s picture

Issue summary: View changes
xjm’s picture

Title: [meta] Deprecate dependencies, libraries, modules, and themes that will be removed from Drupal 10 core by 9.2.0-beta1 » [meta] Deprecate dependencies, libraries, modules, and themes that will be removed from Drupal 10 core by 9.3.0-beta1
Issue summary: View changes
kim.pepper’s picture

Issue tags: +#pnx-sprint
xjm’s picture

xjm’s picture

Issue summary: View changes
catch’s picture

Title: [meta] Deprecate dependencies, libraries, modules, and themes that will be removed from Drupal 10 core by 9.3.0-beta1 » [meta] Deprecate dependencies, libraries, modules, and themes that will be removed from Drupal 10 core by 9.4.0-beta1
catch’s picture

Issue summary: View changes
catch’s picture

Issue summary: View changes
catch’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes

Also should remove Migrate Drupal Multilingual

That is being done in Drupal 10.
Sorry for the noise.

quietone’s picture

Issue summary: View changes

And revert change to IS.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
catch’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes

Updating the theme section based on the latest consensus with @lauriii (Stable 9 is retained, no Stable 10 since it is not different enough to justify the work).

Also I cannot believe #3228986: [Meta] Tasks to deprecate Quick Edit was not listed.

larowlan’s picture

Issue summary: View changes

Added tracker to 'still under discussion'

catch’s picture

Issue summary: View changes
larowlan’s picture

Issue summary: View changes
larowlan’s picture

Issue summary: View changes

Added issues for forum

larowlan’s picture

Added a handbook page for linking the lifecycle links to https://www.drupal.org/docs/core-modules-and-themes/deprecated-modules-a...

longwave’s picture

Opened #3261957: Properly deprecate migrate_drupal_multilingual for future removal as migrate_drupal_multilingual is set to lifecycle: experimental and hidden: true, but it is obsolete and should be removed in Drupal 10.

kostyashupenko’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes

Adding #3264607: [policy, no patch] How to ensure migrations continue to work when modules are moved to contrib which needs to be addressed when a module is moved to contrib (which in turn typically needs to happen before the core module can be marked deprecated).

xjm’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes

Some formatting

quietone’s picture

Issue summary: View changes

Fix typos in formatting

quietone’s picture

Issue summary: View changes

And again. sorry for the noise.

griffynh’s picture

Issue summary: View changes
griffynh’s picture

Updated Modules list

quietone’s picture

Issue summary: View changes

Update modules section. Moved aggregator to the top of the list, moved several to 'under discussion' because the policy issue is Active. Added a Meta to tracker to test drive the steps in Remove a core module and move it to a contributed project.

quietone’s picture

Issue summary: View changes

Update quickedit

quietone’s picture

Issue summary: View changes

Update aggregator

quietone’s picture

Issue summary: View changes

Update forum

quietone’s picture

Issue summary: View changes

Moved RDF since it is now longer under discussion and added tracking Meta.

quietone’s picture

Issue summary: View changes

Fix link to RDF tracking issue.

xjm’s picture

Issue summary: View changes

Added Color deprecation policy discussion.

xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes

Clarifying which issues are must- and should-haves (for which we might delay the release). The remainder are nice-to-haves or ongoing efforts that may continue into 10.1.x development for D11.

xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes

Add implementation Meta for Color.

damienmckenna’s picture

Issue summary: View changes

Noted that #3239980 is blocked by #3101922.

quietone’s picture

Update IS after separating the process for removing a module from core into a task for the deprecation in 9.4.x and a task for the removal in 10.0.x

xjm’s picture

Issue summary: View changes
catch’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes

Expand Seven and Bartik with new Metas.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

gábor hojtsy’s picture

Drupal 9.4.0 beta is out now: https://www.drupal.org/project/drupal/releases/9.4.0-beta1 -- Should we close this in favor of a limited META for only the things allowed in 9.5.0, which is much more limited?

catch’s picture

Some of these already have their own issues.

Javascript: #3238507: Drupal 10 JavaScript dependency plan

Modules: #3213858: [META] Remove deprecated modules and themes from the Drupal 10 branch

Both of these include must haves and should haves though, so not necessarily easy to tick off as done.

Everything else on the list that's not resolved yet is as far as I know should-have at this point.

So maybe a new issue with must have + high priority should have module/theme/library deprecations flattened out at the top level + API-ish should-haves from here, then link to the module/javascript metas for the other should/could haves?

gábor hojtsy’s picture

That sounds good. We can also repurpose this issue. I was just concerned that the look of using this issue as-is for 9.5 would make it look like more things are allowed to be deprecated than it is.

quietone’s picture

Version: 9.5.x-dev » 9.4.x-dev

Because of my experience triaging issue with the Bug Smash Initiative I prefer to close an issue instead of re-purposing it. It is cleaner to close and issue and open a new one, referencing the earlier one as needed.

Therefor, I am restoring this to 9.4, closing this and opening a new one based on #95 and #96.

The next issue is #3296094: [meta] Deprecate modules and themes that will be removed from Drupal 10 core by 9.5.0-beta1

quietone’s picture

Status: Active » Fixed

And actually close it!

Status: Fixed » Closed (fixed)

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