Home

>

Tools

>

Ghost

>

Releases

>

4.9.2

Ghost Release: 4.9.2

Tag Name: v4.9.2

Release Date: 7/9/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.9.2 is a bug fix release that addresses a critical issue with GScan, which was causing HTTP 500 errors when parsing double-quoted helpers like {{"pagination"}}. This patch ensures that theme templates with specific Handlebars syntax are properly processed, preventing server errors and improving overall platform stability.

Highlight of the Release

    • Fixed critical GScan bug causing HTTP 500 errors when parsing double-quoted Handlebars helpers
    • Improved theme compatibility by properly handling {{'pagination'}} syntax
    • Enhanced platform stability by resolving server errors during theme processing

Migration Guide

No migration steps are required for this release. This is a drop-in bug fix that resolves the GScan parsing issue without requiring any action from users or administrators.

Upgrade Recommendations

This release fixes a critical bug that causes HTTP 500 errors when GScan processes themes with double-quoted helpers.

Recommendation: All Ghost installations should upgrade to v4.9.2 as soon as possible, especially if you're experiencing unexplained 500 errors or if your themes use double-quoted Handlebars helpers like {{"pagination"}}.

The upgrade process follows the standard Ghost update procedure and requires no additional steps or configuration changes.

Bug Fixes

GScan Parser Fix

Fixed a critical bug in GScan (Ghost's theme validator) that was causing HTTP 500 errors when parsing theme templates. The issue specifically occurred when GScan encountered double-quoted helpers in Handlebars templates, such as {{"pagination"}}.

The fix implements a solution that properly converts StringLiterals to PathExpressions when parsing these templates, ensuring that GScan can correctly process themes with this syntax without throwing server errors.

New Features

No new features were introduced in this release. This is a focused bug fix release addressing a specific GScan issue.

Security Updates

No security fixes were included in this release. The focus was on fixing the critical GScan bug causing server errors.

Performance Improvements

No specific performance improvements were included in this release. The focus was on fixing the critical GScan bug causing server errors.

Impact Summary

This release addresses a specific but critical bug in GScan, Ghost's theme validation tool, that was causing HTTP 500 server errors when encountering double-quoted Handlebars helpers in theme templates. The fix ensures proper parsing of these syntax elements, resulting in improved stability and reliability for Ghost installations.

The impact is particularly significant for sites using themes with this specific syntax pattern, as they would have previously experienced server errors that interrupted normal operation. By resolving this issue, Ghost v4.9.2 ensures a more consistent experience for both administrators and end users, eliminating unexpected errors during theme processing and validation.

While this is a targeted bug fix release with minimal changes, it represents an important stability improvement that affects the core functionality of the platform, especially around theme handling and validation.

Full Release Notes

Statistics:

File Changed3
Line Additions7
Line Deletions7
Line Changes14
Total Commits3

User Affected:

  • No longer experience HTTP 500 errors when using themes with double-quoted helpers
  • Improved stability when managing themes with specific Handlebars syntax
  • Reduced unexpected server errors during theme operations

Contributors:

tpatelsam-lord