Home

>

Tools

>

Ghost

>

Releases

>

5.50.4

Ghost Release: 5.50.4

Tag Name: v5.50.4

Release Date: 6/7/2023

Ghost LogoGhost

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

TL;DR

Ghost v5.50.4: Bug Fix for Editor Beta Snippet Migration

This minor release fixes a critical bug in the editor beta that prevented some snippets from being properly migrated. The issue specifically affected content where converted mobiledoc started with a card and contained text content, resulting in an error that blocked snippet migration and copy/paste functionality between editors. The release also adds Koenig lexical package version information to Sentry reports for improved error tracking.

Highlight of the Release

    • Fixed converter bug that prevented snippet migration in the editor beta
    • Resolved copy/paste issues between old and new editors
    • Added Koenig lexical package version to Sentry reports for better error tracking

Migration Guide

No migration steps are required for this update. This is a patch release that can be installed without any special considerations.

Upgrade Recommendations

This update is recommended for all users who are testing or using the editor beta, especially those who work with snippets or frequently copy content between editors. The bug fix addresses a specific issue that could prevent content migration, so upgrading will ensure a smoother experience with the beta editor.

The update is small and focused, making it a low-risk upgrade that resolves a specific functional issue.

Bug Fixes

Editor Beta Converter Bug Fix

  • Fixed a critical bug in the content converter that prevented some snippets from being migrated to the editor beta
  • Resolved the "can not read .length of undefined" error that occurred when converted mobiledoc started with a card and contained text content
  • Fixed copy/paste functionality between the old editor and new beta editor for content with specific structures
  • Updated the @tryghost/kg-converters package to include these fixes

New Features

Enhanced Error Reporting

  • Added Koenig lexical package version information to Sentry reports, improving the ability to track and diagnose editor-related issues

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release.

Impact Summary

This release focuses on fixing a specific bug in the editor beta's content conversion process. The impact is primarily positive for content creators who were experiencing issues with snippet migration or copy/paste functionality between editors. The fix ensures that content with a specific structure (mobiledoc starting with a card and containing text) can now be properly converted without errors.

Additionally, the inclusion of Koenig lexical package version in Sentry reports improves the development team's ability to diagnose and address editor-related issues in the future.

Overall, this is a targeted maintenance release that improves reliability without introducing any breaking changes or requiring migration steps.

Full Release Notes

Statistics:

File Changed4
Line Additions13
Line Deletions11
Line Changes24
Total Commits3

User Affected:

  • Can now successfully migrate snippets to the editor beta that were previously failing
  • Copy/paste functionality between old and new editors now works properly for content starting with cards
  • Will experience fewer errors when working with the beta editor

Contributors:

9larsonskevinansfieldgithub-actions[bot]