Home

>

Tools

>

Ghost

>

Releases

>

5.79.5

Ghost Release: 5.79.5

Tag Name: v5.79.5

Release Date: 2/26/2024

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.79.5: UI Improvements and Bug Fixes

This release brings several quality-of-life improvements to Ghost, including the ability to rename the free tier and set default pricing display preferences. Multiple UI bugs have been fixed, particularly in the editor and theme customization areas. The update also includes performance optimizations for comments and analytics tracking improvements with PostHog integration.

Highlight of the Release

    • Added ability to customize the name of the free membership tier
    • Added option to show monthly pricing by default during signup
    • Fixed rendering issues with wide and full-width cards in the editor
    • Fixed HTML entities being incorrectly decoded in HTML cards
    • Improved preview experience with fixed iframe scroll position retention
    • Added caching for comments API to reduce server load

Migration Guide

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

Upgrade Recommendations

This release contains several important bug fixes and quality-of-life improvements. It's recommended for all Ghost users to upgrade to v5.79.5, especially those who:

  • Use the editor extensively with wide or full-width cards
  • Have custom themes with text field settings
  • Use the membership and subscription features
  • Have the comments feature enabled on their site

The update is backward compatible and should not cause any disruption to existing functionality.

Bug Fixes

Editor Fixes

  • Fixed wide and full-width cards not displaying correctly inside the editor
  • Fixed explicit HTML entities being incorrectly decoded when rendering HTML cards, which could result in broken output

UI/UX Fixes

  • Fixed Portal icon misalignment in Preview mode
  • Fixed iframe not maintaining scroll position when updated in preview mode
  • Improved custom theme textfield behavior to update on blur rather than with every keystroke, preventing constant iframe rerendering and flashing
  • Changed visibility handling from invisible class to opacity-based approach for better iframe positioning

Testing & Infrastructure

  • Fixed browser tests to be less flaky, particularly for offers and publishing timezone tests
  • Increased test timeouts to prevent occasional failures
  • Fixed issue with PostHog function calls before the library was fully loaded

New Features

Membership & Pricing Customization

  • Customizable Free Tier Name: Site owners can now change the name of the free tier to better match their branding or membership strategy
  • Default Pricing Display: Added option to show monthly pricing by default during signup instead of yearly
  • Discount Visibility: Added a "% discount" summary on the yearly pricing tab to better highlight savings

Analytics Improvements

  • Added PostHog event tracking integration with the existing event tracking system
  • Created a reusable isPosthogLoaded utility function to ensure consistent checking across the application
  • Fixed issues with calling PostHog functions before the library is fully loaded

Comments Performance

  • Added 10-second caching for Comments-UI API fetch to significantly reduce server load

Security Updates

No specific security fixes were included in this release.

Performance Improvements

Comments System Performance

  • Added rounding to Comments-UI API fetch timestamp, allowing comments to be cached for 10 seconds
  • This change significantly reduces the load on the Ghost server by preventing redundant API calls

UI Rendering Improvements

  • Changed custom theme textfields to update on blur instead of with every keystroke, reducing unnecessary rerenders
  • Improved iframe handling in preview mode to prevent flickering and maintain proper positioning
  • Optimized Portal preview rendering by using proper visibility techniques instead of hiding elements completely

Impact Summary

Ghost v5.79.5 focuses on enhancing the user experience through bug fixes and feature improvements. Site owners gain more flexibility in membership offerings with customizable free tier naming and pricing display options. Content creators benefit from fixes to editor rendering issues, particularly with wide/full-width cards and HTML entities in HTML cards.

The release also brings performance improvements, most notably with comment system caching that reduces server load. UI enhancements improve the preview experience and theme customization workflow by eliminating unnecessary rerenders and maintaining scroll position.

For developers and administrators, the release includes improved PostHog analytics integration and more reliable browser tests. These changes collectively make Ghost more stable, customizable, and performant without introducing breaking changes or requiring migration steps.

Full Release Notes

  • 🎨 Added option to change the name of the free tier (#19715) - Sag
  • 🐛 Fixed explicit HTML entities being decoded when rendering HTML cards (#19728) - Kevin Ansfield
  • 🐛 Fixed iFrame not keeping scroll position on update (#19725) - Ronald Langeveld
  • 🐛 Fixed Portal icon misaligned in Preview (#19723) - Ronald Langeveld
  • 🐛 Fixed custom theme textfield rerendering (#19714) - Ronald Langeveld
  • 🐛 Fixed wide + full-width cards not displaying correctly inside the editor (#19711) - Kevin Ansfield

View the changelog for full details: v5.79.4...v5.79.5

Statistics:

File Changed25
Line Additions290
Line Deletions214
Line Changes504
Total Commits28

User Affected:

  • Can now customize the name of the free tier for their membership offerings
  • Can choose whether monthly or yearly pricing is displayed by default during signup
  • Will see a '% discount' summary on the yearly pricing tab

Contributors:

renovate[bot]kevinansfieldgithub-actions[bot]ronaldlangeveldsagzycmraible55sketch9larsonsLekler