Home

>

Tools

>

Drupal

>

Releases

>

9.2.0-beta2

Drupal Release: 9.2.0-beta2

Pre Release

Tag Name: 9.2.0-beta2

Release Date: 5/26/2021

Drupal LogoDrupal

Highly 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.2.0-beta2 brings several improvements to the Olivero theme, updates Symfony dependencies, increases the recommended PHP version to 7.4, fixes migration issues, and addresses various UI and accessibility concerns. This beta release is part of the development cycle leading to the stable 9.2.0 release, focusing on refinement and bug fixes rather than major new features.

Highlight of the Release

    • Increased recommended PHP version to 7.4
    • Updated CKEditor to version 4.16.1
    • Fixed multiple UI issues in the Olivero theme
    • Improved accessibility in Claro theme for CKEditor toolbar configuration
    • Fixed migration issues related to user profile translations

Migration Guide

PHP Version Recommendation

  • The recommended PHP version has been increased to 7.4. While lower versions may still work, it's advisable to plan for upgrading your PHP environment to at least 7.4 for optimal compatibility and performance.

Symfony Dependencies

  • Symfony dependencies have been updated to their latest releases. If you have custom code that interacts directly with Symfony components, review your implementation to ensure compatibility.

Migration System Changes

  • Several fixes have been applied to the migration system, particularly around user profile translations and localization migrations. If you're in the process of migrating from Drupal 6 or using custom migrations, test your migration processes thoroughly with this beta release.

No breaking changes requiring specific migration steps were identified in this beta release.

Upgrade Recommendations

As this is a beta release (9.2.0-beta2), it is recommended for testing environments only and not for production sites. This release is suitable for:

  1. Developers and site builders who want to test their custom modules and themes against the upcoming 9.2.0 stable release
  2. Contributors who want to help identify and fix bugs before the stable release
  3. Those specifically affected by the bugs fixed in this release who need to verify the fixes

For production sites, it's recommended to wait for the stable 9.2.0 release unless you're experiencing specific issues addressed in this beta that critically impact your site's functionality.

Bug Fixes

UI and Theme Fixes

  • Fixed misaligned display title checkbox in Layout Builder's Configure dialog box
  • Corrected vertical alignment issues in Olivero's small button variation
  • Fixed message icon border radius in Firefox browser for the Olivero theme
  • Resolved HTML5 validation issues with table sticky header over the toolbar
  • Added missing focus in "Available buttons" within CKEditor toolbar configuration in Claro theme

Migration and Development Fixes

  • Fixed dependency in Drupal 6 user profile translation migrations
  • Resolved issue with generating sample data with defined random seed for "string" or "link" field types
  • Fixed error from sort in ValidateMigrationStateTestTrait
  • Ensured all translation/localization migrations properly depend on the 'language' migration
  • Improved dependency checking in core/scripts/dev/commit-code-check.sh

Code Quality Fixes

  • Fixed Drupal.Commenting.InlineVariableComment coding standards issue
  • Replaced deprecated usages of AssertLegacyTrait::assertText
  • Replaced instances of "Test" with "Tests" in method comments for consistency

New Features

No significant new features were introduced in this beta release. This version primarily focuses on bug fixes, UI improvements, and dependency updates as part of the development cycle leading to the stable 9.2.0 release.

Security Updates

No explicit security fixes were mentioned in the commit messages for this beta release. However, the update to CKEditor 4.16.1 may include security improvements as part of the regular maintenance of that dependency.

Performance Improvements

No specific performance improvements were highlighted in this beta release. The changes were primarily focused on bug fixes, UI improvements, and dependency updates rather than performance optimizations.

Impact Summary

Drupal 9.2.0-beta2 represents an incremental improvement in the development cycle toward the stable 9.2.0 release. The primary impact is on developers and themers working with the Olivero theme, which received several UI fixes and improvements. The increase in recommended PHP version to 7.4 signals Drupal's continued modernization and alignment with PHP's lifecycle.

Migration developers will benefit from several fixes to the migration system, particularly around user profile translations and localization. These changes improve the reliability of migration processes from older Drupal versions.

Content editors and site builders will appreciate the UI improvements, particularly the fixes to CKEditor toolbar configuration in the Claro theme and various layout builder enhancements. The update to CKEditor 4.16.1 ensures continued maintenance of this critical content editing component.

Overall, this beta release demonstrates Drupal's commitment to accessibility, UI refinement, and technical debt reduction through code quality improvements and dependency updates. While not introducing major new features, it solidifies the foundation for the upcoming stable release.

Statistics:

File Changed300
Line Additions2,898
Line Deletions2,369
Line Changes5,267
Total Commits20

User Affected:

  • Need to be aware of the increased recommended PHP version to 7.4
  • Will benefit from fixed migration issues related to user profile translations and random seed generation
  • Should review updated Symfony dependencies for any potential impacts on custom code

Contributors:

alexpottlauriiigobalarowlan