Home

>

Tools

>

Ghost

>

Releases

>

5.82.11

Ghost Release: 5.82.11

Tag Name: v5.82.11

Release Date: 5/17/2024

Ghost LogoGhost

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

TL;DR

Ghost v5.82.11 brings significant improvements to the editor experience, performance optimizations for filtering, and enhanced ActivityPub functionality for Ghost-to-Ghost connections. This release fixes critical bugs with snippet insertion and Stripe checkout, while also refining the UI with more consistent forms and friendlier error messages. The update includes major improvements to internal linking with better metadata display and query highlighting.

Highlight of the Release

    • Fixed critical bug with snippet insertion in the editor
    • Improved performance for filter strings with multiple neq statements
    • Enhanced internal linking with better metadata display and query highlighting
    • Added support for Ghost-to-Ghost following with ActivityPub
    • Fixed direct paid signups on Stripe beta
    • Improved error handling and messaging throughout the admin interface

Migration Guide

No migration steps are required for this update. This is a minor release with bug fixes and enhancements that should not break existing functionality.

Upgrade Recommendations

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

  1. Use the editor extensively with snippets
  2. Have enabled the Stripe beta features
  3. Rely on filtering with multiple not-equal (neq) statements
  4. Are interested in the new ActivityPub federation features

The release contains important bug fixes and performance improvements that enhance the overall stability and user experience of Ghost.

Bug Fixes

Critical Fixes

  • Fixed certain snippets not inserting correctly in the editor (issue #18948)
  • Fixed direct paid signups on Stripe beta by ensuring customer_update is only defined where customer_id exists
  • Fixed validation when tierId is missing during Stripe checkout

UI and Form Fixes

  • Fixed error message of the date-time-picker not breaking onto next line
  • Updated error message copy of both date-time-picker and date-picker to be friendlier
  • Fixed copy in newsletter preview content that incorrectly referenced settings location
  • Added missing <html> opening tag to the maintenance page

Technical Fixes

  • Fixed providing err to IncorrectUsageError by properly constructing and throwing the error
  • Fixed bug with converting URI to value for subdomains
  • Fixed reconstruction of Activity from JSONLD
  • Added jackspeak resolution to core to fix ESM + CJS compatibility issue

New Features

ActivityPub and Federation Improvements

  • Added support for Ghost-to-Ghost following with ActivityPub
  • Implemented WebFinger functionality for looking up inboxes needed for Follow activities
  • Created service for delivering activities between Ghost instances
  • Added support for proper ActivityPub Collections for Followers/Following
  • Enhanced Article objects with more metadata like feature images

Editor Enhancements

  • Improved internal linking with query highlighting
  • Updated metadata shown on hover in internal link lists
  • Added additional icon for paid/specific tier visibility in link metadata
  • Added titles to icons for better accessibility

UI Improvements

  • Updated signup and private page forms for consistency
  • Improved error handling with friendlier messages
  • Removed aggressive red background toast notifications
  • Switched to white notification style with filled color icons for a calmer interface
  • Added body parsing to the frontend for NestJS access

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

Query Performance

  • Improved performance for filter strings with multiple neq statements
  • Updated packages to include performance improvement for NQL filter strings with multiple neq filters
  • Optimized SQL generation by automatically combining not equal (neq) filters for the same resource
  • Effectively transformed filter strings like 'tag:-tag1+tag:-tag2` into the more efficient 'tag:-[tag1,tag2]'

Code Efficiency

  • Extracted Actor resource IDs into getters for cleaner and more performant code
  • Included full Object in Activities to save on network fetches when hydrating the inbox
  • Improved HTTPSignature library with defaults for required headers

Impact Summary

Ghost v5.82.11 delivers a solid set of improvements across multiple areas of the platform. Content creators will benefit from fixed snippet insertion and enhanced internal linking capabilities. Site administrators will appreciate the improved error handling, more consistent UI, and fixed Stripe checkout functionality.

The performance optimization for filter strings with multiple neq statements is particularly valuable for sites with complex filtering needs, potentially improving query performance significantly.

The ActivityPub and federation improvements mark an important step forward in Ghost's federation capabilities, enabling Ghost-to-Ghost connections and laying groundwork for a more interconnected ecosystem.

Overall, this release enhances stability, user experience, and performance while introducing new capabilities for federated publishing.

Full Release Notes

  • 🐛 Fixed certain snippets not inserting correctly (#20129) - renovate[bot]
  • 🐛 Fixed direct paid signups on Stripe beta (#20215) - Ronald Langeveld

View the changelog for full details: v5.82.10...v5.82.11

Statistics:

File Changed142
Line Additions2,951
Line Deletions768
Line Changes3,719
Total Commits41

User Affected:

  • Fixed snippet insertion issues that previously caused crashes in certain scenarios
  • Improved internal linking with better metadata display and query highlighting
  • Enhanced editor experience with more consistent UI elements

Contributors:

renovate[bot]sagzydaniellockyer9larsonspeterzimonkevinansfieldminimaluminiumallouisLaurentGoderregldraphaelronaldlangeveldgithub-actions[bot]sanne-san