Drupal 11 deep dive: what's new, how to prepare
May 7, 2024

Gábor Hojtsy

Slides are open source

(CC BY-NC-SA 2.5)

Created by @gaborhojtsy at @acquia

Review links, check out speaker notes and present your own from slides.com/gaborhojtsy/drupal-11-deep-dive-may-7-2024

Gábor Hojtsy

Acquia

Full Stack Community Organizer,
Drupal contributor since 2003, committer since 2007.

 

Contact me at @gaborhojtsy

You!

- New to Drupal?

- Drupal 10?

- Drupal 9?

- Drupal 8?

- Drupal 7?

- Earlier Drupal?

 

1. Why Drupal 11
2. What's included
3. Tools

But Starshot!

Drupal core

Automatic updates /
Package manager

Project browser

Recipes capabiilty

CMS recipes (new baseline)

Add-on recipes

Starshot

Starshot capable Drupal core

CMS recipes (new baseline)

Add-on recipes

Some Starshot features will become core, some will remain in recipes

Starshot will possibly be released based on Drupal 11

Drupal 11 is "early" so that you can upgrade later

Drupal 10 will be supported until mid-late 2026!

Overlapping support

Drupal 10.0
Released:
Dec 2022

Drupal 11.0
Released:
week of July 29

Drupal 12.0
Released:
mid-late 2026

Drupal
10.4 LTS

late 2024

Drupal
11.4 LTS

mid 2026

EOL mid-late 2026

EOL mid-late 2028

For that to work out, we need Drupal 11 in 2024

Timelines

When is Drupal 11 released?

Alpha1 May 3, 2024.
Expected beta1 Week of May 13, 2024.
RC1 Week of July 1, 2024.
11.0.0 Week of July 29, 2024.
2024 2025 2026 2027 2028
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Q1 Q2 Q3 Q4
11.5 11.6
11.0 11.1 11.2 11.3 11.4
12.0 12.1 12.2 12.3 12.4
12.5
13.0 13.1
10.3 10.4 10.5

⭐️LTS

⭐️LTS

⭐️LTS

⭐️LTS

⭐️LTS

⭐️LTS

Drupal 7 EOL, January 5, 2025!

⭐️LTS

Drupal 7 (core) migrations
to Drupal 11 will
still be provided!

What's in Drupal 11?

Same features as in Drupal 10.3,

with the deprecated parts removed,

system requirement updates made

Drupal core improvements

  • CKEditor Autoformat
  • Single Directory Components
  • Decoupled menus with Linkset
  • Field UI revamp
  • Floating bulk operations
  • Easier block management
  • BigPipe interface previews
  • Performance improvements
  • Project announcements

 

Done by 10.2

Done by 10.3/11.0

11.1 or later

Project Browser
Automatic Updates
Experience Builder
Recipes improvements

  • New experimental
    navigation module
  • Experimental recipes APIs!
  • Workspaces is stable!
  • New access policy API
  • Taxonomy term revisions and moderation support

Starshot

System requirements

MySQL/Percona 8
MariaDB 10.6

SQLite 3.45

PostgreSQL 16

PHP 8.3
Composer 2.7.0

PHP 8.3 is faster!

PHP 8.1

922 req/s

PHP 8.2

941 req/s

PHP 8.3

1432 req/s

Drupal 10.1 tested - Higher is better

https://kinsta.com/blog/php-benchmarks/

PHP 8.2

941 req/s

PHP 8.2

941 req/s

😍

Dependencies updated

Symfony 7
jQuery 4
PHPUnit 10

Getting smaller again

Actions UI
Book
Tracker
Forum
Statistics
Tour

Upgrade tools

Upgrade Status

drupal-rector

Project Update Bot now does MRs

6610
issues opened

 

407
fixed/closed (fixed)

Drupal 10.3.0 defined all deprecated APIs!

*Other than whole modules being deprecated

1. Update to PHP 8.3 now and Drupal 10.3 (when available)

2. Start updating projects to Drupal 11 compatibility

dev.acquia.com/drupal11

15% of projects are in some form of compatibility

Bot can fix
70%+ of issues

What happens to modules that don't get updated?

Project Update Working Group

https://www.drupal.org/project/puwg

Norah Medlin (tekNorah) (provisional)

Vladimir Roudakov (vladimiraus)

Sven Decabooter (svendecabooter)

Naveen Valecha (naveenvalecha)

Kristen Pol (Kristen Pol)

Matt Glaman (mglaman)

Darren Oh (Darren Oh)

Mark Casias (markie)

Kim Pepper (kim.pepper)

Björn Brala (bbrala)

Lucas Hedding (heddn)

Pedro Cambra (pcambra)

Allan Chappell (generalredneck)

Jakob Perry (japerry)

Timo Huisman (Timo Huisman) (provisional)

Composer plugins for incompatible projects

Get incompatible projects with
https://packagist.org/packages/mglaman/composer-drupal-lenient

 

Apply fixes locally with

https://packagist.org/packages/cweagans/composer-patches

Drupal 12 will be even easier!

Add globally as a template option:
https://www.drupal.org/project/gitlab_templates/issues/3444789

Sample custom implementation: https://www.drupal.org/project/upgrade_rector/issues/3443986

Summary

Drupal 11.0.0: week of July 29

1. Make your code PHP 8.3 compatible now!

2. Drupal 10.3 defined all the deprecations,
so start using Upgrade Status and drupal-rector now!

Drupal 11 meetings
every other Monday in #d11readiness

Drupal 11 deep dive: what's new, how to prepare. May 7, 2024 edition (for DrupalCon Portland 2024)

By Gábor Hojtsy

Drupal 11 deep dive: what's new, how to prepare. May 7, 2024 edition (for DrupalCon Portland 2024)

Drupal 11 deep dive: what's new, how to prepare. May 7, 2024 edition (for DrupalCon Portland 2024)

  • 1,315