Drupal Release: 8.0.0-beta14
Pre Release
Tag Name: 8.0.0-beta14
Release Date: 8/3/2015
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.0.0-beta14 brings important security fixes, UI improvements, and code cleanup. This release addresses an XSS vulnerability in the search page, improves accessibility with better form error contrast, and continues the modernization of Drupal's codebase through component organization and deprecation of legacy procedural code. The Bartik theme receives UI refinements, and several modules have been restructured for better maintainability.
Highlight of the Release
- Fixed XSS vulnerability in search page local task label
- Improved accessibility with increased contrast on inline form error text
- Deprecated procedural wrappers in entity.inc for modern code practices
- Moved module-specific migration support into respective modules
- UI improvements in Bartik theme components
Migration Guide
Deprecation Notices
- Entity API Changes: Procedural wrappers in entity.inc have been marked as deprecated. Developers should begin transitioning to the object-oriented Entity API methods.
Module Restructuring
- Migration Support: Module-specific migration support has been moved into the menu_ui module and node module. If you're working with migrations, ensure you're referencing the correct locations for these components.
No specific migration steps are required for this beta release, but developers should be aware of these changes when developing or maintaining modules that interact with the affected systems.
Upgrade Recommendations
As this is a beta release (8.0.0-beta14), it is primarily intended for testing and development purposes. Production sites should not yet upgrade to Drupal 8 beta versions.
For developers and testers:
- Upgrade from previous beta versions is recommended to test the latest fixes and improvements
- Pay special attention to the security fixes and UI improvements
- If you're developing custom modules, review the deprecated procedural wrappers in entity.inc and begin planning for their removal
- Test thoroughly, especially if your site uses custom themes that might be affected by the template changes
The UPGRADE.txt file has been updated with improved indentation, so refer to this document for general upgrade instructions.
Bug Fixes
Critical Bug Fixes
- XSS Vulnerability: Fixed a cross-site scripting vector in the search page local task label and added tests to prevent regression.
- Color Module Fix: Resolved an "Undefined index: css" error in
color_library_info_alter(). - System Install Cleanup: Removed redundant code in system.install.
Code Cleanup
- Dead Code Removal: Eliminated unused code from the user module.
- Reverted Change: Reverted a previous change related to cache context/tags and frontend proxies.
New Features
UI Improvements
- Date Format UI Enhancement: Removed display of machine names for date formats in the admin UI, creating a cleaner interface for administrators.
- Bartik Theme Refinements: Cleaned up the "dropbutton" and "contextual" components in the Bartik theme for better visual consistency.
- Comment Template Markup: Improved the markup structure for
comment.html.twig, enhancing theme flexibility and standards compliance.
Development Improvements
- Gettext Component Enhancement: Added composer.json to the
\Drupal\Component\Gettext\component, improving package management capabilities. - Translation Handling: Menu links now use a TranslationWrapper to properly encapsulate safe translatable strings from YAML files.
Security Updates
Security Vulnerability Fixes
- XSS Protection: Fixed a cross-site scripting (XSS) vulnerability in the search page local task label (Issue #2539246). This security improvement prevents potential attacks through malicious search queries.
- Safe String Handling: Implemented TranslationWrapper for menu links to ensure safe handling of translatable strings from YAML files, preventing potential security issues with string handling.
Performance Improvements
Code Organization Improvements
- Migration Support Restructuring: Moved module-specific migration support into the menu_ui module and node module, improving code organization and maintainability.
- Component Separation: Continued efforts to properly separate and organize Drupal's component architecture, making the codebase more maintainable and performant.
Impact Summary
Drupal 8.0.0-beta14 represents an important step in the Drupal 8 development cycle, focusing on security, accessibility, and code quality. The security fix for the XSS vulnerability in the search page is particularly noteworthy, as it addresses a potential attack vector.
The accessibility improvements with increased contrast for form error messages align with Drupal's commitment to web standards and inclusive design. For developers, the continued modernization of the codebase through deprecation notices and component reorganization signals the direction of Drupal's architecture.
Theme developers will appreciate the markup improvements and UI refinements in the Bartik theme, which serve as examples of best practices. The movement of migration support into specific modules demonstrates Drupal's ongoing efforts to improve code organization and maintainability.
While this is still a beta release and not recommended for production sites, it shows steady progress toward a stable Drupal 8 release with important security, accessibility, and developer experience improvements.
Statistics:
User Affected:
- Benefit from improved security with the XSS vulnerability fix in the search page
- Will notice UI improvements in the date formats management interface
- Need to be aware of the deprecated procedural wrappers in entity.inc if using custom code
