Home

>

Tools

>

Ghost

>

Releases

>

5.33.4

Ghost Release: 5.33.4

Tag Name: v5.33.4

Release Date: 2/2/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.4 adds automatic database query retrying to the email service, significantly improving reliability when sending emails during temporary database connection issues. This update ensures that crucial email operations can continue even when the database experiences brief connectivity problems, reducing the risk of email delivery failures.

Highlight of the Release

    • Added automatic database query retrying to the email service
    • Improved resilience against temporary database connection issues
    • Enhanced reliability of the critical email sending flow
    • Different retry timeouts for pre-send and post-send database operations

Migration Guide

No migration steps are required for this release. The automatic database query retrying feature is implemented transparently and will work automatically after upgrading.

Upgrade Recommendations

This release is recommended for all users, especially those who:

  • Send a high volume of emails through Ghost
  • Have experienced occasional database connection issues
  • Run Ghost in environments with less stable database connections
  • Prioritize email delivery reliability

The upgrade process is standard with no special steps required. As always, it's recommended to backup your database before upgrading.

Bug Fixes

  • Fixed issue where email sending would fail completely when encountering temporary database connection problems (Team#2512)
  • Resolved potential data inconsistency where emails might be sent but not recorded as sent in the database

New Features

Automatic Database Query Retrying for Email Service

Ghost's email service now includes an automatic retry mechanism for database operations:

  • Pre-send database operations will retry for up to 10 minutes when encountering connection issues
  • Post-send database operations have extended retry periods to prevent data loss (such as recording that an email was successfully sent)
  • New helper method implemented to handle database operation retries systematically
  • System will automatically attempt to recover from temporary database connectivity problems without manual intervention

This enhancement significantly improves the reliability of Ghost's email sending capabilities, ensuring that temporary database connection issues don't interrupt critical email delivery workflows.

Security Updates

No security fixes were included in this release.

Performance Improvements

  • Enhanced resilience: The email service can now withstand temporary database connection issues
  • Improved recovery: Automatic retry mechanism reduces downtime and service interruptions
  • Optimized reliability: Critical post-send database operations have extended retry periods to ensure data consistency
  • Reduced failure rate: Email sending process now has better protection against transient database connectivity problems

Impact Summary

This release significantly improves the reliability of Ghost's email service by adding automatic database query retrying. The email sending flow is now more resilient against temporary database connection issues, which previously could cause email delivery failures.

The implementation includes different retry strategies for database operations that occur before and after sending emails. Pre-send operations will retry for up to 10 minutes, while post-send operations have an extended retry period to prevent data loss and ensure proper recording of email delivery status.

This enhancement is particularly valuable for Ghost installations that experience occasional database connectivity issues or run in environments with less stable infrastructure. The automatic retry mechanism works transparently without requiring any configuration changes or user intervention.

Overall, this update addresses a critical reliability issue in one of Ghost's core functions - email delivery - making the platform more robust and reducing the need for manual recovery from temporary database problems.

Full Release Notes

This release contains fixes for minor bugs and issues reported by Ghost users.


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

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

Statistics:

File Changed4
Line Additions434
Line Deletions38
Line Changes472
Total Commits2

User Affected:

  • Improved reliability of the email service during database connection issues
  • Reduced risk of email delivery failures due to temporary database problems
  • Less manual intervention needed to recover from database connectivity issues

Contributors:

SimonBackxgithub-actions[bot]