Home

>

Tools

>

Ghost

>

Releases

>

5.33.3

Ghost Release: 5.33.3

Tag Name: v5.33.3

Release Date: 2/1/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.3: Email Rendering Fixes

This patch release addresses two critical email-related bugs in Ghost CMS. It fixes issues with blank email previews when accessing them from member activity feeds and resolves a problem with header image widths not being properly set in emails. These fixes ensure a more reliable email experience for both administrators and newsletter subscribers.

Highlight of the Release

    • Fixed blank email previews when accessing from member activity feeds
    • Resolved header image width issues in email newsletters

Migration Guide

No migration steps are required for this patch release. Simply update to v5.33.3 to benefit from the email rendering fixes.

Upgrade Recommendations

This patch release is recommended for all Ghost users who utilize the email and newsletter functionality. The fixes address important issues with email previews and header image rendering that could impact the quality of newsletters sent to subscribers.

To upgrade:

  1. Back up your Ghost installation
  2. Follow the standard Ghost update procedure for your installation method
  3. No additional configuration changes are required after updating

Bug Fixes

Email Preview Fix

Fixed an issue where email previews would appear blank when accessed from member activity feeds. The problem occurred because email objects no longer contain an html field, causing the fallback logic in the email preview modal to fail. This resulted in a 404 error when trying to fetch an email preview using the email ID rather than a post ID.

The fix implements improved logic in the preview modal to use data.post_id || data.id for generating the preview URL, ensuring that email previews load correctly regardless of how they're accessed.

Email Header Image Width Fix

Resolved an issue where email header images were not having their width properly set due to a missing dependency. This fix ensures that header images in newsletters display at the correct width, improving the overall appearance and consistency of emails sent from Ghost.

New Features

No new features were introduced in this patch release. This update focuses exclusively on bug fixes for email 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 email rendering bugs.

Impact Summary

Ghost v5.33.3 is a targeted patch release that addresses two specific email-related bugs. The first fix resolves an issue where email previews would appear blank when accessed from member activity feeds, which was caused by changes to the email object structure. The second fix ensures that header images in emails have their width properly set, resulting in better-looking newsletters.

These fixes are particularly important for Ghost users who rely on the newsletter functionality, as they improve both the administrative experience when previewing emails and the end-user experience when receiving newsletters. The changes are non-breaking and require no special migration steps, making this a straightforward but valuable update for maintaining email functionality.

Full Release Notes

  • 🐛 Fixed blank email previews when opening from member activity feeds (#16207) - Kevin Ansfield
  • 🐛 Fixed email header image width not set (#16210) - Simon Backx

View the changelog for full details: v5.33.2...v5.33.3

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

Statistics:

File Changed4
Line Additions7
Line Deletions5
Line Changes12
Total Commits3

User Affected:

  • Can now properly preview emails from member activity feeds without encountering blank screens
  • Will see correctly formatted emails with proper header image widths when sending newsletters

Contributors:

SimonBackxkevinansfieldgithub-actions[bot]