Drupal Release: 11.0.2
Tag Name: 11.0.2
Release Date: 9/5/2024
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 11.0.2 is a maintenance release that focuses primarily on test improvements, performance optimizations, and bug fixes. This update addresses several critical issues including a BigPipe form redirect bug, UUID generation problems, and JavaScript performance issues. The release significantly improves test execution speed and fixes various PHP strict typing errors, making the codebase more robust and efficient. While mostly focused on developer-facing improvements, some user-facing fixes like machine name field auto-creation and permissions page performance are included.
Highlight of the Release
- Fixed BigPipe handling of form redirects that previously caused EnforcedResponseException errors
- Significantly improved performance of the user permissions page administration interface
- Fixed automatic creation of machine name fields that was previously broken
- Corrected PECL UUID implementation that could return invalid UUIDs
- Optimized JavaScript file handling in AJAX responses
Migration Guide
Drupal 11.0.2 is a maintenance release with bug fixes and performance improvements. There are no breaking changes that require migration steps.
If you're upgrading from 11.0.1 to 11.0.2, a standard update process should be followed:
- Back up your database and code
- Put the site into maintenance mode
- Update the codebase to 11.0.2
- Run the database update script (visit /update.php or use Drush)
- Take the site out of maintenance mode
No special migration steps are required for this release.
Upgrade Recommendations
It is recommended to upgrade to Drupal 11.0.2 as soon as possible, especially if you are experiencing any of the specific issues fixed in this release, such as:
- Problems with BigPipe form redirects
- Issues with machine name field auto-creation
- Performance problems on the permissions administration page
- Invalid UUIDs being generated
This is a maintenance release with important bug fixes and performance improvements, but no security fixes or breaking changes. The upgrade process should be straightforward with minimal risk.
For sites already running Drupal 11.0.1, this upgrade is low-risk and recommended for all users to ensure optimal performance and functionality.
Bug Fixes
- BigPipe Form Handling: Fixed issue where BigPipe could not handle GET form redirects, which was causing EnforcedResponseException errors (Issue #3304746).
- UUID Generation: Corrected the PECL UUID implementation that could return invalid UUIDs in certain circumstances (Issue #2613926).
- DatabaseStorage: Fixed an error thrown by readMultiple when receiving an empty array (Issue #3416525).
- Machine Name Field: Fixed broken auto-creation of machine name fields (Issue #3428652).
- APCu Requirements: Corrected APCu requirement checking that was checking the wrong value for 32M requirement (Issue #3466399).
- JavaScript Optimization: Fixed issue where JavaScript files added by AJAX responses were only optimized in maintenance mode (Issue #3452672).
- Attribute Class: Fixed Drupal\Core\Template\Attribute to support adding attributes with array syntax if attribute name is not already initialized (Issue #3334045).
- Views Content Language: Fixed views content language field default configuration to use field_language plugin (Issue #3459496).
New Features
This release is primarily focused on bug fixes and performance improvements rather than new features. However, there are some enhancements to existing functionality:
- Improved Test Output: Added test run time by class in run-tests.sh output, making it easier to identify slow tests.
- Standard Responsive Images Recipe: Updated to have the correct Responsive image recipe type.
- Better API Documentation: Enhanced documentation for various interfaces and methods, including AttachmentsInterface, FieldHandlerInterface, and more.
Security Updates
This release does not contain any security fixes. For the latest security information about Drupal core, please visit the Drupal security page.
Performance Improvements
- User Permissions Page: Significantly improved performance of the user.permissions.js script running in /admin/people/permissions, making the page much more responsive especially with many roles and permissions (Issue #3464530).
- Test Execution Speed: Multiple improvements to test execution speed:
- Reduced CPU requirements and concurrency for unit tests (Issue #3467391)
- Reduced concurrency for build tests (Issue #3468832)
- Reduced CPU request for Nightwatch job (Issue #3469070)
- Optimized various test classes including PageCacheTest, ElementTest, BigPipeRegressionTest, DemoUmamiProfileTest, and more
- Split large test classes into smaller ones for better performance
- CI Environment: Switched to using Ubuntu images in all CI environments for core, improving consistency and performance (Issue #3461006).
Impact Summary
Drupal 11.0.2 is primarily a maintenance release focused on improving test performance, fixing bugs, and enhancing documentation. The most notable user-facing improvements include significantly better performance on the permissions administration page and fixes for machine name field auto-creation.
For developers, this release brings numerous test optimizations that reduce resource requirements and improve execution speed, making the development workflow more efficient. The fixes for PHP strict typing errors and improved API documentation also contribute to a more robust development experience.
Site administrators will benefit from the fixed BigPipe handling of form redirects and corrected APCu memory requirement checking. Content editors will appreciate the fixed machine name field auto-creation and improved handling of JavaScript files in AJAX responses.
While this release doesn't introduce major new features, the cumulative effect of the bug fixes and performance improvements makes it a worthwhile upgrade for all Drupal 11 sites. The changes are focused on stability and efficiency rather than new functionality, making it a low-risk update that addresses several pain points in the previous release.
Statistics:
User Affected:
- Improved test execution speed and reduced resource requirements for CI environments
- Fixed PHP strict typing errors in test modules
- Better documentation for various APIs and interfaces
- Fixed issues with UUID generation that could return invalid UUIDs
