Drupal 11 is now available
Drupal 11 was planned for the week of July 29th; it has finally been publicly released on August 5th, 2024. This was announced by the official Drupal account on X (Twitter).
The new version of Drupal brings with it 3 premises worth highlighting:
- Easier to use tools.
- Easier updates.
- Innovative new features that will keep you supported and secure throughout Drupal 11.
You may be asking yourself a lot of questions about this release right now... Let's try to answer the most relevant questions regarding the new version of Drupal.
How do I download Drupal 11?
This one is easy! If you're starting a new project , you can start Drupal from this version with:
composer create-project drupal/recommended-project:11.0.0 "install-dir"
If you want to update , you can use:
composer update "drupal/core-*" --with-all-dependencies
What are the major changes in Drupal 11.0.0?
For version 11.0.0 there are 3 key changes:
- Deprecated code, including entire modules and themes, has been removed.
- Dependencies have been updated to new major versions as appropriate.
- Platform requirements have been updated (including supported PHP and database versions, Composer requirements, and supported browsers).
In addition, there are also other changes to note:
- The "Add New Module", "Add New Theme", and "Add New Module or Theme" admin pages have been removed. The intent behind this is to force users to use Composer.
- Several core modules have been removed from core and moved to contributed projects. In most cases, the removed modules should have little to no impact on your website.
- PHP Backend dependencies have been added and updated. This includes updating Symfony, PHPUnit, Twig...
- Frontend dependencies (CSS and JavaScript) have been added and updated. This includes updating jQuery, CKEditor...
You can check all the changes here.
How can I upgrade to Drupal 11?
It depends on the version you currently have on your project. It is recommended that you upgrade to Drupal 11 from version 10.3.2 (the latest version of Drupal 10).
Both 11.0.0 and 10.3.2 (the latest version of Drupal 10) include all the latest improvements and have the same public APIs and functionality, with a few special cases. This also means that modules and themes can be compatible with both Drupal 10 and 11 at the same time.
So, to upgrade your project, you should first plan to upgrade to 10.3 or higher, and from there, upgrading to Drupal 11 should be a breeze. In general, sites should update core modules and contributed modules to the most recent versions available for their current major release.
Should I update my PHP version?
Drupal 11 requires PHP 8.3 with the zlib extension enabled. Most systems will already have this extension enabled by default.
Should the Database be updated?
The requirements for Drupal 11 compatible database drivers are:
- The MySQL database driver requires MySQL 8.0 .
The MariaDB database driver requires MariaDB 10.6 .
The PostgreSQL database driver requires PostgreSQL 16 .
The SQLite database driver requires SQLite 3.45 with the json1 extension.
Have the Web Server requirements changed?
One important thing to note at this point is that IIS support has been removed. Sites using IIS are encouraged to switch to a supported web server. You can learn more here.
Are there any currently known issues in Drupal 11?
Yes. The most relevant issue is PHP 8.4 compatibility with Drupal 10 and 11, which is still under development. Version 11.1 (or possibly a patch release of version 11.0) will provide full compatibility with PHP 8.4. You can check all known issues here .
And you, are you ready to upgrade to Drupal 11 ?