Home

>

Tools

>

Ghost

>

Releases

>

4.27.0

Ghost Release: 4.27.0

Tag Name: v4.27.0

Release Date: 12/8/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.27.0 brings enhanced content creation tools and email improvements

This release focuses on improving the content creation experience with new styling options and better email rendering. The alternative blockquote style gives writers more design flexibility, while rich Twitter embeds in emails provide a more engaging newsletter experience. Performance improvements to the testing infrastructure will benefit developers. This update is recommended for all Ghost users, especially those who regularly send email newsletters or use Twitter content in their publications.

Highlight of the Release

    • New alternative blockquote style for more design flexibility
    • Rich Twitter embeds in email newsletters that look like actual tweets
    • Confirmation dialog when publishing posts/pages to prevent accidents
    • Significant performance improvements to testing infrastructure
    • Audio card player enhancements with playback speed options and improved controls
    • New product card for showcasing products in posts

Migration Guide

No migration steps are required for this release. The update from v4.26.1 to v4.27.0 should be straightforward with no breaking changes reported.

Upgrade Recommendations

This is a recommended upgrade for all Ghost users, especially those who:

  • Send email newsletters regularly and want improved Twitter embed rendering
  • Use blockquotes frequently and would benefit from additional styling options
  • Want the added safety of confirmation dialogs when publishing content

The update contains no breaking changes and should be a smooth upgrade from v4.26.1. As always, it's recommended to backup your database before upgrading.

Bug Fixes

  • Fixed issue where pasting HTML into a KoenigBasicHtmlInput wasn't working correctly
  • Fixed bug where pasted image files would appear twice in the editor
  • Fixed problem with initial paste of Twitter URL not triggering full script load
  • Fixed Twitter embed card styles in emails for better appearance
  • Fixed volume slider not working in audio card player
  • Fixed database connection issues when restoring DB file in tests
  • Resolved issues with blockquote card styles by removing unnecessary CSS

New Features

Alternative Blockquote Style

  • Added a second blockquote style option for more design flexibility
  • Removed the quoteStyles feature flag as this feature is now generally available
  • Added theme checks for the .kg-blockquote-alt CSS class

Rich Twitter Embeds in Emails

  • Twitter embeds in newsletters now render as rich cards instead of plain text blockquotes
  • Cards visually match the appearance of actual tweets
  • Improved media spacing for Twitter embeds on mobile devices

Product Card

  • Added a new product card for showcasing products in posts
  • Includes frontend rendering and styling similar to the Koenig editor
  • Added parser plugin for proper rendering

Audio Card Improvements

  • Added dynamic play/pause and mute/unmute state indicators
  • Implemented multiple playback speed options
  • Refined seek and volume sliders with progress markers
  • Improved styles across browsers including Chrome

Other Additions

  • Added confirmation dialog when publishing posts or pages
  • Added tweetGridCard feature flag for enabling tweet grid cards in card menus

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

Testing Infrastructure

  • Copied DB for faster SQLite tests instead of reinitializing the database each time
  • Saves approximately 700ms+ for every test reset
  • Destroyed database connection before restoring DB file to prevent "database disk image is malformed" errors

Other Improvements

  • Moved locale testing out of Casper fixture to a standalone theme
  • Makes it easier to update the Casper fixture
  • Prevented TailScale from running in pushes to main branch on forks

Impact Summary

Ghost v4.27.0 enhances the content creation experience with new styling options and improved email rendering capabilities. The alternative blockquote style gives publishers more design flexibility, while rich Twitter embeds in emails provide a more engaging newsletter experience for readers.

The addition of confirmation dialogs when publishing posts or pages helps prevent accidental publishing, improving the editorial workflow. The new product card feature allows for better showcasing of products within posts, which is particularly valuable for publications with e-commerce components.

For developers, significant performance improvements to the testing infrastructure will speed up development cycles, with SQLite tests running much faster due to database copying optimizations.

Overall, this release focuses on quality-of-life improvements for content creators while also laying groundwork for future features with the introduction of new card types and rendering capabilities.

Full Release Notes

  • ✨ Added an additional blockquote style - Kevin Ansfield
  • ✨ Added support for rich Twitter embeds in emails - Fabien egg O'Carroll
  • 🎨 Updated Casper to v4.4.0 - Daniel Lockyer
  • 🎨 Added confirmation dialog any time a post/page will be published - Kevin Ansfield
  • 🐛 Fixed pasting html into a KoenigBasicHtmlInput - Thibaut Patel
  • 🐛 Fixed pasted image files appearing twice in editor - Kevin Ansfield
  • 🐛 Fixed initial paste of Twitter URL not triggering full script load - Kevin Ansfield

View the changelogs for full details:

Statistics:

File Changed20
Line Additions599
Line Deletions453
Line Changes1,052
Total Commits42

User Affected:

  • Access to an additional blockquote style for more design flexibility
  • Improved Twitter embeds in email newsletters that look more like actual tweets
  • New confirmation dialog when publishing posts/pages to prevent accidental publishing
  • Fixed issues with pasting HTML and images in the editor

Contributors:

ErisDSdaniellockyersam-lorddjordjevlaisnazallouissanne-sanrshbhgrgrenovate[bot]peterzimonrenovate-botkevinansfieldtpatel