- 🐛 Fixed "Invalid mobiledoc structure" errors that could occur when saving posts with header cards - Kevin Ansfield
View the changelogs for full details:
- Ghost - v4.36.0...v4.36.1
- Admin - TryGhost/Admin@v4.36.0...v4.36.1
Tag Name: v4.36.1
Release Date: 2/16/2022
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
Ghost v4.36.1 fixes a critical bug that caused "Invalid mobiledoc structure" errors when saving posts with header cards. This patch addresses an issue in the slugify() utility that would throw errors when header or subheader fields were left blank in header cards, ensuring content creators can now work with these elements without encountering save errors.
slugify() utility that affected header cards with empty fields@tryghost/kg-utils to include the fixNo migration steps are required for this update. This is a drop-in replacement that fixes a bug without changing any APIs or requiring configuration changes.
This update is highly recommended for all Ghost installations, especially for sites where content creators use header cards in their posts. The bug fix prevents content saving errors that could disrupt publishing workflows.
The update can be applied using your standard Ghost update process:
ghost update
If you're using a managed Ghost(Pro) instance, this update will be automatically applied.
This release fixes a bug in the slugify() utility within the @tryghost/kg-utils package that was causing "Invalid mobiledoc structure" errors when saving posts containing header cards with empty header or subheader fields.
The issue occurred when:
All packages with a dependency on @tryghost/kg-utils have been updated to include this fix, ensuring consistent behavior across the platform.
No new features were introduced in this patch release. This is a bug fix release focused on resolving a specific issue with header cards.
No security fixes were included in this patch release.
No specific performance improvements were included in this patch release. The focus was on fixing the critical bug affecting content creation.
This patch release addresses a specific bug that was causing content saving errors when working with header cards. While the scope of changes is minimal (affecting only 3 files with 48 total changes), the impact is significant for content creators who use header cards in their posts.
The fix ensures that the content editing experience remains smooth and error-free, particularly when working with header cards that might have empty fields. By resolving this issue, Ghost maintains its reliability as a content management platform and prevents potential frustration and workflow disruptions for users.
No changes to existing functionality were made beyond fixing the bug, so users can update with confidence that their existing content and workflows will continue to work as expected, but with improved stability.
View the changelogs for full details: