Drupal Release: 5.6

Tag Name: 5.6

Release Date: 1/10/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.6 is a maintenance release that addresses various bugs and usability issues across the CMS. It includes improvements to form handling, file management, database operations, and internationalization support. This release focuses on stability and refinement rather than introducing major new features, making it an important update for all Drupal 5.x site owners.

Highlight of the Release

    • Improved module administration with alphabetical sorting
    • Enhanced taxonomy term selection in forms
    • Fixed transparent GIF image resizing
    • Better UTF-8 handling for internationalization
    • Improved file handling on Windows systems
    • Better protection against content type overwrites

Migration Guide

No specific migration steps are required for this maintenance release. This is a standard update that fixes bugs and improves existing functionality without introducing breaking changes.

To update to Drupal 5.6:

  1. Back up your database and site files
  2. Put your site into maintenance mode
  3. Replace your existing Drupal core files with the new 5.6 release files, being careful not to overwrite any customizations or contributed modules
  4. Run the update script by visiting update.php in your browser
  5. Take your site out of maintenance mode

As with any update, testing in a development environment before updating your production site is recommended.

Upgrade Recommendations

This release contains important bug fixes and usability improvements that enhance the stability and security of Drupal 5.x sites. While there are no critical security fixes explicitly mentioned, the improvements to form handling, database queries, and HTTP authentication make this update recommended for all Drupal 5.x sites.

Priority: Medium Timeline: Update during your next regular maintenance window Preparation: Standard backup procedures are sufficient; no special preparation needed

Since this is a maintenance release within the 5.x branch, the update process should be straightforward with minimal risk of compatibility issues.

Bug Fixes

Core Functionality Fixes

  • Poll Module: Fixed poll editing by properly initializing a counter variable (#89218)
  • Image Handling: Fixed transparent GIF resizing issues (#200338)
  • Database Operations:
    • Added missing db_rewrite_sql() in count query (#64388)
    • Fixed inconsistent return of previous active database name in db_set_active() (#168315)
  • File System:
    • Added realpath() call to file_save_data() for proper temporary file creation on Windows (#180126)
    • Fixed incorrect reporting of file upload size limits (#199955)
  • Content Types: Fixed issue where new content types could overwrite existing ones (#115689)
  • Menu System:
    • Used correct menu item type for revision confirm pages (#166433)
    • Fixed menu visibility settings preservation during editing (#58806)
  • HTTP Requests: Fixed HTTP Basic authentication in drupal_http_request() where username and password were parsed but not used (#182410)
  • Filter System: Now properly clears filter cache when allowed HTML tags configuration changes (#194579)
  • XMLRPC: Improved conformance with ISO date formats in XMLRPC code (#199084)
  • Documentation: Fixed typo in user output (#201894) and added missing asterisk in documentation (#204855)
  • Hook Implementation: More effective use of hook API (#203727)

New Features

Enhanced User Interface and Usability

  • Improved Module Administration: Modules are now sorted by name on the module admin page, making it easier to find and manage modules (#179164)
  • Better Taxonomy Selection: Added option to select no taxonomy term in multiselect forms, removing the need for browser-specific workarounds (#199640)
  • Explicit Character Set for Forms: Forms now specify explicit accept-charset to avoid browser guessing issues (#194652)

Internationalization Improvements

  • Better UTF-8 Support: The system now skips UTF-8 BOM (Byte Order Mark) when importing locale files, improving compatibility with various text editors (#173858)

Security Updates

Security Enhancements

  • Form Handling: Added explicit accept-charset specification for forms to prevent potential character encoding issues (#194652)
  • Database Queries: Implemented proper db_rewrite_sql() for count queries, enhancing query security (#64388)
  • HTTP Authentication: Fixed HTTP Basic authentication in drupal_http_request() where credentials were parsed but not properly used in the request (#182410)

Note: While these changes improve security practices, none were explicitly labeled as critical security fixes.

Performance Improvements

Performance Optimizations

  • Filter Cache Management: Improved handling of filter cache clearing when HTML tag configurations change, preventing unnecessary cache entries from persisting (#194579)
  • Database Query Optimization: Better implementation of db_rewrite_sql() for count queries, improving both security and performance (#64388)
  • Menu Handling: More efficient processing of menu visibility settings during editing operations (#58806)

Impact Summary

Drupal 5.6 is a maintenance release that focuses on bug fixes and usability improvements rather than introducing major new features. The changes span multiple areas of the system including form handling, file management, database operations, and internationalization support.

Key improvements include better module administration with alphabetical sorting, enhanced taxonomy term selection in forms, fixed image handling for transparent GIFs, and improved file operations on Windows systems. The release also addresses several minor security practices such as proper implementation of database query functions and explicit character set specification for forms.

For site administrators, the improved module management and file handling will make day-to-day operations smoother. Content editors will benefit from better taxonomy term selection and fixed poll editing. Developers will appreciate the improved documentation, more consistent database handling, and better conformance with standards.

While none of the changes are revolutionary, together they represent important refinements that improve the overall stability, usability, and security of Drupal 5.x sites.

Statistics:

File Changed21
Line Additions177
Line Deletions47
Line Changes224
Total Commits23

User Affected:

  • Improved module administration page with modules sorted by name for easier navigation
  • Better handling of file uploads, especially on Windows systems
  • More reliable content type management that prevents accidental overwrites

Contributors:

drumm