Home

>

Tools

>

Ghost

>

Releases

>

5.52.1

Ghost Release: 5.52.1

Tag Name: v5.52.1

Release Date: 6/20/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.1: Beta Editor Improvements and Performance Optimization

This patch release addresses several issues with the beta editor, including fixing HTML cards that were auto-closing tags when rendering and resolving left-aligned images in certain themes. It also improves the visibility of the beta feedback option and moves collections initialization behind a labs flag to improve boot time for large sites. These changes primarily affect content creators using the beta editor and site administrators managing large Ghost installations.

Highlight of the Release

    • Fixed HTML cards auto-closing tags in the beta editor
    • Resolved left-aligned images issue in certain themes when using the beta editor
    • Improved visibility of beta feedback option
    • Optimized performance for large sites by moving collections initialization behind a labs flag

Migration Guide

No migration steps are required for this patch release. The update can be applied directly without any additional configuration changes.

Upgrade Recommendations

This patch release is recommended for all Ghost users, especially those:

  • Using the beta editor for content creation
  • Running large Ghost sites where boot time performance is important

The update addresses several bugs in the beta editor and includes performance optimizations for large sites. As a patch release, it contains no breaking changes and should be safe to apply without disruption to your existing setup.

Bug Fixes

  • Beta Editor HTML Cards: Fixed an issue where HTML cards in the beta editor were auto-closing tags when rendering. This was resolved by bumping @tryghost/kg-default-nodes and @tryghost/kg-lexical-html-renderer with support for "raw" HTML values in rendered card output.

  • Left-Aligned Images: Fixed a problem where the beta editor was causing images to be left-aligned in some themes. This was addressed by bumping @tryghost/kg-default-nodes and @tryghost/kg-lexical-html-renderer to add the missing kg-image class on the <img> element of rendered image cards.

  • Beta Feedback Visibility: Fixed the "Beta feedback" option not showing in the beta editor when the feature flag was switched off. Now, even when the editor beta is turned off, any post created in the beta will still open in the beta editor, and the "beta feedback" text in the bottom right remains visible, making it easier to distinguish between the beta editor and the original editor.

New Features

No new features were introduced in this patch release.

Security Updates

No security fixes were included in this release.

Performance Improvements

  • Collections Initialization: Moved collections initialization behind a labs flag to improve performance. This change addresses an issue where large published:true queries were affecting the boot time of large sites, which had knock-on effects with availability. By placing this feature behind a labs flag, sites with large content databases will experience faster boot times and improved overall performance.

Impact Summary

Ghost v5.52.1 is a targeted patch release that improves the stability and usability of the beta editor while also addressing performance concerns for large sites. Content creators will benefit from fixes to HTML rendering and image alignment issues, making the beta editor more reliable for daily use. Site administrators managing large Ghost installations will see improved boot times and better overall site availability due to the optimization of collections initialization. These changes collectively enhance the experience for both content creators and site administrators without introducing any breaking changes or requiring migration steps.

Full Release Notes

Statistics:

File Changed8
Line Additions48
Line Deletions61
Line Changes109
Total Commits5

User Affected:

  • Fixed issues with HTML cards auto-closing tags in the beta editor
  • Resolved problems with left-aligned images in certain themes when using the beta editor
  • Improved visibility of the beta feedback option even when the beta flag is disabled

Contributors:

kevinansfieldallouisgithub-actions[bot]