Home

>

Tools

>

Drupal

>

Releases

>

10.0.0-rc3

Drupal Release: 10.0.0-rc3

Pre Release

Tag Name: 10.0.0-rc3

Release Date: 12/9/2022

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 10.0.0-rc3 is a release candidate that focuses on dependency updates, bug fixes, and preparation for PHP 8 compatibility. This release includes updates to various development dependencies, fixes for regression issues in AJAX functionality, and improvements to configuration schema. It also reverts a previous change related to service autowiring and updates the copyright information for Drupal 10.

Highlight of the Release

    • Updated Symfony dependencies to version 6.2.1
    • Fixed regression in Drupal.ajax affecting paragraphs_features module
    • Deprecated NULL values in HTML methods for PHP 8 compatibility
    • Updated development dependencies including cspell, eslint, postcss-import, stylelint, terser and webpack-cli
    • Added missing configuration schema for current_theme condition plugin

Migration Guide

PHP 8 Compatibility Changes

Developers should update their code to avoid passing NULL values to the following methods:

  • Html::escape()
  • Html::decodeEntities()
  • FormattableMarkup::placeholderFormat()

These methods now deprecate NULL values to improve PHP 8 compatibility.

Service Autowiring Changes

This release reverts the previous change related to service autowiring (Issue #3049525). If you were relying on the interface aliases added to core service definitions, you'll need to adjust your code accordingly.

Upgrade Recommendations

As this is a release candidate (RC3) for Drupal 10.0.0, it is recommended for testing purposes only and not for production environments. Developers and site builders should use this release to test their modules, themes, and custom code for compatibility with Drupal 10.

If you're currently using Drupal 9, continue using the stable 9.x releases for production sites while preparing for the eventual upgrade to Drupal 10.0.0 stable when it becomes available.

Bug Fixes

Fixed Regression in AJAX Functionality

  • Fixed regression in Drupal.ajax that caused issues with the paragraphs_features module (Issue #3324062)

Added Missing Configuration Schema

  • Added missing configuration schema for current_theme condition plugin (Issue #2787529)

Fixed PHPStan Errors

  • Resolved PHPStan L2 error "Property Foo::$bar has unknown class Baz as its type" (Issue #3324801)

New Features

No significant new features were introduced in this release candidate. This release primarily focuses on bug fixes, dependency updates, and compatibility improvements as part of the preparation for the stable Drupal 10.0.0 release.

Security Updates

No security fixes were explicitly mentioned in this release candidate.

Performance Improvements

No specific performance improvements were highlighted in this release candidate. The focus was primarily on bug fixes, dependency updates, and compatibility improvements.

Impact Summary

Drupal 10.0.0-rc3 represents an important step toward the stable release of Drupal 10. This release candidate focuses on polishing the codebase through dependency updates, bug fixes, and compatibility improvements.

The most notable changes include updating Symfony dependencies to 6.2.1, fixing a regression in AJAX functionality that affected the paragraphs_features module, and deprecating NULL values in HTML methods to improve PHP 8 compatibility.

For developers, the reversion of service autowiring changes is significant and may require code adjustments if you were relying on the interface aliases added to core service definitions.

This release also includes updates to various development dependencies and adds missing configuration schema for the current_theme condition plugin, which improves the overall stability and maintainability of the codebase.

As a release candidate, this version is intended for testing purposes to identify any remaining issues before the stable Drupal 10.0.0 release.

Statistics:

File Changed69
Line Additions571
Line Deletions566
Line Changes1,137
Total Commits10

User Affected:

  • Need to be aware of PHP 8 compatibility changes with NULL values in HTML methods
  • Should note the reversion of service autowiring changes
  • Will benefit from updated development dependencies
  • Should test modules that rely on Drupal.ajax functionality

Contributors:

longwave