Drupal Release: 9.3.15
Tag Name: 9.3.15
Release Date: 6/1/2022
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 9.3.15: Bug Fixes, Test Improvements, and CKEditor 5 Enhancements
This release focuses on bug fixes, test improvements, and enhancements to CKEditor 5 integration. Key improvements include fixes for media embed filters during CKEditor 4 to 5 migration, better handling of HTML restrictions in CKEditor 5, performance optimization for contextual links, and various test improvements. This maintenance release addresses several issues across core modules including Views, JSON:API, and the rendering system.
Highlight of the Release
- Fixed CKEditor 4 to 5 upgrade path for media_embed filter to properly handle data-view-mode attributes
- Performance optimization for contextual links by avoiding running contextual_preprocess() on every template
- Updated to CKEditor 5 v34.1.0 with improved HTML support
- Fixed issue with ExtensionDiscovery not finding modules with comments at the end of type property in info.yml files
- Improved revision handling when publishing content
Migration Guide
No specific migration steps are required for this maintenance release. This is a minor update (9.3.14 to 9.3.15) that focuses on bug fixes and improvements rather than introducing breaking changes.
If you're using CKEditor 5 with custom configurations, you may want to review your HTML restrictions settings, particularly if you've implemented custom handling for list types or media embeds.
Upgrade Recommendations
This is a maintenance release containing bug fixes and improvements with no known breaking changes. It is recommended to update to Drupal 9.3.15 at your earliest convenience, especially if you:
- Use CKEditor 5 for content editing
- Work with media embeds in your content
- Have experienced issues with Views UI page titles
- Use contextual links extensively on your site
As with any update, it's recommended to:
- Back up your database and files before updating
- Test the update on a staging environment before applying to production
- Review your site functionality after the update, particularly focusing on content editing features
Bug Fixes
-
CKEditor and Media:
- Fixed the CKEditor 4 to 5 upgrade path for the media_embed filter to properly handle the
data-view-modeattribute on<drupal-media>elements. - Fixed exceptions for CKEditor 5 plugin definitions containing wildcard tags when PHP is built with libxml 2.9.14.
- Fixed HTMLRestrictions handling for attribute values that can be interpreted as integers.
- Fixed the CKEditor 4 to 5 upgrade path for the media_embed filter to properly handle the
-
Content Management:
- Fixed revision handling when publishing content by properly setting revision_default.
- Fixed issue with ExtensionDiscovery not finding modules with comments at the end of the type property in info.yml files.
-
Views and UI:
- Fixed issue where changing view name does not update page title in Views UI.
- Fixed form building when not using fields in Views.
- Fixed random test failures in QuickEditFileTest.
-
Theme and Display:
- Fixed Olivero's code block styling that was broken at various viewport widths.
- Fixed HTMLRestrictions' diff operation bug where comparing
<tag attr="A B">with<tag attr>should return an empty result.
New Features
Enhanced CKEditor 5 Integration
- Updated to CKEditor 5 v34.1.0: Brings the latest improvements and bug fixes from the CKEditor team.
- Improved List Support: Switched from GHS to DocumentList for better handling of ordered and unordered list types.
- Better Media Handling: Added tests to confirm GHS attributes are retained in linked media.
- Streamlined UI: Removed duplicate alignment options that were confusing users by appearing both as separate buttons and in a dropdown menu.
Security Updates
No specific security fixes were mentioned in this release. As always, it's recommended to keep your Drupal installation up to date with the latest releases to ensure you have all security patches applied.
Performance Improvements
-
Contextual Links Optimization: Implemented a significant performance improvement by finding a way to avoid running
contextual_preprocess()on every template. This change reduces the processing overhead for pages with many contextual links. -
More Efficient HTML Restrictions Handling: Fixed issues in HTMLRestrictions' diff and merge operations, which improves performance when working with CKEditor 5's General HTML Support configuration.
Impact Summary
Drupal 9.3.15 is a maintenance release that brings important bug fixes and improvements to the CKEditor 5 integration, content management workflows, and developer APIs. The most notable improvements include better handling of media embeds during CKEditor 4 to 5 migration, performance optimization for contextual links processing, and fixes for HTML restrictions handling in CKEditor 5.
Content editors will benefit from a more streamlined editing experience with improved alignment options and better list type support. Developers will appreciate the better documented APIs and fixes for extension discovery. Site administrators will see more reliable content publishing behavior and improved Views UI functionality.
While this release doesn't introduce major new features, the cumulative effect of these bug fixes and improvements results in a more stable and performant Drupal experience, particularly for sites that rely heavily on the rich text editing capabilities.
Statistics:
User Affected:
- Benefit from improved revision handling when publishing content
- Experience more reliable CKEditor 5 media embedding functionality
- Will see more accurate page titles when changing view names in the Views UI
