Home

>

Tools

>

Ghost

>

Releases

>

5.52.3

Ghost Release: 5.52.3

Tag Name: v5.52.3

Release Date: 6/21/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.52.3: Critical Bug Fix for Post Publishing

This patch release fixes a critical bug where newly published posts were being automatically reverted to draft status. When a post was published via the publish modal, a scheduled revision save task would still execute after 10 minutes, incorrectly reverting the post back to draft status. This fix ensures that posts remain published as intended, preventing unexpected content status changes.

Highlight of the Release

    • Fixed critical bug where newly published posts were being automatically reverted to draft status after 10 minutes
    • Improved reliability of the publishing workflow
    • Enhanced post revision system to respect post status changes

Migration Guide

No migration steps are required for this patch release. Simply update to v5.52.3 to receive the bug fix.

Upgrade Recommendations

This patch release fixes a critical bug affecting content publishing. All Ghost users are strongly recommended to upgrade to v5.52.3 as soon as possible, especially if you actively publish new content.

The update is a standard patch release with no breaking changes or migration requirements. You can follow the normal Ghost update process for your installation method.

Bug Fixes

Fixed Post Publishing Reversion Bug

This release addresses a critical issue where newly published posts would unexpectedly revert to draft status approximately 10 minutes after publication. The problem occurred because:

  1. When a post is saved, Ghost queues a _revisionSaveTask to execute 10 minutes later
  2. When a post was published via the publish modal, this task wasn't being dequeued
  3. When the task executed after the 10-minute delay, it would save a revision without checking if the post status had changed in the meantime
  4. This resulted in published posts being incorrectly reverted to draft status

The fix adds an additional verification step during the task execution to check if it's still appropriate to save a revision, preventing unwanted status changes for posts that have been published during the waiting period.

This resolves issue #17076.

New Features

No new features were added in this patch release.

Security Updates

No security fixes were included in this patch release.

Performance Improvements

No specific performance improvements were included in this patch release.

Impact Summary

This patch release addresses a significant usability issue that affected content creators using Ghost's publishing workflow. The bug could cause confusion and frustration when published posts unexpectedly reverted to draft status after 10 minutes, potentially leading to content being unavailable to readers without the author's knowledge.

By fixing this issue, Ghost ensures that the publishing process works as expected, maintaining the integrity of content status changes and providing a more reliable publishing experience. This improvement is particularly important for publications with active content schedules and multiple contributors, as it prevents unexpected content disappearance and reduces the need for manual verification after publishing.

Full Release Notes

Statistics:

File Changed3
Line Additions5
Line Deletions3
Line Changes8
Total Commits2

User Affected:

  • No longer experience published posts unexpectedly reverting to draft status
  • Can publish posts with confidence that they will remain published
  • Don't need to manually check post status after publishing

Contributors:

mike182ukgithub-actions[bot]