Home

>

Tools

>

Ghost

>

Releases

>

5.34.1

Ghost Release: 5.34.1

Tag Name: v5.34.1

Release Date: 2/16/2023

Ghost LogoGhost

Open-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.

TL;DR

Ghost v5.34.1 - Redis Cluster TTL Configuration Fix

This minor release fixes an issue with Redis cluster TTL configuration priority. Previously, the cluster configuration was overriding local adapter TTL settings, which could cause unexpected behavior for users with custom Redis configurations. The fix ensures that adapter-specific configurations take precedence over cluster-wide settings, providing more predictable behavior for Redis cache management.

Highlight of the Release

    • Fixed Redis cluster TTL configuration priority
    • Ensured adapter-specific TTL settings take precedence over cluster-wide configuration
    • Improved configuration merging for Redis adapters

Migration Guide

No migration steps are required for this update. The fix for Redis cluster TTL configuration is applied automatically when upgrading to v5.34.1.

If you have custom Redis configurations with specific TTL settings, these will now be properly respected and take precedence over cluster-wide settings.

Upgrade Recommendations

This is a minor bug fix release that addresses Redis cluster TTL configuration issues.

  • Who should upgrade immediately: Users running Ghost with Redis clusters who have experienced issues with TTL configurations or unexpected cache behavior.
  • Who can wait: If you're not using Redis clusters or haven't experienced any cache-related issues, this update is not critical but still recommended as part of regular maintenance.

As always with minor version updates, the upgrade process should be straightforward with minimal risk.

Bug Fixes

Redis Cluster TTL Configuration Fix

Fixed an issue where Redis cluster configuration was incorrectly taking precedence over local adapter TTL configuration. The priority has been reversed to ensure that adapter-specific configurations are applied first, followed by cluster-wide settings.

This resolves a problem where custom TTL settings for specific Redis adapters were being ignored when a cluster configuration was present, potentially causing unexpected caching behavior.

Reference: Toolbox Issue #520

New Features

No new features were introduced in this maintenance release. This update focuses exclusively on fixing the Redis cluster TTL configuration issue.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release. The focus was on fixing the Redis cluster TTL configuration issue, which may indirectly improve performance stability by ensuring cache expiration times behave as expected.

Impact Summary

This release fixes a specific issue with Redis cluster TTL configuration priority, ensuring that adapter-specific settings take precedence over cluster-wide configurations. While this is a targeted fix for a specific use case, it improves the reliability and predictability of Redis caching behavior in Ghost installations that use clustered Redis setups.

The impact is primarily relevant to system administrators and developers who manage Ghost installations with custom Redis configurations, especially in high-traffic or complex deployment scenarios. By fixing the configuration priority, this update ensures that carefully tuned cache expiration settings work as expected, potentially preventing issues with cache staleness or premature invalidation.

No changes to the user interface, content management, or publishing workflows are included in this release.

Full Release Notes

This release contains fixes for minor bugs and issues reported by Ghost users.


View the changelog for full details: v5.34.0...v5.34.1

🪄 Love open source? We're hiring JavaScript Engineers to work on Ghost full-time

Statistics:

File Changed3
Line Additions13
Line Deletions2
Line Changes15
Total Commits2

User Affected:

  • Improved control over Redis TTL configurations when using cluster setups
  • More predictable behavior when setting custom cache expiration times
  • No longer need to worry about cluster settings overriding adapter-specific configurations

Contributors:

nazgithub-actions[bot]