Home

>

Tools

>

Ghost

>

Releases

>

3.20.3

Ghost Release: 3.20.3

Tag Name: 3.20.3

Release Date: 6/18/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.20.3 is a minor patch release that fixes an issue with handling empty image card payloads in the mobiledoc editor. This release ensures that image cards without a src attribute (placeholders) are properly handled, preventing potential errors when working with such content. The update also includes a test fix by removing an errant .only in the test suite.

Highlight of the Release

    • Fixed handling of empty image card payloads in the mobiledoc editor
    • Improved stability when working with placeholder images
    • Fixed test suite configuration

Migration Guide

No migration steps are required for this update. This is a patch release that can be installed directly without any special considerations.

Upgrade Recommendations

This is a minor patch release that fixes issues with handling empty image card payloads. While not critical, upgrading is recommended for all users to ensure proper handling of placeholder images in the content editor. The update is backward compatible and should not cause any disruption to existing functionality.

Bug Fixes

Image Card Handling Fix

Fixed an issue in the mobiledoc.populateImageSizes functionality that was not properly handling empty image card payloads. Previously, when an image card was saved without a src attribute (as a placeholder), it could potentially cause errors. This fix ensures that these placeholder images are handled correctly, improving the stability of the content editing experience.

Test Suite Fix

Removed an errant .only in the test suite that may have been limiting test coverage by only running a single test instead of the full suite.

New Features

No new features were introduced in this patch release. This update focuses on bug fixes and stability improvements.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release. The changes focus on bug fixes rather than performance enhancements.

Impact Summary

Ghost 3.20.3 is a maintenance release with minimal impact on day-to-day operations. The primary fix addresses how the system handles placeholder images (image cards without a src attribute) in the mobiledoc editor, which improves stability when working with such content. Content creators may notice more reliable behavior when working with placeholder images, but most users won't observe any visible changes. The update also includes a test suite fix that ensures proper test coverage for developers working with the codebase.

Full Release Notes

No user-visible changes in this release.

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

Statistics:

File Changed4
Line Additions6
Line Deletions5
Line Changes11
Total Commits4

User Affected:

  • Fixed an issue where placeholder images (image cards without a `src` attribute) could cause problems
  • More stable editing experience when working with incomplete image content

Contributors:

kevinansfielddaniellockyer