Drupal Release: 9.4.2
Tag Name: 9.4.2
Release Date: 7/7/2022
DrupalHighly flexible, open-source content management system known for complex, scalable web applications. Preferred by government, educational, and large enterprise websites requiring advanced customization and security features. Robust module ecosystem.
TL;DR
Drupal 9.4.2: Bug Fixes and Improvements
This minor release of Drupal 9.4.x includes several important bug fixes and improvements across various components. Key updates include fixes for installer tests, layout builder integration with Quick Edit, migration functionality, accessibility improvements in Olivero theme, and various performance optimizations. This release also addresses issues with serialization of decorated services and improves Composer compatibility.
Highlight of the Release
- Fixed accessibility issues in Olivero theme's Views Mini Pager
- Resolved serialization issues with decorated services
- Improved Composer compatibility with version 2.2
- Fixed profile paths not updating when moved to other directories
- Optimized database queries in Views title handling
Migration Guide
No specific migration steps are required for this update. This is a minor release containing bug fixes and improvements that should not affect site functionality or require configuration changes.
To update to Drupal 9.4.2:
- Back up your database and site files
- Update using Composer:
composer update drupal/core 'drupal/core-*' --with-all-dependencies - Run database updates:
drush updatedb - Clear caches:
drush cache:rebuild
Upgrade Recommendations
This is a minor release containing bug fixes and improvements. It is recommended for all sites running Drupal 9.4.x to upgrade to this version to benefit from the fixes and improvements.
The update process should be straightforward and low-risk, but as always, it's recommended to:
- Test the update on a staging environment before applying to production
- Perform a full backup of your site and database before updating
- Review the change log for any specific items that might affect your site's custom code
For sites on earlier versions of Drupal 9, consider planning an upgrade path to Drupal 9.4.x to benefit from these improvements.
Bug Fixes
-
Installer Tests: Fixed
\Drupal\FunctionalTests\Installer\InstallerTestBasetests to not test drupal.org. -
Layout Builder & Quick Edit: Removed
\Drupal\layout_builder\QuickEditIntegrationand refactored it so that quickedit contrib provides the integration with layout builder. Updated deprecation error from 9.5.0 to 9.4.2. -
Migration: Fixed Migrate's
DownloadFunctionalTest::testExceptionThrow()which was failing on guzzlehttp/psr7 2.3.0. -
JavaScript Resources: Restored missing backbone-min.js.map file.
-
Olivero Theme Accessibility:
- Fixed Views Mini Pager's next button incorrectly labeled "Previous" for screen readers.
- Fixed "Create content" link within Olivero's "Getting started" page to properly account for base directory.
-
Profile Management: Fixed issue where profile paths were not updated after moving them to other directories.
-
Migration: Added handling for NULL values for max_filesize_per_file in d6\FieldInstanceSettings::convertSizeUnit.
-
Composer: Fixed duplicate if statement in
\Drupal\Core\Composer\Composer::preAutoloadDump. -
Database: Fixed PSR4 path for database driver.
-
Serialization: Fixed issue where decorated services would crash on serialization.
-
Configuration: Fixed PHP Notice logged when switching "Configuration type" in single configuration export screen.
-
CKEditor 5: Fixed incorrect ckeditor5.plugin.media_media schema label.
New Features
No significant new features were added in this minor release. This update primarily focuses on bug fixes, performance improvements, and compatibility enhancements.
Security Updates
No specific security fixes were included in this release. However, keeping your Drupal installation up to date with the latest minor version is always recommended as a security best practice.
Performance Improvements
-
Views Module: Removed direct use of the _serviceId property in views.module, improving code quality and potentially performance.
-
Database Queries: Optimized slow query in titleQuery Vid.php, which should improve performance in Views with title fields.
-
Testing: Refactored ToolkitGdTest for better performance and maintainability.
-
Code Optimization: Various code improvements and optimizations throughout the codebase, including removal of duplicate code and better error handling.
Impact Summary
Drupal 9.4.2 is a maintenance release that addresses several important bugs and makes targeted improvements across the platform. The most notable impacts include:
-
Improved accessibility in the Olivero theme, particularly for screen readers using the Views Mini Pager.
-
Better developer experience with fixes for serialization issues with decorated services, improved PSR4 path handling, and cleaner code in several components.
-
Enhanced site administration by fixing issues with profile paths, configuration export, and Composer compatibility.
-
Performance optimizations in database queries and Views handling.
This release demonstrates Drupal's commitment to accessibility, code quality, and developer experience. While it doesn't introduce new features, it strengthens the foundation of Drupal 9.4.x with important bug fixes and refinements that improve the overall stability and usability of the platform.
Statistics:
User Affected:
- Fixed issue with profile paths not updating when moved to other directories
- Improved single configuration export screen to prevent PHP notices
- Better Composer compatibility with version 2.2
