What is new in Drupal 12

Releases

According to its release notes, Drupal 12.0 is nearly identical to Drupal 11.5. The difference is what has been taken away: code that was deprecated during Drupal 11 is removed, whole modules leave core, and the libraries underneath move to new major versions. This overview is based on the release notes for 12.0.0-beta1 and 12.0.0-rc1 and the change records on drupal.org.

New foundations

  • PHP 8.5 is required. See Drupal 12 system requirements.
  • Symfony 8. The release candidate ships Symfony 8.2 (8.2.0-RC1 in core's own lock file). Tools that only allow Symfony 6 or 7 cannot be installed next to Drupal 12 – Drush 13 is the best-known example.
  • New major versions on the front end: jQuery 4.1, CKEditor 5 version 49 (with some styling changes in the editor) and HTMX 4.0. Backbone and Underscore are gone from core.
  • Other dependencies: Guzzle 8, Twig 3.31 and PHPUnit 12.5 for tests.
  • Passwords: argon2id becomes the default password hash, so PHP needs Argon2 support. bcrypt can be turned back on if you need it.

Modules and themes that leave core

These modules are removed from core in Drupal 12. Most of them continue as contributed projects:

  • Ban, Contact, Field Layout, History, Search, Settings Tray, Shortcut, Telephone and Toolbar – moved to contrib.
  • Navigation Top Bar and Single Directory Components (the separate sdc module) – removed.
  • Migrate Drupal and Migrate Drupal UI, the tools for migrating from Drupal 7 – removed and not moved to contrib. The Migrate API itself stays in core.

The themes Claro, Olivero and Stable 9 are removed as well. The new Default Admin theme is stable and takes Claro's place; in the release candidate the standard installation uses it both for the admin pages and as the default theme.

If your site uses one of the removed modules, do not uninstall it to get past the upgrade – that deletes its configuration and data. Require the contributed version while the site is still on Drupal 11, then upgrade. (Forum, Book, Tracker and Statistics are not on this list: they already left core in Drupal 11.0.)

Changes you will notice when you build

  • "Text (formatted, long, with summary)" is gone. The field type was moved into a deprecated module in 11.5 and is removed from core in 12; it continues as a contributed module. Sites that use it should update to 11.5, run the database updates and add the contributed module before moving to 12.
  • No Article and Basic page out of the box. Since Drupal 11.4 the Standard profile does not create these content types, and Drupal 12 has no core recipes for them. You create your own.
  • The front page view is now "Promoted content". Since 11.5 the old frontpage view is renamed and disabled by default, and "Promoted to front page" is simply called "Promoted".
  • Hooks: Drupal no longer collects legacy procedural hooks from files other than the main extension file, and the .module, .theme and .profile files themselves were deprecated in 11.5 in favour of hook classes.
  • Core releases no longer include tests, which makes the download smaller.

Something new: an experimental mailer

Core has a new mailer module, marked experimental, that provides an API to build and deliver email messages. Experimental means it can change before it is declared stable, so do not build on it for production sites yet.

What it means in practice

For a site that keeps its modules up to date and has no deprecated code, the upgrade is mostly about Composer. The work is in three places: the removed modules you still use, contributed modules that have not yet declared Drupal 12 support, and custom code that still calls deprecated APIs. Our guide How to upgrade from Drupal 11 to Drupal 12 goes through it step by step, and What we ran into building this site on Drupal 12 shows several of these changes in practice.