Home

>

Tools

>

Ghost

>

Releases

>

3.39.2

Ghost Release: 3.39.2

Tag Name: 3.39.2

Release Date: 12/7/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.39.2 is a minor patch release that fixes a potential error when handling Mailgun API responses. This update ensures the system properly checks for the existence of the items array in Mailgun responses before attempting to process them, preventing potential errors in email functionality.

Highlight of the Release

    • Fixed potential error when processing Mailgun API responses
    • Improved error handling for email functionality

Migration Guide

No migration steps are required for this update. This is a straightforward bug fix that can be applied without any additional configuration or migration steps.

Upgrade Recommendations

This update is recommended for all Ghost installations, especially those using Mailgun for email functionality. While the bug fix is specific to Mailgun response handling, upgrading ensures your Ghost installation has the latest stability improvements.

To upgrade, follow the standard Ghost update process:

ghost update

If you're using Ghost(Pro), your site will be updated automatically.

Bug Fixes

Mailgun Response Error Handling

Added a guard to check for the existence of the page.items array in Mailgun API responses before attempting to process them. Previously, if a Mailgun response did not include the expected items array, it could cause an error in the application. This fix ensures proper validation of the response structure before processing, preventing potential errors in email functionality.

New Features

No new features were added in this release. This is a bug fix release focused on improving stability when handling Mailgun API responses.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release.

Impact Summary

Ghost 3.39.2 is a minor patch release that improves the stability of email functionality by adding proper validation for Mailgun API responses. This update prevents potential errors that could occur when the expected items array is missing from a Mailgun response.

The impact is primarily focused on improving error handling and preventing unexpected failures in email-related features. Users should experience more reliable email functionality, particularly in edge cases where Mailgun returns responses with unexpected structures.

This update is part of Ghost's ongoing commitment to stability and reliability, ensuring that integrations with third-party services like Mailgun are robust and error-resistant.

Full Release Notes

  • 🐛 Added guard for page.items existing in Mailgun response - Kevin Ansfield

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

Statistics:

File Changed3
Line Additions3
Line Deletions3
Line Changes6
Total Commits3

User Affected:

  • Less likely to encounter errors when working with email functionality that uses Mailgun
  • More stable email operations with improved error handling

Contributors:

kevinansfielddaniellockyer