Home

>

Tools

>

Ghost

>

Releases

>

1.22.2

Ghost Release: 1.22.2

Tag Name: 1.22.2

Release Date: 4/11/2018

Ghost LogoGhost

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

TL;DR

Ghost 1.22.2 is a maintenance release that fixes several critical bugs affecting author pages, content importing, and post editing functionality. It also updates the default Casper theme to version 2.2.0, which adds support for multiple authors and improves infinite scroll performance. This release enhances the stability and user experience of the Ghost platform while transitioning community support from Slack to the Ghost Forum.

Highlight of the Release

    • Fixed author pages to show posts from all authors, not just primary authors
    • Fixed importer bug that couldn't resolve author relations
    • Updated Casper theme to 2.2.0 with multiple author support
    • Improved infinite scroll performance in the default theme
    • Transitioned community support from Slack to Ghost Forum

Migration Guide

No specific migration steps are required for this release. The update from 1.22.1 to 1.22.2 should be straightforward.

If you're using a customized version of the Casper theme, you may want to review the changes in Casper 2.2.0 to ensure compatibility, particularly if you've modified author-related templates.

Upgrade Recommendations

This update is recommended for all users as it fixes several critical bugs affecting author pages, content importing, and post editing functionality.

The fixes for author page display and importer functionality are particularly important for sites with multiple authors or those planning to import content.

Update process:

  1. Back up your Ghost installation
  2. Follow the standard update procedure for your installation method
  3. No database migrations are required for this update

Bug Fixes

Content & Editing Fixes

  • Author Page Display: Fixed critical bug where author pages only showed posts when the author was the primary author.
  • Plaintext Field Updates: Fixed issue where the plaintext field wasn't being updated when modifying a post.
  • Keyboard Shortcuts: Fixed j and k keys not working in the editor after visiting the Tags screen.

User Management Fixes

  • User Images: Fixed missing default user image on setup screens.
  • Suspended Users: Fixed missing image and "last seen" date for suspended users.

Import/Export Fixes

  • Author Relations: Fixed importer bug that couldn't resolve authors relation when importing content.

Theme Fixes

  • Mobile Display: Fixed display issues on smaller screens in the Casper theme.
  • Infinite Scroll: Fixed infinite scroll functionality when a paged URL is loaded directly.

New Features

Casper Theme Updates

  • Multiple Author Support: The default Casper theme now supports displaying multiple authors on posts, enhancing collaboration features.
  • HTML Lang Head Tag: Added for improved accessibility and SEO.
  • Community Support Transition: Replaced references to Slack with the new Ghost Forum for community support.

Developer Improvements

  • Extended API Object Validation: Improved validation for API objects, particularly for tag relations.
  • Simplified Scripts: Added yarn lint command to package.json for easier linting.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

Theme Performance

  • Infinite Scroll: Significant performance improvements to infinite scroll functionality in the Casper theme.

Backend Optimizations

  • Model Events: Optimized emitChange for destroyed resources.
  • Transaction Handling: Fixed model events and transactions to ensure events are triggered at the appropriate time.
  • API Endpoint Optimization: Simplified destroy post API endpoint implementation for better efficiency.

Impact Summary

Ghost 1.22.2 is a maintenance release that addresses several important bugs while adding minor enhancements. The most significant fixes resolve issues with author pages not displaying all posts correctly, problems with the content importer, and issues with the post plaintext field not updating properly.

The update to Casper 2.2.0 brings welcome improvements to the default theme, particularly multiple author support and better infinite scroll performance. These changes enhance the reading experience for visitors and provide more flexibility for multi-author blogs.

For developers, the release includes several under-the-hood improvements to model events, transactions, and API validation that improve the stability and predictability of the platform.

Overall, this is a solid maintenance release that improves the reliability and user experience of Ghost without introducing breaking changes.

Full Release Notes

  • 🐛Fixed author page only showing primary author posts
  • 🐛Fixed importer bug: can't resolve authors relation
  • 🐛Fixed plaintext field not being updated when modifying a post
  • 🐛Fixed j and k keys not working in editor after visiting Tags screen (TryGhost/Admin#1002)
  • 🐛Fixed missing default user image on setup screens (TryGhost/Admin#996)
  • 🐛Fixed missing image and "last seen" date for suspended users (TryGhost/Admin#997)

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

  • ✨ Support for multiple authors
  • ✨ Added HTML lang head tag
  • 💨 Infinite scroll performance improvements
  • 🐛 Fixed mobile display bug on smaller screens
  • 🐛 Fixed infinitescroll when a paged url is loaded directly

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

Statistics:

File Changed37
Line Additions1,169
Line Deletions441
Line Changes1,610
Total Commits28

User Affected:

  • Fixed author pages now correctly display posts from all authors, not just primary authors
  • Fixed plaintext field now properly updates when modifying posts
  • Keyboard shortcuts (j and k) in the editor now work correctly after visiting the Tags screen
  • Benefit from multiple author support in the updated Casper theme

Contributors:

ErisDSkirrg001aileenkevinansfield