Home

>

Tools

>

Ghost

>

Releases

>

5.119.0

Ghost Release: 5.119.0

Tag Name: v5.119.0

Release Date: 5/2/2025

Ghost LogoGhost

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

TL;DR

Ghost 5.119.0 brings several UI improvements and bug fixes, focusing on better internationalization support, enhanced comment handling for themes with dark mode toggles, and fixes for search and member-related issues. Key updates include improved charset handling in search with FlexSearch 0.8, fixed encoding issues in email paywalls, better handling of member names with blank spaces, and expanded language support with updated Polish and Vietnamese translations. The release also ensures shared preview links respect selected member segments and adds i18n support for comment sorting options.

Highlight of the Release

    • Improved comment handling for themes with dark mode toggles
    • Fixed charset handling in search with FlexSearch 0.8 update
    • Fixed encoding issues with apostrophes in email paywalls
    • Fixed shared preview links to respect selected member segments
    • Added i18n support for comment sorting options
    • Updated Polish and Vietnamese translations

Migration Guide

No migration steps are required for this release. The update primarily consists of bug fixes and enhancements that don't require any action from users.

Upgrade Recommendations

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

  1. Use themes with dark mode toggles and have comments enabled
  2. Have international users and need better language support
  3. Have experienced issues with search functionality, particularly with non-Latin characters
  4. Have encountered problems with member names not displaying correctly
  5. Use email paywalls and have noticed encoding issues with apostrophes

The update contains important fixes for search functionality, email encoding, and member display issues, along with improved internationalization support.

Bug Fixes

Search Improvements

  • Fixed charset handling in search and updated FlexSearch to version 0.8
  • Improved handling of CJK (Chinese, Japanese, Korean) characters in search
  • Better normalization of accented characters

Email and Preview Fixes

  • Fixed mis-encoded apostrophes in emailed paywalls
  • Fixed shared preview links not respecting selected member segments
  • Ensured "Open in new tab" and "Copy preview link" use the same member_status query parameter

Member Display Fixes

  • Fixed UI rendering blank spaced member names
  • Added trimmed-string transform to normalize empty/whitespace member names to null
  • Updated member.js model to use trimmed-string for name attribute
  • Ensured consistent display of member email when name is blank or whitespace

New Features

Internationalization Improvements

  • Added i18n support for comment sorting options (best, oldest, newest)
  • Updated Polish translations for Comments, Ghost, Newsletter, and Portal
  • Updated Vietnamese translations for Newsletter and Ghost core

UI Enhancements

  • Improved handling of comments for themes with dark mode toggles
  • Added mutation observer to detect class or style changes in comment containers
  • Better handling of member names with blank spaces in the UI

Security Updates

No security fixes were mentioned in this release.

Performance Improvements

No specific performance improvements were mentioned in this release.

Impact Summary

Ghost 5.119.0 delivers several quality-of-life improvements focused on internationalization, search functionality, and UI rendering. The update to FlexSearch 0.8 significantly improves search capabilities, especially for non-Latin character sets like Chinese, Japanese, and Korean. Theme developers will benefit from better comment handling in dark mode themes, while content creators will appreciate fixes to preview links and email paywalls. International users gain expanded language support with updated Polish and Vietnamese translations, plus i18n support for comment sorting options. The release addresses several UI rendering issues, particularly with member names containing blank spaces, ensuring a more consistent user experience across the platform.

Full Release Notes

  • ๐ŸŽจ Improved handling of comments for themes with darkmode toggles (#22407) - Cathy Sarisky
  • ๐Ÿ›Fixed mis-encoded apostrophes in emailed paywall (#23121) - Cathy Sarisky
  • ๐Ÿ› Fixed charset handling in search and updated flexsearch to 0.8 (#22874) - Cathy Sarisky
  • ๐Ÿ› Fixed shared preview links not respecting selected member segment (#23083) - Kevin Ansfield
  • ๐Ÿ› Fixed UI rendering blank spaced member names (#23019) - Ronald Langeveld
  • โœ… Added new tests for email encoding related to i18n (#23145) - Cathy Sarisky
  • ๐ŸŒ Added i18n support for comment sorting options (#23070) - Sebastian Schrรถder
  • ๐ŸŒ Updated Polish translation for Comments, Ghost, Newsletter, Portal (#22876) - Tenshimitsu
  • ๐ŸŒ Updated Vietnamese translations for Newsletter + Ghost (#22959) - Duy

View the changelog for full details: v5.118.1...v5.119.0

Statistics:

File Changed300
Line Additions5,909
Line Deletions5,077
Line Changes10,986
Total Commits112

User Affected:

  • Improved handling of comments for themes with dark mode toggles, making the experience more consistent when users switch between light and dark modes
  • Comments now properly respond to theme changes through a mutation observer that watches for class or style changes

Contributors:

ErisDSrenovate[bot]ronaldlangeveldmastoduyminimaluminiumpeterzimoncathysarisky9larsonscmraiblesanne-sankevinansfieldallouisdaniellockyerTenshimitsuSebastianSchroederaileengithub-actions[bot]