Home

>

Tools

>

Ghost

>

Releases

>

5.61.2

Ghost Release: 5.61.2

Tag Name: v5.61.2

Release Date: 9/5/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.61.2 is a minor bug fix release that addresses two key issues: incorrect rendering of links following line breaks in the beta editor and reverting a problematic change that affected post saving behavior. This release ensures content displays correctly and prevents unexpected errors during post editing.

Highlight of the Release

    • Fixed incorrect rendering of links following line breaks in the beta editor
    • Reverted problematic post save task handling to prevent unexpected errors and content loss
    • Improved stability of the content editing experience

Migration Guide

No migration steps are required for this release. This is a drop-in replacement that fixes bugs without introducing breaking changes or requiring configuration updates.

Upgrade Recommendations

All Ghost users, especially those using the beta editor, should upgrade to v5.61.2 to benefit from the bug fixes. The upgrade is straightforward and addresses issues that could affect content rendering and editing experience.

For users experiencing incorrect link rendering in the beta editor or unexpected errors during post saving, this upgrade is particularly recommended.

Bug Fixes

Fixed incorrect rendering of links following line breaks

Links that followed line breaks in the beta editor were being rendered before the line break when previewing or publishing content. This issue has been fixed by updating the Koenig packages, specifically the @tryghost/kg-lexical-html-renderer component.

Reverted problematic post save task handling

This release reverts the change introduced in PR #17912 that attempted to optimize post saving by dropping intermediate saves between the current running save and the latest triggered save. This approach had several unintended side effects:

  1. Error handling became disconnected from specific requests, causing slug-related failures to be handled by non-slug-save code
  2. Internal TaskCancelation errors were being displayed as general errors in the UI, showing misleading error messages
  3. Model rollbacks were being initiated unnecessarily, potentially causing loss of content changes

The reversion ensures that save tasks behave as expected, with proper error handling tied to specific requests.

New Features

No new features were introduced in this release. This is a bug fix release focused on addressing specific issues in the beta editor and post saving functionality.

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 bugs and ensuring correct functionality rather than performance optimization.

Impact Summary

This release focuses on improving the stability and reliability of the Ghost editing experience. By fixing the link rendering issue in the beta editor, content creators can now be confident that their content will appear as intended when published.

The reversion of the problematic post save task handling prevents unexpected errors, misleading error messages, and potential loss of content changes during editing. This ensures a more predictable and reliable editing experience.

While these changes may seem minor, they address important usability issues that could significantly impact the content creation workflow. The fixes maintain Ghost's commitment to providing a smooth and intuitive publishing experience.

Full Release Notes

Statistics:

File Changed5
Line Additions33
Line Deletions33
Line Changes66
Total Commits3

User Affected:

  • Links following line breaks in the beta editor now render correctly
  • More reliable post saving behavior with fewer unexpected errors
  • No more unexpected model rollbacks that could cause loss of content changes

Contributors:

kevinansfieldgithub-actions[bot]