- ✨ Added internal linking beta - Kevin Ansfield
- 🐛 Fixed admin error when trying to overwrite a default theme (#20299) - Chris Raible
View the changelog for full details: v5.82.12...v5.83.0
Tag Name: v5.83.0
Release Date: 5/31/2024
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
Ghost v5.83.0 introduces a significant new internal linking beta feature that allows users to search for posts, pages, authors, and tags directly within URL inputs, streamlining content linking workflows. The update also adds Sentry Session Replay for improved error debugging, introduces newsletter subtitle capabilities, enhances SVG security through sanitization, and fixes several UI issues. This release focuses on improving editor functionality, newsletter customization, and overall platform stability.
No significant migration steps are required for this update. The new features (internal linking, subtitles, etc.) are all behind feature flags and can be enabled at your discretion.
If you're using custom email templates, you may want to review the new hasFeature helper which allows for conditional content based on feature flags.
For developers working with the codebase, note that there have been several dependency updates and pinning that might affect your development environment.
This update is recommended for all Ghost users, especially those who would benefit from the improved internal linking capabilities and newsletter enhancements. The security fix for SVG uploads makes this update particularly important for sites that allow file uploads.
The update includes no breaking changes and should be a smooth upgrade from previous versions. As always, it's recommended to backup your database before upgrading.
Fixed an issue where attempting to overwrite a default theme (source or casper) would crash the admin interface. Now, users receive a helpful error message instructing them to rename the zip file instead.
Corrected an issue where label names were not properly showing as titles.
Resolved an intermittent test failure in the Portal signup flow tests by making benefit descriptions less likely to have duplicate text, using timestamps in the randomization function.
Corrected the background color for post titles when using dark mode.
Resolved an issue where the "no results" state would briefly flash during internal link searches by properly handling cancelled search promises.
The new internal linking beta feature allows users to search for posts, pages, authors, and tags directly within URL inputs in the link toolbar and bookmark card. This streamlines the content linking workflow by reducing interruptions and making it faster to create links to existing content.
Added Sentry Session Replay functionality to Ghost Admin, which records user sessions when errors occur to facilitate debugging. The implementation includes privacy protections that mask sensitive information such as input fields, media items, content in the editor, and metrics in the dashboard.
Introduced subtitle capabilities for both posts and newsletters, controlled by two separate feature flags: editorSubtitle and newsletterSubtitle. This allows content creators to add subtitles to their content and newsletters, enhancing content presentation options.
Added a new '@' shortcut in the editor that allows for quick internal linking to other content. This feature is currently behind a labs flag for internal testing before wider release.
hasFeature Email Template HelperAdded a new Handlebars helper for email templates that allows for conditional content based on feature flags. Usage: {{#hasFeature 'flagname'}} <p>html behind flag</p> {{/hasFeature}}.
Added sanitization for SVG uploads to prevent potential security vulnerabilities. Previously, SVGs were not sanitized and could contain malicious scripts. This update ensures that uploaded SVG files are properly sanitized before being stored or served.
Reduced the limit on the importer in the data generator to prevent test crashes. After testing, the limit was set to 30 (down from 35) which appears to be a safe threshold.
Pinned several dependencies to specific versions to ensure consistent behavior and prevent unexpected issues from dependency updates. This includes packages like @types/node, @codemirror/lang-html, and others.
Improved the handling of HMAC secrets by using base64 encoded strings instead of UTF-8 encoding, making it easier to work with randomly generated 64-byte secrets.
Ghost v5.83.0 significantly enhances the content creation workflow with its new internal linking beta feature, allowing for seamless searching and linking to existing content directly within the editor. The addition of subtitle capabilities for both posts and newsletters provides more flexibility in content presentation, while the Sentry Session Replay feature will help developers better understand and fix errors that users encounter.
Security has been improved with SVG upload sanitization, addressing a potential vulnerability where SVG files could contain malicious scripts. Newsletter templates have received styling improvements, making newsletters more visually appealing and consistent.
For developers, the new hasFeature email template helper provides more flexibility in creating conditional content based on feature flags. Several bug fixes address UI issues and improve the overall stability of the platform.
This release represents a solid step forward in Ghost's evolution, with a focus on improving the content creation experience while maintaining security and stability.
View the changelog for full details: v5.82.12...v5.83.0