Home

>

Tools

>

Drupal

>

Releases

>

10.3.3

Drupal Release: 10.3.3

Tag Name: 10.3.3

Release Date: 9/5/2024

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.3.3: Test Performance and Code Quality Improvements

This maintenance release focuses primarily on improving test performance, fixing type errors, and enhancing code quality. It includes significant optimizations to test execution speed, fixes for strict type errors, improved documentation, and a performance enhancement for the user permissions page. This release is particularly important for developers working with Drupal's test suite and those maintaining large sites with complex permission structures.

Highlight of the Release

    • Significant performance improvement for the user permissions administration page
    • Fixed APCu memory requirement check that was checking the wrong value
    • Fixed PECL UUID implementation that could return invalid UUIDs
    • Improved test performance and reduced resource requirements across multiple test suites
    • Fixed broken auto-creation of machine name fields

Migration Guide

This release does not contain any changes that require migration steps. It's primarily focused on bug fixes, performance improvements, and test enhancements that don't affect site functionality in ways that would require migration.

Upgrade Recommendations

This is a minor maintenance release with bug fixes and performance improvements. It's recommended for all sites running Drupal 10.3.x to upgrade to this version to benefit from the bug fixes and performance improvements.

The upgrade process should be straightforward:

  1. Back up your database and code
  2. Update your codebase to Drupal 10.3.3
  3. Run the database updates via the admin interface or using Drush: drush updatedb
  4. Clear caches: drush cache:rebuild

This release doesn't contain any breaking changes, so the upgrade should be smooth for most sites.

Bug Fixes

  • Fixed strict type errors in test modules (Issue #3402007)

  • Fixed PECL UUID implementation that could return invalid UUIDs (Issue #2613926)

  • Fixed DatabaseStorage::readMultiple throwing errors when receiving an empty array (Issue #3416525)

  • Fixed APCu requirement check for 32M that was checking the wrong value (Issue #3466399)

  • Fixed JavaScript files added by AJAX responses only being optimized in maintenance mode (Issue #3452672)

  • Fixed broken auto-creation of machine name fields (Issue #3428652)

  • Fixed WebAssertTest failures on 10.x (Issue #3466822)

  • Fixed 'risky' tests (Issue #3466788)

  • Fixed test-only job that couldn't be run due to wrong dependency (Issue #3467080)

  • Fixed Views content language field default configuration to use field_language plugin (Issue #3459496)

New Features

This release doesn't introduce major new features as it's primarily focused on bug fixes, performance improvements, and test enhancements. However, there are some notable improvements:

  • Standard Responsive Images Recipe: Updated the Standard Responsive Images recipe to have the correct Responsive image recipe type (Issue #3464771)

  • Test Improvements: Multiple test improvements that make it easier to write and maintain tests:

    • Split large test classes into smaller, more focused ones
    • Added additional test coverage for DialogRenderer::getTitleAsStringable()
    • Improved test organization and methodology across multiple modules

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

  • Improved performance of the user.permissions.js script running in /admin/people/permissions (Issue #3464530)

    • This enhancement significantly improves the performance when managing user permissions, especially on sites with many roles and permissions
  • Multiple test performance improvements:

    • Reduced CPU requirement and concurrency for unit tests (Issue #3467391)
    • Reduced CPU request for Nightwatch job (Issue #3469070)
    • Speed up for multiple test classes:
      • DemoUmamiProfileTest (Issue #3468831)
      • BigPipeRegressionTest (Issue #3468827)
      • PageCacheTest (Issue #3469335)
      • ElementTest (Issue #3469573)
      • ExposedFormTest (Issue #3469623)
      • DbLog tests (Issue #3469716)
      • RevisionRevertFormTest (Issue #3469576)
      • ContentModerationStateTest (Issue #3469163)
      • UpdateContribTest (Issue #3469709)
      • WorkspacesContentModerationStateTest (Issue #3468829)
      • UpdateSemverTestSecurityCoverageTest (Issue #3469583)
      • JSON:API ResourceTestBase (Issue #3468280)

Impact Summary

Drupal 10.3.3 is a maintenance release that focuses on improving test performance, fixing bugs, and enhancing code quality. The most notable user-facing improvement is the performance optimization of the user permissions administration page, which will benefit sites with many roles and permissions.

For developers, this release brings significant improvements to the test suite, including reduced resource requirements, faster test execution, and better organization of test classes. These changes make it easier to write, maintain, and run tests, which contributes to the overall quality and stability of Drupal projects.

The bug fixes address issues with UUID generation, APCu requirement checks, and JavaScript optimization in AJAX responses, which improve the reliability and performance of Drupal sites. The documentation improvements provide clearer guidance on API usage and best practices.

Overall, while this release doesn't introduce major new features, it represents an important step in maintaining and improving the quality, performance, and developer experience of Drupal 10.3.x.

Statistics:

File Changed300
Line Additions1,625
Line Deletions1,648
Line Changes3,273
Total Commits71

User Affected:

  • Benefit from improved test performance and reduced resource requirements when running Drupal's test suite
  • Experience better code quality with fixed strict type errors and improved documentation
  • Gain from more consistent API usage patterns and better test organization

Contributors:

longwavealexpott