Drupal Release: 5.9

Tag Name: 5.9

Release Date: 7/23/2008

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 5.9 Release Summary

Drupal 5.9 is a maintenance release that focuses on bug fixes and compatibility improvements, particularly for PostgreSQL databases. This update addresses several critical issues including session security, RSS feed date formatting, and search functionality. The release contains important fixes for division by zero errors and improves the rendering order of blocks, CSS, and JavaScript. While not introducing major new features, these changes enhance stability and security for existing Drupal 5.x installations.

Highlight of the Release

    • Enhanced session security with mandatory session regeneration
    • Improved PostgreSQL database compatibility
    • Fixed RSS feed date formatting for better compatibility
    • Corrected block rendering order relative to CSS and JavaScript

Migration Guide

No specific migration steps are required for this maintenance release. Drupal 5.9 is a direct update from previous 5.x versions and does not introduce any breaking changes or require database schema modifications.

To update:

  1. Back up your database and files
  2. Replace your existing Drupal core files with the new 5.9 release
  3. Run the update script by visiting update.php in your browser

No configuration changes are needed after the update.

Upgrade Recommendations

Priority: Medium

This release contains important bug fixes and security improvements that enhance the stability and security of Drupal 5.x installations. While not addressing critical vulnerabilities, the session security enhancement and PostgreSQL compatibility fixes make this update recommended for all Drupal 5.x users.

Sites using PostgreSQL as their database backend should prioritize this update to resolve compatibility issues that could affect site functionality.

As this is a maintenance release with no breaking changes, the upgrade process should be straightforward with minimal risk.

Bug Fixes

  • Block Rendering Order: Fixed issue where blocks were not rendered before CSS and JavaScript header generation, which could cause problems with dynamic block content affecting page styling and behavior (#281042)

  • RSS Date Formatting: Resolved issue with RSS feeds by ensuring non-localized date formats are used, improving compatibility with feed readers (#232433)

  • Search Functionality: Fixed division by zero error that occurred when all search weights were set to 0, preventing search failures (#252580)

  • PostgreSQL Compatibility:

    • Removed unused join that caused column type compatibility problems with PostgreSQL (#252921)
    • Fixed query structure to ensure DISTINCT ON and ORDER BY expressions match in PostgreSQL queries (#128846)
  • Code Style: Various code style improvements for better maintainability (#281494)

New Features

No significant new features were introduced in this maintenance release. Drupal 5.9 focuses primarily on bug fixes, security improvements, and compatibility enhancements for existing functionality.

Security Updates

  • Session Security Enhancement: Implemented a critical fix to ensure session IDs are always regenerated when required, addressing a potential session security vulnerability (#280934)

This security improvement helps protect against session fixation attacks by ensuring that session identifiers are properly regenerated during authentication processes.

Performance Improvements

  • Database Query Optimization: Removal of an unused join in database queries not only improves PostgreSQL compatibility but also enhances query performance by reducing unnecessary database operations (#252921)

  • Search Query Efficiency: The fixes to search functionality when weights are set to zero also improve the overall efficiency of search operations by preventing unnecessary calculations

Impact Summary

Drupal 5.9 delivers targeted improvements to core functionality without introducing breaking changes. The most significant impacts are:

  1. Enhanced Security: The session regeneration fix addresses a potential security vulnerability that could affect all Drupal 5.x sites.

  2. Improved Database Compatibility: PostgreSQL users will benefit from multiple fixes that resolve compatibility issues, potentially preventing site errors and improving database performance.

  3. Better Content Syndication: The RSS feed date formatting fix ensures better compatibility with feed readers, improving content distribution capabilities.

  4. More Reliable Theme Rendering: The corrected block rendering order ensures that dynamic content in blocks is properly processed before CSS and JavaScript, preventing potential display issues.

These improvements collectively enhance the stability, security, and compatibility of Drupal 5.x installations without requiring significant changes to site configuration or custom code.

Statistics:

File Changed8
Line Additions70
Line Deletions33
Line Changes103
Total Commits9

User Affected:

  • Improved session security with mandatory session regeneration
  • More reliable search functionality when search weights are set to zero
  • Better PostgreSQL compatibility for database operations

Contributors:

drumm