Home

>

Tools

>

Ghost

>

Releases

>

4.26.0

Ghost Release: 4.26.0

Tag Name: v4.26.0

Release Date: 12/6/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 4.26.0 introduces two powerful new editor cards - Toggle and Callout - enhancing content creation flexibility. The Toggle card allows for collapsible content sections, while the Callout card creates highlighted text boxes with emoji support. This release also fixes critical issues with the bootstrap socket that were causing errors with Ghost-CLI, improves email templates, and updates the default Casper theme to v4.3.1. These additions give content creators more tools to create engaging, interactive content while maintaining platform stability.

Highlight of the Release

    • Two new editor cards: Toggle and Callout
    • Custom audio player UI for the audio card
    • Fixed bootstrap socket error affecting Ghost-CLI
    • Improved email templates and content for paid signups
    • Better Twitter embed support with linked content

Migration Guide

No specific migration steps are required for this release. The new editor cards (Toggle and Callout) will be available automatically in the editor after upgrading.

Upgrade Recommendations

This release is recommended for all Ghost users, especially those who create content regularly and would benefit from the new editor cards. The bug fixes for the bootstrap socket are important for maintaining compatibility with Ghost-CLI, so administrators should plan to upgrade at their earliest convenience.

As always, make a backup of your Ghost installation before upgrading.

Bug Fixes

Bootstrap Socket Error Fix

Fixed an error when sending messages via the bootstrap socket that was causing issues with Ghost-CLI. A previous refactor in @tryghost/bootstrap-socket changed the method signature, but the usage in Ghost wasn't updated accordingly, leading to errors.

Toggle Card Excerpt Fix

Fixed an issue where the toggle card was showing style values in post excerpts, which created confusing or broken-looking excerpts.

NFT Title Fallback

Added a fallback for NFT titles when the name is missing. Some NFT collections (like Bored Ape Yacht Club) don't name their tokens but refer to them by ID. The system now falls back to using the token_id, which is unique within the collection.

Callout Card Link Visibility in AMP

Fixed an issue where callout card links were invisible when displayed on brand-color backgrounds in AMP.

New Features

Toggle Card

The new Toggle card allows content creators to add collapsible content sections to posts and pages. This feature is perfect for FAQs, step-by-step guides, or any content that benefits from progressive disclosure. Users can click to expand or collapse sections, creating a more interactive and organized reading experience.

Callout Card

The Callout card creates highlighted text boxes with emoji support, making it easy to emphasize important information. This card displays an emoji alongside a paragraph of text in a visually distinct box, perfect for notes, warnings, tips, or other content that needs to stand out.

Custom Audio Player UI

A custom audio player UI has been added for the audio card, enhancing the listening experience with a more polished and branded interface. This includes custom CSS and JavaScript to create a better audio playback experience directly within Ghost content.

Improved Twitter Embeds

Twitter embeds now include additional data required to render linked content properly, such as images, polls, and mentioned users, creating a more complete Twitter experience within Ghost content.

Security Updates

No significant security fixes were included in this release.

Performance Improvements

Improved Boot Process

The vhost mounts have been moved into a boot file, making the process more explicit and organized. This change makes it potentially possible to:

  1. Boot the frontend or backend independently
  2. Pass services and settings loaded during boot into the frontend

Express App Stacking Fix

Fixed an issue with express app stacking that was causing strange behavior when testing redirects and vhost mounts. The root app module was being initialized only once per runtime, causing express apps to stack on each other.

Impact Summary

Ghost 4.26.0 significantly enhances the content creation experience with two new editor cards that expand the possibilities for interactive and visually distinct content. The Toggle card enables progressive disclosure patterns that can improve readability for complex or lengthy content, while the Callout card provides a visually appealing way to highlight important information.

The improvements to email templates and Twitter embeds will result in a better experience for subscribers, with more complete and visually consistent content delivery. The custom audio player UI enhances the multimedia experience within Ghost.

For developers and administrators, the fixes to the bootstrap socket and improvements to the boot process contribute to a more stable and maintainable platform. The reorganization of vhost mounts is a step toward potentially more flexible deployment options in the future.

Overall, this release balances new user-facing features with important under-the-hood improvements that maintain Ghost's reputation for stability and performance.

Full Release Notes

  • ✨ Added toggle card to editor - Rishabh Garg
  • ✨ Added callout card to editor - Thibaut Patel
  • 🎨 Updated Casper to v4.3.1 - Peter Zimon
  • 🐛 Fixed error when sending messages via bootstrap socket - Daniel Lockyer

View the changelogs for full details:

Statistics:

File Changed27
Line Additions592
Line Deletions275
Line Changes867
Total Commits30

User Affected:

  • Access to new Toggle card for creating collapsible content sections
  • Access to new Callout card for creating highlighted text boxes with emoji support
  • Improved Twitter embeds with better support for linked content like images and polls
  • Better audio player UI for the audio card

Contributors:

djordjevlaisallouispeterzimonrenovate-botdaniellockyernazrshbhgrgkevinansfieldsanne-santpatel