Home

>

Tools

>

Ghost

>

Releases

>

4.31.0

Ghost Release: 4.31.0

Tag Name: v4.31.0

Release Date: 12/16/2021

Ghost LogoGhost

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

TL;DR

Ghost v4.31.0 introduces several new editor cards including a file upload card, before/after image slider, and header card. These additions enhance content creation capabilities, allowing for more interactive and visually appealing posts. The update also includes styling refinements for existing cards and adds support for additional audio file formats.

Highlight of the Release

    • New file upload card for sharing downloadable files directly in posts
    • Before/After image slider for visual comparisons
    • Header card for better content organization
    • Support for additional WAV audio file formats
    • Styling refinements for existing cards

Migration Guide

No migration steps are required for this update. The new editor cards will be available automatically after updating to v4.31.0.

Upgrade Recommendations

This is a feature release that adds new content creation capabilities without breaking changes. It is recommended for all users to upgrade to take advantage of the new editor cards and styling improvements. The update process should be straightforward with no special considerations required.

Bug Fixes

  • Fixed image width handling in before/after slider
  • Resolved issues with small images in "wide" before/after card
  • Fixed focus behavior on slider to prevent it from capturing scroll events after use
  • Improved styling of mismatched aspect ratio sliders
  • Fixed header card rendering when no subheader is provided
  • Fixed audio file duration missing digit in editor

New Features

New Editor Cards

  • File Upload Card: Added a new card that allows custom file uploads directly in the editor, enabling content creators to share downloadable files with readers
  • Before/After Image Slider: Implemented an interactive slider for comparing two images side-by-side with a draggable divider
  • Header Card: Added a configurable header card with optional subheader and width settings for better content organization

Audio Support Improvements

  • Added support for additional WAV MIME types: audio/x-wav, audio/wav, and audio/wave

Theme Update

  • Updated default Casper theme to version 4.6.1

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

  • Reformatted media content types for better maintainability
  • Updated HTML to Mobiledoc parser for improved card handling
  • Various dependency updates to improve overall performance:
    • Updated passport to v0.5.1
    • Updated cssnano to v5.0.13
    • Updated multiple @tryghost packages including adapter-manager, image-transform, and session-service

Impact Summary

Ghost v4.31.0 significantly enhances the content creation experience by introducing three new editor cards: a file upload card for sharing downloadable files, a before/after image slider for visual comparisons, and a header card for better content organization. These additions provide content creators with more tools to create engaging and interactive posts.

The file upload card addresses a common need for sharing downloadable resources directly within posts, while the before/after slider enables powerful visual storytelling through image comparisons. The header card improves content structure and readability.

The release also includes styling refinements for existing cards, support for additional audio file formats, and various bug fixes that improve the overall user experience. The update to the default Casper theme (v4.6.1) ensures that sites using the default theme benefit from the latest improvements.

For developers, the update includes several dependency updates that improve the platform's stability and performance.

Full Release Notes

  • ✨ Added file card to editor - Rishabh Garg
  • 🎨 Updated Casper to v4.6.1 - Daniel Lockyer
  • 🐛 Fixed audio file duration missing digit in editor - Sanne de Vries

View the changelogs for full details:

Statistics:

File Changed15
Line Additions586
Line Deletions128
Line Changes714
Total Commits33

User Affected:

  • Access to new file upload card for sharing downloadable files
  • Can use before/after image slider for visual comparisons
  • New header card options for better content organization
  • Improved styling for callouts and product cards

Contributors:

allouistpatelpeterzimonrshbhgrgnazrenovate-botdaniellockyer