Home

>

Tools

>

Ghost

>

Releases

>

2.22.1

Ghost Release: 2.22.1

Tag Name: 2.22.1

Release Date: 5/14/2019

Ghost LogoGhost

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

TL;DR

Ghost 2.22.1 is a maintenance release that primarily focuses on internal code restructuring, moving members-related functionality from the core library to dedicated packages. It also includes an update to the default Casper theme (2.10.1) and Ghost-Admin (2.22.1). While there are no direct user-facing changes, this refactoring improves the codebase organization and sets the foundation for future enhancements to the members functionality.

Highlight of the Release

    • Refactored members functionality into dedicated packages
    • Updated Casper theme to version 2.10.1
    • Updated Ghost-Admin to version 2.22.1
    • Updated GScan to version 2.6.0

Migration Guide

For Theme Developers

If you're developing custom themes, be aware that GScan now includes a warning when using the {{each}} helper instead of the recommended {{foreach}} helper. Consider updating your theme code to use {{foreach}} for better compatibility.

For Developers Working with Members API

If you're directly working with the Ghost members functionality in your code:

  • The members functionality has been moved from core/server/lib/members to dedicated packages
  • Use @tryghost/members-api and @tryghost/members-auth-pages packages instead
  • Update any direct references to the old paths in your custom code

Upgrade Recommendations

This is a minor maintenance release with no user-facing changes or critical fixes. While upgrading is recommended to stay current with the latest code structure, there is no urgent need to update immediately if you're running a stable Ghost installation. As always, ensure you have a backup before upgrading.

Bug Fixes

No specific bug fixes were mentioned in the release notes. The changes were primarily focused on code refactoring and maintenance.

New Features

No significant new features were introduced in this release. This update primarily focuses on internal code restructuring and maintenance.

Security Updates

No security fixes were mentioned in this release.

Performance Improvements

No explicit performance improvements were mentioned in the release notes. The code restructuring may have some minor performance benefits, but these were not specifically highlighted.

Impact Summary

Ghost 2.22.1 is primarily an internal refactoring release that moves members functionality from the core library to dedicated packages. This change improves code organization but doesn't affect end-users. The update also includes version bumps for Casper theme (to 2.10.1), Ghost-Admin (to 2.22.1), and GScan (to 2.6.0). Theme developers should note that GScan now warns when using {{each}} helper instead of {{foreach}}. Overall, this release focuses on maintenance and code quality rather than introducing new features or fixing user-facing issues.

Full Release Notes

No user facing changes

Casper (the default theme) has been upgraded to 2.10.1:

You can see the full change log for the details of every change included in this release.

Statistics:

File Changed63
Line Additions283
Line Deletions13,903
Line Changes14,186
Total Commits6

User Affected:

  • Internal code restructuring of members functionality from `lib/members` to dedicated packages
  • Need to reference new package paths if directly working with members code
  • Updated GScan version to 2.6.0 with new theme validation rules

Contributors:

allouisnaz