Install
To start a new Drupal project with version 9.5.0-beta1@beta:To update your site and all dependencies to the latest version of Drupal:
To update your site to this specific release:
Using Composer to manage Drupal site dependencies
Downloads
Release notes
This is a beta release for the final scheduled minor version of Drupal 9. Betas are good testing targets for developers and site builders who are comfortable reporting (and where possible, fixing) their own bugs. Beta releases are not recommended for non-technical users, nor for production websites. More information on beta releases.
This minor release provides new improvements without breaking backward compatibility (BC) for public APIs. There may be changes in internal APIs and experimental modules that require updates to contributed and custom modules and themes per Drupal core's backwards compatibility and experimental module policies.
Drupal 9.5 is the final minor release of the 9.x series. It will be supported until November 2023. It also provides the same public API as Drupal 10.0 aside from deprecated code. For more information on the upcoming Drupal 10 release, read the Drupal 10.0.0-beta1 release notes.
Important update information
Changes to site-owner-managed files
-
It is no longer necessary or recommended to configure fast 404s in
settings.php. -
Drupal\Component\Assertion\Handlewill be deprecated in a future release. For this reason,example.settings.local.phphas been updated to change the default assertion handling from:assert_options(ASSERT_ACTIVE, TRUE); \Drupal\Component\Assertion\Handle::register();
to:assert_options(ASSERT_ACTIVE, TRUE); assert_options(ASSERT_EXCEPTION, TRUE);Site owners using
settings.local.phpfor development sites may wish to update their workflow with this change.
Platform requirements changes
-
PHP versions 8.1.0-8.1.5 have a bug with the PHP OPcache that may cause intermittent fatal errors at runtime for class autoloading. Therefore, the minimum recommended PHP version for Drupal 9.5 and above has been increased to 8.1.6.
Other changes
-
To prepare for the removal of the CKEditor 4 module from core, CKEditor's Media integrations have been moved out of the Media module, into the CKEditor module. This changes the locations of several asset libraries, so modules that integrate with CKEditor and Media may need to update their library definitions.
-
The "Available updates" report (at
/admin/reports/updates) no longer includes direct links to download.tar.gzrelease files. Sites should use Composer to manage releases and dependencies, not direct "tarball" downloads like these. -
The installer has been redesigned according to the new Drupal Design System. The redesigned installer theme is provided by Claro.
-
Drupal 9.4.4 removed the 'replace' section from core's
composer.jsonfor core modules. However, the 'replace' information for core components was accidentally removed at the same time, which resulted in Composer warnings. The 'replace' information for core components has been restored, which should resolve these warnings. -
The Classy theme has been deprecated in Drupal 9.5.0 and will be available as a contributed module for 10.0.0, the change record has recommendations for both new and existing projects.
-
The Quick Edit module has been deprecated in Drupal 9.5 and will be removed from Drupal 10.0. The module can be uninstalled safely without any impact on site data, and uninstalling it will result in very limited changes to the user interface for content authors.
Many Drupal site users do not use Quick Edit because it has a variety of user experience issues, so consider whether simply uninstalling Quick Edit might be the best choice for your site.
If you wish to continue using Quick Edit, you can add a dependency on the contributed Quick Edit module in order to continue using on Drupal 10.x.
-
The RSS feed block title now reflects the block title as configured, instead of being hard-coded to the site name.
Backend (PHP) dependency changes
-
Drupal core's pinned Composer dependency versions have been updated for the latest minor and patch releases.
Additionally, Drupal core’s composer constraints have been increased to require the latest minor version for forward compatibility. This ensures that if any composer package that Drupal core depends upon has a security release, the Drupal core security update will be non-disruptive, because if possible no minor version increase will occur for the affected dependency, only a patch version increase.
-
egulias/email-validator has received a major-version update to 3.2.1 (from version 2, which is end-of-life).
Frontend (CSS and JavaScript) dependency changes
-
Drupal core was updated to use CKEditor 5 version 35.1.0.
-
The
core/jquery.farbtasticlibrary has been deprecated.
The Color module relies on the Farbtastic library, and that module is deprecated in Drupal 9.5 and removed in Drupal 10. We don't otherwise use this library in core, so we deprecate it in Drupal 9.5.0 for removal in Drupal 10.0.0. -
PopperJS and the associated core library have been deprecated. It has also been updated from version 2.11.5 to 2.11.6.
-
tabbable has been updated from 5.2.2 to 5.2.3.
-
jQuery has been updated from 3.6.0 to 3.6.1.
-
The public Drupal library for Underscore has been deprecated. The internal version has been updated from 1.13.3 to 1.13.4
-
cspell has been updated from version 5 to 6. This results in some slight changes to the dictionary for core development.
-
Drupal core's JavaScript development dependencies have been updated to the latest minor and patch versions. Core developers should completely remove their
node_modulesdirectory and re-runyarn installfrom within thecore/directory.
Known issues
Search the issue queue for known issues.
- #3310271: Container serialization must handle string services in 9.x
- #3312198: Regression concerning the cache of private files
Search the issue queue for known issues.