Home

>

Tools

>

Drupal

>

Releases

>

8.7.6

Drupal Release: 8.7.6

Tag Name: 8.7.6

Release Date: 8/7/2019

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 8.7.6: Security and Bug Fix Release

This minor release includes several important bug fixes and documentation improvements. Key updates include fixing the media library pagination, addressing issues with workspaces views, updating CKEditor to version 4.11.4, and resolving various entity handling problems. This release focuses on stability and correctness rather than introducing new features.

Highlight of the Release

    • Updated CKEditor to version 4.11.4
    • Fixed media library pagination that was broken due to invalid entity_id parameter
    • Resolved workspaces views issue that was multiplying result sets by number of languages
    • Added support for translation of the list of styles in CKEditor
    • Fixed oEmbed link handling to properly pass URL parameters to providers
    • Improved module update process with better handling of service dependencies

Migration Guide

No specific migration steps are required for this minor release. This is a standard bug fix release that should be safe to apply without special migration procedures.

However, if you've implemented custom code that:

  1. Relies on specific behavior of EntityStorageInterface::restore()
  2. Has custom implementations of ConditionManager::execute()
  3. Uses the media library with custom entity_id parameters

You should review your code against the changes in this release to ensure compatibility.

Upgrade Recommendations

This release contains important bug fixes and security updates. All sites running Drupal 8.7.x should upgrade to 8.7.6 as soon as possible.

The upgrade process should be straightforward:

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

No special steps are required for this minor version update.

Bug Fixes

Critical Bug Fixes

  • Media Library Pagination: Fixed broken pagination in the media library that was caused by an invalid entity_id parameter.
  • Workspaces Views: Resolved an issue where workspaces views query alter was multiplying the result set by the number of languages.
  • Entity Storage: Fixed a critical issue where pre-save methods were incorrectly invoked in EntityStorageInterface::restore().
  • oEmbed Links: Corrected oEmbed link handling to properly pass URL parameters to providers.
  • Node Access: Fixed incorrect behavior where hook_node_access() was called with $op = 'delete' when showing node creation forms.

Other Bug Fixes

  • Fixed incorrect implementation of ConditionManager::execute() to conform to the interface.
  • Corrected usage of array_unshift() in DatabaseStatementPrefetch::current.
  • Fixed assertEscaped() and assertUnescaped() methods in JavascriptTestBase.
  • Addressed issues with EntityViewsData missing revisionable validation.

New Features

Support for Translation of CKEditor Styles

This release adds support for translating the list of styles in CKEditor, making the editing experience more accessible for multilingual sites. This enhancement allows content editors working in different languages to see style names in their preferred language.

Security Updates

  • Updated CKEditor to version 4.11.4, which includes security improvements from the upstream project.
  • Fixed entity handling issues that could potentially lead to unexpected behavior in certain scenarios.

Performance Improvements

Database Query Performance

Fixed an issue with DatabaseStatementPrefetch::current where the PHP function array_unshift() was being used incorrectly, which could impact database query performance.

Impact Summary

Drupal 8.7.6 is primarily a bug fix and maintenance release that addresses several important issues affecting site functionality and developer experience. The most significant impacts include:

  1. Media Library Improvements: Fixed pagination issues that were preventing proper navigation through media items.

  2. Multilingual Enhancements: Added translation support for CKEditor styles and fixed workspaces views issues that were causing problems with multilingual content.

  3. Entity Handling: Several fixes related to entity storage, restoration, and access checking improve the reliability of content management operations.

  4. Developer Experience: Improved documentation and fixed inconsistencies in APIs will make development more straightforward.

  5. Security Updates: The CKEditor update to 4.11.4 includes security improvements from the upstream project.

This release doesn't introduce new features that would require significant adaptation but does resolve several pain points that were affecting site administrators, content editors, and developers.

Statistics:

File Changed79
Line Additions1,663
Line Deletions442
Line Changes2,105
Total Commits24

User Affected:

  • Media library pagination now works correctly, fixing previously broken functionality
  • Workspaces views no longer multiply result sets by the number of languages
  • More reliable entity handling with fixes to entity storage restoration

Contributors:

alexpottlauriiixjmwebchicklarowlan