Home

>

Tools

>

Ghost

>

Releases

>

4.8.1

Ghost Release: 4.8.1

Tag Name: v4.8.1

Release Date: 6/24/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.8.1: Bug Fix Release

This minor release addresses three key bugs in Ghost CMS:

  1. Fixed an error that occurred when attempting to delete non-existent snippets, which previously caused the application to crash with a 500 error
  2. Fixed the default currency display for MRR (Monthly Recurring Revenue) statistics on the dashboard
  3. Fixed an issue with the Stripe Connect modal not closing properly

This release focuses entirely on bug fixes to improve stability and user experience without introducing any new features or breaking changes.

Highlight of the Release

    • Fixed critical error that caused 500 crashes when attempting to delete non-existent snippets
    • Corrected default currency display for Monthly Recurring Revenue statistics on dashboard
    • Resolved issue with Stripe Connect modal not closing properly

Migration Guide

No migration steps are required for this release as it contains only bug fixes and no breaking changes.

Upgrade Recommendations

This release is recommended for all Ghost users as it fixes several bugs that could impact user experience:

  • If you've experienced 500 errors when managing snippets
  • If you've noticed incorrect currency display in your MRR statistics
  • If you've had issues with the Stripe Connect modal not closing

As this is a patch release with no breaking changes, upgrading should be straightforward with minimal risk. Standard upgrade procedures apply:

  1. Back up your Ghost installation
  2. Follow the standard Ghost update process for your installation method (CLI, Docker, or manual installation)
  3. Verify your site functionality after upgrade

Bug Fixes

  • Fixed error when deleting non-existent snippets - Previously, attempting to delete a snippet that didn't exist would cause Ghost to crash with a 500 error saying Cannot read property 'destroy' of null. This was fixed by adding require=true to the destroy options for both the canary and v3 endpoints, bringing the snippet API in line with other API endpoints. Issue #809

  • Reverted destroy function of CRUD plugin to chained promises - The previous conversion to async-await appears to have broken error handling when deleting non-existent items. This reversion maintains functionality while the team investigates potential issues between Bluebird Promises and native Promises. Issue #808

  • Fixed default currency for MRR stats on dashboard - Corrected an issue where the Monthly Recurring Revenue statistics were not displaying with the proper default currency.

  • Fixed Stripe Connect modal not closing - Resolved an issue where the Stripe Connect modal would remain open after completion, preventing users from continuing their work.

New Features

No new features were introduced in this release as it focuses exclusively on bug fixes and stability improvements.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release.

Impact Summary

Ghost v4.8.1 is a minor bug fix release that addresses three specific issues affecting the admin experience. The most critical fix prevents server crashes (500 errors) when attempting to delete non-existent snippets, which improves overall system stability. The other fixes improve the user experience by ensuring proper currency display for MRR statistics and fixing modal behavior in the Stripe Connect flow.

This release contains no breaking changes, new features, or security patches. It's a straightforward maintenance update that all Ghost installations should apply to ensure optimal functionality, particularly for those using snippets or the Stripe integration.

Full Release Notes

  • 🐛 Fixed default currency for MRR stats on dashboard - Rishabh Garg
  • 🐛 Fixed error when deleting non-existent snippet - Daniel Lockyer
  • 🐛 Fixed stripe connect modal not closing - Rishabh Garg

View the changelogs for full details:

Statistics:

File Changed5
Line Additions12
Line Deletions5
Line Changes17
Total Commits4

User Affected:

  • No longer encounter errors when attempting to delete non-existent snippets
  • Will see correct default currency for MRR stats on dashboard
  • Can properly close the Stripe Connect modal after use

Contributors:

daniellockyer