Home

>

Tools

>

Ghost

>

Releases

>

3.35.3

Ghost Release: 3.35.3

Tag Name: 3.35.3

Release Date: 10/2/2020

Ghost LogoGhost

Open-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.

TL;DR

Ghost 3.35.3: Email System Reliability Improvements

This patch release focuses on fixing critical issues with Ghost's email system and post saving functionality. Several bugs that caused emails to fail silently or show incorrect status have been resolved, ensuring more reliable newsletter delivery. The update also fixes a validation error when saving posts and improves handling of member data for email recipients. These fixes are particularly important for publishers who rely on Ghost's newsletter functionality.

Highlight of the Release

    • Fixed multiple issues with email status reporting, ensuring failed emails are properly marked as failed
    • Resolved problem where newsletters were being sent to incorrect email addresses for paid members
    • Fixed post validation error that prevented saving posts in certain scenarios
    • Added protection against partial email batch/recipient records when creation fails

Migration Guide

No migration steps are required for this patch release. Simply update to version 3.35.3 to benefit from the bug fixes.

Upgrade Recommendations

This patch release (3.35.3) is highly recommended for all Ghost users, especially those who actively use the newsletter functionality. The fixes address several critical issues with email delivery and status reporting that could lead to failed communications with your audience without proper notification. Content creators will also benefit from the fix for post validation errors.

The update is a standard patch release with no breaking changes, so upgrading should be straightforward with minimal risk.

Bug Fixes

Email System Fixes

  • Fixed Email Status Reporting: Emails that failed to send were incorrectly showing as successful. The system now properly updates the status when batches fail to send.

  • Fixed Email Preparation Errors: When errors occurred during email preparation, the status remained as 'pending' instead of being marked as failed. This has been fixed to properly update the email status and record error messages.

  • Fixed Newsletter Recipient Emails: Resolved an issue where newsletters were being sent to Stripe customer emails instead of member emails for paid members. This was caused by duplicate column names in SQL queries, which has been fixed by explicitly selecting data only from the members table.

  • Prevented Partial Email Records: Added transaction wrapping for email batch/recipient record creation to prevent partial records when errors occur during creation.

  • Added Data Validation for Email Recipients: Added a validation check before adding recipient details to prevent failures due to missing data, along with logging for investigation.

Post Management Fixes

  • Fixed Post Validation Error: Resolved the "Validation failed for posts[0]" error that occurred when saving posts, which was caused by schema clashing in the cache that triggered validation against the wrong API version.

New Features

Accent Color Support for Portal Flag

Ghost now properly supports accent color settings for sites with the portal flag enabled. Previously, the accent color setting was being deleted when behind the Portal flag, but this update ensures that Ghost Admin correctly reflects the accent color when the flag is switched on. This allows for more consistent branding across your membership site.

Security Updates

No security fixes were mentioned in this release.

Performance Improvements

No specific performance improvements were mentioned in this release. The focus was primarily on bug fixes related to email functionality and post saving.

Impact Summary

Ghost 3.35.3 significantly improves the reliability of the email system by fixing several critical bugs that affected newsletter delivery and status reporting. Publishers who rely on Ghost's newsletter functionality will benefit from more accurate email status reporting, proper delivery to the correct member email addresses, and better error handling.

The patch also resolves a frustrating validation error when saving posts, improving the content creation experience. Additionally, site administrators using the portal feature now have proper support for accent color settings, allowing for more consistent branding.

Overall, this release enhances the stability and reliability of core Ghost functionality without introducing any breaking changes or requiring migration steps.

Full Release Notes

  • 🐛 Fixed email showing as success when an email batch fails to send - Kevin Ansfield
  • 🐛 Fixed email not showing as failed if error occurs when preparing email - Kevin Ansfield
  • 🐛 Fixed newsletters being sent to Stripe customer emails in place of member emails - Kevin Ansfield
  • 🐛 Fixed "Validation failed for posts[0]" error when saving a post - Naz

See the changelogs for Ghost and Ghost-Admin for the details of every change in this release.

Statistics:

File Changed7
Line Additions62
Line Deletions36
Line Changes98
Total Commits9

User Affected:

  • Fixed issue where emails would incorrectly show as successful when batches failed to send
  • Fixed problem where newsletters were being sent to Stripe customer emails instead of member emails
  • Improved error handling for email preparation failures
  • Added protection against partial email batch/recipient records when creation fails

Contributors:

nazrshbhgrgkevinansfieldsam-lord