Home

>

Tools

>

Ghost

>

Releases

>

5.33.1

Ghost Release: 5.33.1

Tag Name: v5.33.1

Release Date: 1/30/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.33.1 - Newsletter Fixes

This patch release addresses two important bugs affecting newsletters in Ghost:

  1. Fixed an issue where resending failed newsletters would display incorrect recipient data due to inconsistencies between post email segments and selected recipient filters.

  2. Fixed HTML escaping in feature image captions within newsletters, ensuring proper rendering of formatting like bold and underline text.

These fixes improve the reliability and appearance of newsletters, particularly for users who need to resend failed email campaigns.

Highlight of the Release

    • Fixed newsletter resending to show correct recipient data
    • Fixed HTML escaping in feature image captions for newsletters

Migration Guide

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

Upgrade Recommendations

This patch release is recommended for all Ghost users who utilize the newsletter functionality, especially those who have experienced issues with:

  • Incorrect recipient data when resending failed newsletters
  • Improperly formatted feature image captions in newsletters

As this is a patch release with targeted bug fixes and no breaking changes, upgrading should be straightforward and low-risk. We recommend applying this update at your earliest convenience to ensure reliable newsletter delivery and proper formatting.

Bug Fixes

Newsletter Resending with Correct Recipient Data

Fixed an issue where resending a failed newsletter would show incorrect recipient data. The problem occurred because the system wasn't properly accounting for existing email segments set on posts. While this typically isn't an issue during the normal publishing flow (where post.emailSegment and selectedRecipientFilter are kept in sync), it became problematic when emails failed to send and were later retried, creating an inconsistency between these values.

HTML Formatting in Feature Image Captions

Fixed HTML escaping of feature_image_caption in newsletters. Previously, formatting like bold, underline, and other HTML elements in image captions was being incorrectly escaped in the new email stability flow, causing the formatting to display as raw HTML rather than rendering properly. This fix ensures that formatting in image captions appears correctly in newsletters.

New Features

No new features were introduced in this patch release. This update focuses exclusively on bug fixes for the newsletter functionality.

Security Updates

No security fixes were included in this patch release.

Performance Improvements

No specific performance improvements were included in this patch release. The focus was on fixing critical bugs in the newsletter functionality.

Impact Summary

This patch release addresses two specific bugs in Ghost's newsletter functionality, improving reliability and visual presentation. The first fix ensures that when resending failed newsletters, the correct recipient data is displayed, resolving inconsistencies between email segments and recipient filters. The second fix corrects HTML escaping in feature image captions, ensuring that formatting like bold and underline text renders properly in newsletters rather than showing as raw HTML. These improvements enhance the newsletter experience for both content creators managing email campaigns and subscribers receiving them. The changes are targeted and non-breaking, making this a low-risk update that delivers important quality-of-life improvements for newsletter publishers.

Full Release Notes

  • 🐛 Fixed HTML escaping of feature_image_caption in newsletters - Simon Backx
  • 🐛 Fixed newsletter resending showing incorrect recipient data - Fabien 'egg' O'Carroll

View the changelog for full details: v5.33.0...v5.33.1

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

Statistics:

File Changed5
Line Additions18
Line Deletions4
Line Changes22
Total Commits3

User Affected:

  • Can now see accurate recipient data when resending failed newsletters
  • Feature image captions in newsletters will now properly display formatting (bold, underline, etc.)

Contributors:

allouisSimonBackxgithub-actions[bot]