Home

>

Tools

>

Ghost

>

Releases

>

4.30.0

Ghost Release: 4.30.0

Tag Name: v4.30.0

Release Date: 12/15/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.30.0 introduces a new video card feature allowing publishers to add custom video files with thumbnails to posts and pages. It also improves the member experience by automatically logging in users after Stripe Checkout completion, eliminating the need for email verification and reducing confusion. The update includes numerous refinements to video player controls, responsive behavior, and styling improvements for audio and file cards.

Highlight of the Release

    • New video card for adding custom video files with thumbnails to posts/pages
    • Automatic member login after Stripe Checkout completion
    • Improved video player controls and responsive behavior
    • Refined audio and file card styling
    • Updated CSS specificity for better theme compatibility

Migration Guide

Theme Developers

  • Review your theme's CSS specificity for compatibility with updated card styles
  • The default CSS styles for cards have been adjusted with a baseline specificity score of 21
  • Ensure your theme includes proper CSS for before/after cards as required by new gscan rules
  • Test your theme with the new video card to ensure proper rendering and controls behavior

No database migrations or breaking changes were mentioned that would require specific migration steps for regular users or administrators.

Upgrade Recommendations

This is a feature release that adds new capabilities and improves the member experience. We recommend all Ghost users upgrade to v4.30.0 to benefit from the new video card functionality and automatic member login after Stripe Checkout.

Theme developers should review their CSS specificity to ensure compatibility with the updated card styles. The release doesn't contain any breaking changes that would prevent immediate upgrade.

Bug Fixes

Video Player

  • Fixed seeker width jumping when playing audio
  • Fixed issue where video wouldn't play sometimes via player controls
  • Fixed responsive issues for video card
  • Fixed video player overlay issue on loop
  • Fixed inline controls for video card player
  • Fixed pause not working for video player
  • Fixed hidden controls for videos on loop

Build Process

  • Prevented TailScale failures from breaking the build by adding timeout and continue-on-error statements

New Features

Video Card

  • Added new video card allowing publishers to add custom video files with thumbnails to posts and pages
  • Implemented custom video player with intuitive controls
  • Added support for video looping with playsinline attribute for iOS/Safari compatibility
  • Created responsive design that works across different screen sizes
  • Added overlay icon and play/pause functionality by clicking on the video

Member Authentication

  • Members are now automatically logged in after completing Stripe Checkout
  • Eliminates the need for members to check emails and use magic links after payment
  • Provides immediate access to member-only content after purchase

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

Logging and Error Handling

  • Switched to @tryghost/logging v2 for improved logging
  • Replaced GhostError with InternalServerError for better error classification
  • Replaced error handler middleware with @tryghost/mw-error-handler

Dependencies

  • Updated multiple dependencies including postcss to v8.4.5
  • Updated various @tryghost packages to their latest versions

Impact Summary

Ghost 4.30.0 delivers significant improvements to content creation capabilities and member experience. The new video card feature empowers publishers to enhance their content with custom videos, complete with thumbnails and intuitive player controls. This opens up new storytelling possibilities and engagement opportunities.

The automatic login after Stripe Checkout addresses a common pain point in the member journey, eliminating friction at a critical conversion point. This change should reduce confusion, prevent duplicate signups, and create a smoother onboarding experience that gets members engaging with content faster.

For theme developers, the CSS specificity updates improve the balance between default styling and theme customization, making it easier to create visually consistent experiences while maintaining flexibility.

Overall, this release enhances Ghost's multimedia capabilities while streamlining the member experience, making it a valuable upgrade for publishers focused on content richness and conversion optimization.

Full Release Notes

Statistics:

File Changed52
Line Additions574
Line Deletions627
Line Changes1,201
Total Commits48

User Affected:

  • Can now add custom video files with thumbnails to posts and pages using the new video card
  • Benefit from improved video player controls and responsive behavior
  • Have access to refined audio and file card styling

Contributors:

renovate-botallouissanne-sansam-lordpeterzimonrshbhgrgminimaluminiumdaniellockyer