Home

>

Tools

>

Ghost

>

Releases

>

4.0.0-rc.2

Ghost Release: 4.0.0-rc.2

Pre Release

Tag Name: v4.0.0-rc.2

Release Date: 3/12/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.0.0-rc.2: Second Release Candidate for Major Update

This is the second release candidate for Ghost 4.0, bringing minor fixes and dependency updates as we prepare for the final 4.0 release. This update includes fixes for circular dependencies in the proxy service, updates to Casper theme, Ghost-Admin, and several dependency updates. As a release candidate, this version is intended for testing purposes before the official 4.0 launch.

Highlight of the Release

    • Fixed circular dependency warning in the proxy service
    • Updated Casper theme to v4.0.0-rc.2
    • Updated Ghost-Admin to v4.0.0-rc.2
    • Improved CI workflow for 4.0 development

Migration Guide

As this is a release candidate for Ghost 4.0, no specific migration steps are required when upgrading from v4.0.0-rc.1 to v4.0.0-rc.2.

However, if you're testing an upgrade from Ghost 3.x to 4.0, please refer to the comprehensive migration guide that will be provided with the final 4.0 release. Release candidates are intended for testing purposes, and you should be prepared to handle potential issues that may arise.

Upgrade Recommendations

For Production Sites

This is a release candidate and not recommended for production environments. Continue using the latest stable version of Ghost 3.x for production sites until the final 4.0 release is available.

For Testing Environments

If you're already running v4.0.0-rc.1 in a testing environment, upgrading to v4.0.0-rc.2 is recommended to help test the latest changes and identify any issues before the final release.

If you're interested in testing Ghost 4.0 features, setting up a separate testing environment with this release candidate is encouraged to provide feedback to the Ghost team before the final release.

Bug Fixes

Proxy Service Circular Dependency Fix

Fixed a circular dependency warning in the proxy service related to the handlebars template module. The issue occurred because the handlebars template module required the proxy service's i18n property before the module.exports of the proxy service had been set, resulting in the i18n property always being undefined.

The fix bypasses the proxy and requires the i18n module directly, eliminating the circular dependency. This ensures that error handling works correctly when using the handlebars template functions.

Minor Text Correction

Fixed a minor grammar issue in one of the text fixtures.

New Features

No significant new features were introduced in this release candidate. This update primarily focuses on bug fixes, dependency updates, and preparations for the final 4.0 release.

Security Updates

No security fixes were mentioned in this release candidate.

Performance Improvements

No specific performance improvements were highlighted in this release candidate.

Impact Summary

Ghost 4.0.0-rc.2 is a minor update to the first release candidate of Ghost 4.0, focusing on bug fixes and dependency updates. The most significant fix addresses a circular dependency issue in the proxy service that could affect error handling in handlebars templates.

This release candidate continues the preparation for the major 4.0 release, with updates to both the Casper theme and Ghost-Admin to their respective 4.0.0-rc.2 versions. The CI workflow has also been improved by removing Casper-specific branch switching code, as the 4.0 Casper work is now in the main branch.

As a release candidate, this version is primarily intended for testing purposes. It provides developers and site administrators an opportunity to identify and report any issues before the final 4.0 release. The changes in this release are relatively minor compared to the first release candidate, suggesting that Ghost 4.0 is getting closer to its final release state.

Full Release Notes

Statistics:

File Changed9
Line Additions81
Line Deletions81
Line Changes162
Total Commits10

User Affected:

  • Fixed circular dependency warning in the proxy service that could cause issues with the i18n property
  • Updated dependencies including @tryghost/helpers, @sentry/node, mocha, and gscan
  • Improved CI workflow by removing Casper-specific branch switching code

Contributors:

daniellockyerrenovate-botallouisErisDS