Drupal Release: 8.2.0-beta3
Pre Release
Tag Name: 8.2.0-beta3
Release Date: 8/26/2016
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 8.2.0-beta3 brings significant improvements including a new Date Range field type, enhanced security for one-time login links, better translation handling for revisionable entities, and numerous bug fixes. This beta release continues to refine Drupal 8.2's feature set with important fixes for content moderation, migration tools, and developer experience improvements.
Highlight of the Release
- New Date Range field type with start and end date support
- Security fix for one-time login links potentially leaking via referer headers
- Fixed translation handling for non-revisionable fields on revisionable entities
- Performance improvement for image derivative generation
- Improved error messages and documentation for developers
Migration Guide
Upgrading to 8.2.0-beta3
This is a beta release and contains changes that may require updates to your code or configuration:
-
For developers using LinkItem: If your code interacts with LinkItem::getUrl(), ensure it handles NULL options correctly.
-
For modules using class loading: Review any custom class loading to ensure compliance with the updated standards.
-
For sites using Config translation: The upgrade path for Config translation synchronization has been fixed. If you experienced issues with config translation in previous versions, this should now work correctly.
-
For custom migration implementations: Check your rollback functionality as several migration rollback issues have been fixed in this release.
No database updates are required for this beta release, but clearing caches is recommended after updating.
Upgrade Recommendations
This beta release contains important bug fixes and new features that will be part of the upcoming Drupal 8.2.0 stable release. If you are testing Drupal 8.2.0, we recommend upgrading to this beta3 release.
For production sites, it's generally recommended to wait for the stable release unless you specifically need the fixes or features in this beta. If you do upgrade a production site to this beta, be sure to thoroughly test your site's functionality after the upgrade.
The upgrade process from 8.2.0-beta2 to 8.2.0-beta3 should be straightforward:
- Back up your site and database
- Update your codebase to 8.2.0-beta3
- Run update.php or drush updatedb
- Clear caches
Bug Fixes
Content Management Fixes
- Fixed issue where the "Manage moderation" tab was not displaying on bundle admin pages
- Fixed BulkForm reporting incorrect count of processed items
- Resolved issue with LinkItem::getUrl() failing when options are NULL
Translation and Multilingual Fixes
- Fixed handling of non-revisionable translatable fields on revisionable entities
- Improved Config translation synchronization with proper upgrade path
Migration System Fixes
- Fixed rollback functionality for view mode migrations
- Fixed rollback functionality for field migrations
- Fixed rollback functionality for field instance migrations
System and Core Fixes
- Fixed error logging when encountering corrupt serialized data, making logs more usable
- Refactored \Drupal\Component\Assertion\Handle to comply with PSR-0/4 standards
- Fixed test classes to properly handle multiple namespaces
New Features
Date Range Field Type
A significant new feature in this beta release is the Date Range field type that supports both start and end dates. This addresses a long-standing need for content that requires duration information such as events, appointments, or project timelines.
Enhanced Migration Tools
- Added translated node content to the Drupal 7 migration testing tools, improving multilingual migration testing
- Improved error messages for source provider issues in migrations
Testing Improvements
- Added JavaScript testing for sorting AJAX-enabled views
- Enhanced test coverage for uninstalled modules in class loading tests
Security Updates
One-Time Login Link Protection
Fixed a security issue where valid one-time login links could potentially be leaked to third parties via the referer header. This enhancement helps protect sensitive authentication links from being exposed to external sites.
Performance Improvements
Image Handling Performance
- Improved performance when generating image derivatives by avoiding unnecessary lock name computation
Code Optimization
- Several code refactoring improvements to ensure better compliance with coding standards
- Optimized class loading and namespace handling
Impact Summary
Drupal 8.2.0-beta3 represents a significant step forward in the development of Drupal 8.2, with the addition of the long-awaited Date Range field type being the most notable new feature. This addresses a critical need for content that requires duration information.
The release also focuses on security improvements, particularly protecting one-time login links from potential exposure through referer headers. This enhancement helps maintain the security of Drupal's authentication system.
For multilingual sites, the fixes to translation handling for non-revisionable fields on revisionable entities and improvements to Config translation synchronization resolve important issues that affected content translation workflows.
Developers will appreciate the numerous improvements to error messages, documentation, and testing infrastructure. The migration system has received several fixes to ensure reliable rollback functionality, which is crucial for development and testing workflows.
Performance improvements, particularly for image derivative generation, continue to enhance Drupal's efficiency. The code refactoring and standards compliance work maintains the quality and maintainability of the codebase.
Overall, this beta release demonstrates Drupal's commitment to security, multilingual support, developer experience, and content management capabilities as it moves toward the stable 8.2.0 release.
Statistics:
User Affected:
- Benefit from the new Date Range field type with start and end date support
- Fixed content moderation tab visibility on bundle admin pages
- Improved handling of translatable fields on revisionable entities
