Home

>

Tools

>

Ghost

>

Releases

>

5.8.2

Ghost Release: 5.8.2

Tag Name: v5.8.2

Release Date: 8/8/2022

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.8.2 is a minor release that addresses two important bugs: one preventing the saving of membership settings and another related to inactive Stripe prices being reactivated. These fixes ensure smoother operation for sites using memberships and paid subscriptions, particularly when managing pricing configurations or membership settings.

Highlight of the Release

    • Fixed a critical bug preventing membership settings from being saved
    • Improved handling of Stripe prices to prevent reactivation of inactive prices

Migration Guide

No migration steps are required for this update. This is a straightforward bug fix release that can be installed without any special considerations.

Upgrade Recommendations

This update is recommended for all Ghost users, especially those using membership features or Stripe integrations for paid subscriptions. The fixes address important issues that could affect the stability of membership management and payment processing.

Bug Fixes

Fixed Membership Settings Saving

Fixed an issue where saving membership settings would fail due to validation errors. The problem occurred because a recent schema update required the trail_days property, which is not yet supported by the Admin interface. When saving membership settings, all Tiers were also saved, causing validation to fail. This fix removes the validation requirement until the Admin interface supports the property.

Restricted Stripe Price Reactivation

Fixed an issue where inactive prices in the database would be automatically reactivated when referenced. This could cause problems when prices had been intentionally deleted in Stripe. The fix adds a constraint to only use active prices, ensuring that when an inactive price is referenced, a new price will be created in Stripe and the database instead of reactivating the old one.

New Features

No new features were introduced in this release. This is a bug fix release focused on resolving issues with membership settings and Stripe price handling.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release.

Impact Summary

Ghost v5.8.2 addresses two significant bugs that impact membership and payment functionality. The first fix resolves an issue where administrators couldn't save membership settings due to validation errors related to the trail_days property. The second fix prevents inactive Stripe prices from being automatically reactivated, which could cause problems when prices had been intentionally deleted. These fixes ensure more reliable operation of membership features and better handling of pricing configurations, particularly important for sites offering paid subscriptions.

Full Release Notes

  • 🐛 Fixed saving membership settings (#15196) - Fabien 'egg' O'Carroll

View the changelog for full details: v5.8.1...v5.8.2

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

Statistics:

File Changed4
Line Additions11
Line Deletions9
Line Changes20
Total Commits3

User Affected:

  • Can now successfully save membership settings without validation errors
  • Will experience more reliable behavior when working with Stripe prices

Contributors:

allouisgithub-actions[bot]