Home

>

Tools

>

Ghost

>

Releases

>

5.50.1

Ghost Release: 5.50.1

Tag Name: v5.50.1

Release Date: 6/6/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.1 is a bug fix release that addresses issues with the beta editor, specifically fixing snippet availability and horizontal rule card copy/paste functionality between the classic and beta editors. This release ensures a smoother transition for users experimenting with the beta editor while maintaining compatibility with existing content.

Highlight of the Release

    • Fixed existing snippets not being available in the beta editor
    • Added one-way sync from mobiledoc to lexical format for snippets
    • Fixed copy/paste functionality for horizontal rule cards between editor versions
    • Resolved double-encoded JSON issues with snippets in the beta editor

Migration Guide

No migration steps are required for this release. The fixes are applied automatically when upgrading to v5.50.1.

However, users should be aware of the following behavior regarding snippets:

  • This release implements a one-way sync from the classic editor (mobiledoc) to the beta editor (lexical) for snippets
  • New snippets or changes made to snippets inside the beta editor will not be available in the classic editor
  • Creating or changing snippets in the classic editor will sync to (and potentially overwrite snippets in) the beta editor

Upgrade Recommendations

This is a recommended upgrade for all Ghost users who are testing or using the beta editor alongside the classic editor, especially if they rely on snippets or frequently copy/paste content between editor versions.

The release contains important compatibility fixes that improve the user experience when working with both editor versions. There are no breaking changes, and the upgrade should be straightforward.

Bug Fixes

Snippet Availability in Beta Editor

  • Fixed an issue where existing snippets created in the classic editor weren't available when using the beta editor
  • Implemented a one-way sync mechanism from mobiledoc to lexical format for snippets
  • Added a fix for double-encoded JSON in snippets that could cause issues after Ember's deserialization
  • Updated the snippet filter in the classic editor to exclude double-encoded snippets

Horizontal Rule Card Copy/Paste

  • Fixed an issue with copying and pasting horizontal rule (HR) cards between the classic and beta editors
  • Updated the @tryghost/kg-converters dependency which contained an incorrect card name map in the lexical/mobiledoc converter methods

New Features

No new features were introduced in this release. This is a bug fix release focused on improving compatibility between the classic and beta editors.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release. The focus was on bug fixes related to editor compatibility.

Impact Summary

This release focuses on improving compatibility between Ghost's classic editor and the beta editor, specifically addressing issues with snippets and horizontal rule elements.

The fixes ensure that content creators can access their existing snippets when using the beta editor through a one-way sync mechanism from mobiledoc to lexical format. Additionally, the release resolves issues with copying and pasting horizontal rule elements between editor versions.

While these changes might seem minor, they significantly improve the user experience for those testing the beta editor while still using the classic editor for some tasks. The fixes help maintain content consistency across both editor versions and prevent potential data loss or formatting issues.

Full Release Notes

Statistics:

File Changed7
Line Additions85
Line Deletions17
Line Changes102
Total Commits4

User Affected:

  • Can now access existing snippets when using the beta editor
  • Can successfully copy and paste horizontal rule elements between classic and beta editors
  • Will experience improved compatibility between both editor versions

Contributors:

kevinansfieldgithub-actions[bot]