Home

>

Tools

>

Ghost

>

Releases

>

5.59.4

Ghost Release: 5.59.4

Tag Name: v5.59.4

Release Date: 8/22/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.59.4 fixes a critical bug in the handling of multiple Stripe subscriptions for the same member. Previously, canceling one subscription when a member had multiple active subscriptions could incorrectly affect the member's status and access to products. This patch ensures that members with multiple subscriptions maintain proper access to their paid content when managing their subscriptions.

Highlight of the Release

    • Fixed a bug where canceling one subscription would incorrectly affect member status when they had multiple active subscriptions
    • Improved handling of multiple Stripe subscriptions for the same member
    • Enhanced subscription cancellation logic to maintain proper member status and product access
    • Added comprehensive tests for subscription edge cases

Migration Guide

No migration steps are required for this release. The fix is applied automatically when upgrading to v5.59.4.

Upgrade Recommendations

This release is highly recommended for all Ghost sites that use Stripe for paid memberships, especially those with tiered membership offerings where members might subscribe to multiple products.

The bug fix addresses an important issue with subscription handling that could affect member access and revenue tracking. Upgrading should be straightforward with no breaking changes or migration steps required.

Bug Fixes

Multiple Stripe Subscriptions Handling

This release fixes an important bug related to how Ghost handles members with multiple Stripe subscriptions:

  • Fixed an issue where canceling one subscription when a member had multiple active subscriptions would incorrectly affect the member's status
  • Resolved a problem where product access could be incorrectly removed when a member canceled only one of their multiple subscriptions
  • Corrected the subscription cancellation flow to properly check for other active subscriptions before changing member status
  • Fixed edge cases in subscription management that could lead to inconsistent member states

The fix addresses issue #3752 which was causing problems for sites with members who subscribe to multiple products.

New Features

No new features were added in this release. This is a bug fix release focused on improving the handling of multiple Stripe subscriptions for the same member.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release. The changes focus on fixing subscription handling logic rather than performance optimization.

Impact Summary

This release fixes a significant bug in Ghost's membership system that affects how multiple Stripe subscriptions are handled for the same member. The issue was causing problems when members with multiple subscriptions canceled one of them, potentially leading to incorrect member status changes and improper product access.

The fix ensures that when a member cancels one subscription but still has other active subscriptions, their membership status and product access remain intact. This prevents scenarios where paying members might lose access to content they're still entitled to.

For site administrators and publishers, this means more reliable subscription management, fewer support requests related to subscription issues, and more accurate tracking of member status. For members, it ensures a more consistent experience when managing multiple subscriptions to different products or tiers.

While this is a targeted bug fix release with a small code footprint, it addresses an important edge case that affects membership sites with multiple subscription tiers or complementary products.

Full Release Notes

Statistics:

File Changed9
Line Additions1,954
Line Deletions79
Line Changes2,033
Total Commits2

User Affected:

  • More reliable subscription management for members with multiple subscriptions
  • Reduced need for manual intervention when members cancel one of multiple subscriptions
  • Improved accuracy of member status and product access records

Contributors:

SimonBackxgithub-actions[bot]