Install
To start a new Drupal project with version 9.5.1: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 patch (bugfix) release of Drupal 9 and is ready for use on production sites. Learn more about Drupal 9. Drupal 10.0.1 is also available.
Drupal 9.5.x will receive security coverage until November 2023.
If you are upgrading from Drupal 8, read upgrading a Drupal 8 site to Drupal 9, 9.0.0 release notes, and the 9.5.0 release notes before upgrading to this release.
Important changes since 9.5.0
-
Twig 2.15.4 has been released with improvements to PHP 8 compatibility. Drupal core and the
drupal/core-recommended
metapackage have been updated to use this version of Twig. -
On some sites, a change to container serialization had a significant performance impact in Drupal 9.5.0. This has been resolved in Drupal 9.5.1.
All changes since 9.5.0
- Issue #3254446 by catch: Log the exception rather than aborting the update if a configuration item does not exist in system_post_update_sort_all_config()
- Issue #3307310 by Spokje: Restructure core/modules/editor/tests/modules test modules
- Issue #3322784 by mondrake, longwave, Spokje: TestCase::getMockClass() is deprecated in PHPUnit 9.6 and removed from PHPUnit 10
- Issue #3326787 by Akhil Babu, joachim: loadByProperties() shoud specify it does no access checking
- Issue #3330465 by Spokje: Update Twig to 2.15.4
- Issue #3107500 by joachim, quietone, longwave, apaderno: EntityTypeInterface::getGroup() doesn't explain what the group is
- Issue #3307227 by immaculatexavier, Niklan: OWASP link for useful HTTP headers is outdated
- Issue #3324838 by Spokje: Fix PHPStan L2 error "PHPDoc tag @throws with type Foo is not subtype of Throwable"
- Issue #3272275 by eelkeblok, smustgrave, xjm, ravi.shankar, quietone, sergiogsanchez: Decide what to say very early in the installer if the site is below the absolute minimum
- Issue #3260652 by rpayanm, lind101, bserem, davisben, ravi.shankar, Peleccotur, neverstopscrolling, znerol, cilefen, xjm, alexpott, smustgrave, Problue Solutions: Feature "Remember the last selection" for views exposed filters doesn't work anymore
- Issue #3328497 by DanielVeza, larowlan, longwave, quietone: Stop unneeded cycles in ActionListBuilder::load
- Issue #2939442 by Lendude, jidrone, joachim, Akhil Babu, Kristen Pol, larowlan: Views 'Entity Operations' field crashes if on a non-required relationship
- Issue #3180227 by danflanagan8, robertom, xjm, Lendude, quietone: Notice: Trying to access array offset on value of type null in Drupal\views\Plugin\views\display\EntityReference->query()
- Issue #3327856 by alexpott, catch, zcht, longwave, znerol, Berdir, BramDriesen, Spokje, callen321, andypost, neclimdul, acbramley, mstrelan: Performance regression introduced by container serialization solution
- Issue #3328476 by lauriii, longwave: Update JQuery to 3.6.3
- Issue #3328542 by longwave, alexpott: Invalid package.json in htaccess test fixtures
- Issue #3325184 by Spokje, andypost, xjm, smustgrave: [9.5.x backport] $this->configFactory is not set properly in the constructor of \Drupal\system\Form\CronForm
- Revert "Issue #3327853 by Spokje, bbrala, longwave: Don't allow {@inheritDoc} annotation in PHPDocBlocks"
- Issue #3327853 by Spokje, bbrala, longwave: Don't allow {@inheritDoc} annotation in PHPDocBlocks
- Issue #3327950 by xjm, longwave: Remove last remaining list() from core
- Issue #3325857 by longwave: Remove dead code from Container::reset()
- Issue #3295658 by quietone, smustgrave, alexpott, tstoeckler, vijaycs85: Improve documentation and parameter naming for DateFormatter::dateFormat()
- Issue #3246152 by alexpott, smustgrave, vijaycs85: \Drupal\FunctionalJavascriptTests\JSWebAssert::waitForHelper() should retry on more exceptions
- Issue #3325823 by andy-blum, mherchel, ckrina: Add andy-blum as an official maintainer of Olivero
- Issue #3327244 by alexpott, vijaycs85, Wim Leers: Regression: Testing non Drupal pages with WebdriverTestBase on 9.5 can be broken
- Issue #3324256 by smustgrave: Add smustgrave as maintainer of telephone + text module