Home

>

Tools

>

Drupal

>

Releases

>

11.2.1

11.2.1

Tag Name: 11.2.1

Release Date: 6/25/2025

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 11.2.1 is a maintenance release that addresses several critical bugs and security vulnerabilities. It includes performance improvements for page load times, fixes for database connection issues, and enhances security by improving unserialize() handling in the config system. This release also adds support for minified external CSS libraries and resolves various UI and permission-related issues.

Highlight of the Release

    • Fixed database connection serialization issues that were causing LogicException errors
    • Improved page load performance for the extensions page by fixing tableresponsive.js
    • Enhanced security by cleaning up unserialize() usage in the config system
    • Added support for minified external CSS libraries
    • Fixed AJAX issues related to AssetResolver cache handling

Migration Guide

No specific migration steps are required for this maintenance release. This is a bugfix release that maintains compatibility with Drupal 11.2.0.

Upgrade Recommendations

It is strongly recommended that all Drupal 11.2.0 sites be updated to version 11.2.1 as soon as possible. This release contains important bug fixes, performance improvements, and security enhancements that will improve the stability and security of your Drupal site.

The update process follows the standard Drupal minor version update procedure:

  1. Back up your database and site files
  2. Put your site into maintenance mode
  3. Update your codebase to Drupal 11.2.1
  4. Run the update script by visiting /update.php
  5. Take your site out of maintenance mode

No database schema changes are included in this release, so the update should be straightforward.

Bug Fixes

Fixed Database Connection Serialization Issues

Resolved a critical issue where database connections were causing LogicException errors with the message "The database connection is not serializable." This fix prevents unexpected errors during certain operations that involve serialization.

Fixed tableresponsive.js Performance Issues

Addressed a significant performance bottleneck in tableresponsive.js that was causing huge page load times for the extensions page. This fix substantially improves the user experience when managing extensions.

Fixed AJAX Issues with AssetResolver

Resolved issues where the AssetResolver::getJsAssets cache ID wasn't considering attached settings, which led to AJAX-related problems. The fix ensures proper caching behavior for JavaScript assets.

Fixed Node Save Message Permissions

Corrected an issue where node save messages would include links even when users didn't have permission to access those links. The system now checks user permissions before including links in confirmation messages.

Fixed Locale Translation Queue Loop

Resolved an issue with the locale translation queue that was causing infinite loops during translation imports.

Fixed Theme Registry Constants Access

Addressed an issue where private constants in \Drupal\Core\Theme\Registry were being accessed with static::, which could cause errors. The constants are now properly accessible.

Fixed Views Data Helper Method

Corrected an issue where an unknown fieldViewsDataHelper method was being called from the deprecated datetime_type_field_views_data_helper function.

New Features

Added Support for Minified External CSS Libraries

Drupal 11.2.1 introduces support for minified external CSS libraries, allowing sites to load optimized CSS files. This enhancement improves page load performance by reducing the size of CSS assets that need to be downloaded by the browser.

Improved Content Access Filtering

The "Content access" filter now checks for node_grants implementations before adding node access grant queries, resulting in more efficient and accurate content filtering.

Security Updates

Improved Config System Security

Enhanced security in the config system by cleaning up the use of unserialize() functions. This change reduces the risk of potential object injection vulnerabilities that could occur through unserialized data.

Performance Improvements

Improved Extensions Page Load Time

Fixed a critical performance issue in tableresponsive.js that was causing extremely slow page load times for the extensions page. This improvement significantly reduces the time required to load and interact with the extensions management interface.

Enhanced Content Access Filtering

Optimized the "Content access" filter by implementing a check for node_grants implementations before adding node access grant queries. This improvement reduces unnecessary query complexity and improves performance for content listing operations.

Optimized Asset Handling

Improved the AssetResolver::getJsAssets cache handling to properly consider attached settings, which enhances AJAX performance and prevents unnecessary asset reloading.

Impact Summary

Drupal 11.2.1 is a maintenance release that addresses several important issues affecting performance, security, and functionality. The most significant improvements include fixing database connection serialization issues that were causing exceptions, resolving performance problems with tableresponsive.js that affected the extensions page, and enhancing security by improving unserialize() handling in the config system.

For developers, this release fixes several technical issues including AJAX-related problems with AssetResolver caching and adds support for minified external CSS libraries. Site administrators will benefit from improved performance on the extensions page and fixed permission handling for node save messages.

Content editors will experience more reliable content access filtering and properly displayed node save messages based on their permissions. Multilingual site managers will see fixes for locale translation queue issues.

Overall, this release improves stability, security, and performance without introducing breaking changes, making it a recommended update for all Drupal 11.2.0 sites.

Statistics:

File Changed29
Line Additions561
Line Deletions117
Line Changes678
Total Commits17

User Affected:

  • Improved performance on the extensions page with fixed tableresponsive.js
  • Fixed permission issues with node save messages
  • More secure config system with improved unserialize() handling

Contributors:

xjmlarowlanalexpott