Install

To start a new Drupal project with version 9.4.0-beta1@beta:

To update your site and all dependencies to the latest version of Drupal:

To update your site to this specific release:
Pinning to a specific release may make it more challenging to update your site in future, see composer documentation for managing pinned versions

Using Composer to manage Drupal site dependencies

Downloads

Download drupal-9.4.0-beta1.tar.gztar.gz 20.49 MB
MD5: e7cb5cec3f11e7a227e5bb7c331b3fcb
SHA-1: 2c5ad74eba01acdaf5d551dce106db2d734d1776
SHA-256: 0ab51e8b1dc6b06046ce199ee3482009fae49ea76d03b115e354202250264d36
Download drupal-9.4.0-beta1.zipzip 33.17 MB
MD5: 89395266b24770a365bf9c4bf8057da9
SHA-1: 4f9a5fdbebaca9cde05612819f4f5c44ff10f15e
SHA-256: 1a4cffec615a466276dcf0ec8aeac53b477f857364e263b578611a8bf98114ee

Release notes

This is a beta release for the next minor (feature) release 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 release fixes security vulnerabilities. Sites are urged to update immediately after reading the notes below and the security announcements:

This minor release provides new improvements and functionality without breaking backward compatibility (BC) for public APIs. Note that 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.4.x contains new features, and should be the target for new site development. Drupal 9.3.x will continue to have security support until December 2022. Security support for 9.2.x ends with the release of 9.4.0 on June 15, 2022.

Important changes since Drupal 9.4.0-alpha1

Backend dependencies

  • Sites are able to install Guzzle 7 due to a widening of Drupal core's composer constraints. This allows for more complete PHP 8.1 support. Contributed modules should continue to provide Guzzle 6 support since both the drupal/core-recommended package and core tarballs continue to provide Guzzle 6.

    Site owners who do not use drupal/core-recommended should take care to ensure they do not accidentally update to Guzzle 7 when running composer updates. In the latest snapshot channel of Composer, it is possible to use:

    composer update --with=guzzlehttp/guzzle:^6 -W
    

    You can update to the snapshot channel by re-running composer self-update after updating to the current stable release (2.3.5). You can roll back to a stable version at any time by using composer self-update --rollback.

    In current stable releases of Composer, a workaround is to temporarily add a top-level requirement on the exact version of Guzzle you which to install, e.g.:

    composer require guzzlehttp/guzzle:6.5.6
    composer update
    

    ...and then remove the specific guzzle requirement from the top-level composer.json for your project.

  • 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.

  • The following packages have received minor-level updates since alpha1:

    • egulias/email-validator, from 3.1.2 to 3.2.
    • laminas/laminas-diactoros, from 2.10.0 to 2.11.0.
    • twig/twig, from 2.14.13 to 2.15.1.

Frontend dependencies

  • CKEditor 5 has been updated from 34.0.0 to 34.1.0, which fixes several bugs affecting Drupal core.

Additionally:

For all three of these updates, according to the projects' release notes, there should be no breaking changes that affect our usage.

Development dependencies

  • Coder has been updated to 8.3.15. This version will automatically set up Drupal coding standards sniffs in PHP_CodeSniffer thanks to a new dependency on dealerdirect/phpcodesniffer-composer-installer.

All changes since 9.4.0-alpha1

What’s next?

  1. Learn how to install Drupal
  2. Learn how to update Drupal
  3. Extend Drupal to do more
  4. Get training
  5. Check out what others built
Created by: xjm
Created on: 30 May 2022 at 19:07 UTC
Last updated: 9 Jun 2022 at 19:09 UTC
Bug fixes
New features
Insecure

Other releases