Home

>

Tools

>

Ghost

>

Releases

>

1.19.1

Ghost Release: 1.19.1

Tag Name: 1.19.1

Release Date: 1/3/2018

Ghost LogoGhost

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

TL;DR

Ghost 1.19.1 is a maintenance release that addresses several critical bugs, particularly focusing on import functionality and user experience improvements. This update fixes memory errors for large imports, resolves issues with tag creation, adjusts keyboard shortcuts to prevent accidental publishing, and improves compatibility with Discord notifications. The release also includes significant internal code reorganization to enhance maintainability and performance.

Highlight of the Release

    • Fixed memory errors when importing large content files
    • Fixed multi-word tag creation via post settings menu
    • Changed publish shortcut to Ctrl/Cmd+Shift+P to prevent accidental publishing
    • Improved emoji rendering in Discord notifications
    • Extensive internal code reorganization for better maintainability

Migration Guide

No migration steps are required for this update. This is a maintenance release that focuses on bug fixes and internal code reorganization without introducing breaking changes.

Simply update to Ghost 1.19.1 using your preferred installation method.

Upgrade Recommendations

This update is recommended for all users, especially those who:

  • Work with large imports
  • Use Discord for notifications
  • Experience issues with tag creation
  • Have accidentally published posts using keyboard shortcuts

The release contains important bug fixes and performance improvements that enhance stability and user experience. There are no breaking changes, making this a safe upgrade for all installations.

Bug Fixes

  • Fixed memory errors for large imports - Resolved issues with large import files by no longer running imports with Promise.all, which previously caused an enormous amount of parallel queries that prevented Node from cleaning up memory properly.

  • Fixed multi-word tag creation - Resolved an issue where users couldn't create tags with multiple words via the post settings menu.

  • Fixed accidental post publishing - Changed the publish shortcut to Ctrl/Cmd+Shift+P to prevent unexpected publishing of posts when using the split-preview shortcut.

  • Fixed emoji rendering in Discord - Changed emoji for Slack test notifications to :smile: which is correctly rendered by both Slack and Discord platforms.

  • Fixed missing error messages during import - Added proper error messages when unexpected errors occur during the import process.

  • Fixed error rendering for missing assets - Resolved an issue where loading the admin prior to a build resulted in "Failed to lookup view 'error-404'" errors.

  • Fixed CORS issues - Ensured CORS check happens for /authentication/token route to prevent external browser clients from encountering CORS problems.

New Features

No significant new features were added in this maintenance release. The focus was primarily on bug fixes, performance improvements, and code reorganization.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

  • Improved import process - Restructured the import process to run queries sequentially rather than in parallel, significantly reducing memory usage for large imports.

  • Enhanced code injection loading - Improved code injection loading behavior on slow connections for a better user experience.

  • Global Promise set to Bluebird - Set Promise to be Bluebird globally, which provides better performance and more features than native Promises.

  • Optimized database operations - Updated bookshelf-relations to version 0.1.4, which includes improvements for attaching target models in batches and preventing memory leaks.

Impact Summary

Ghost 1.19.1 delivers significant improvements to stability and usability, particularly for content managers working with large imports or complex tagging workflows. The fixes for memory issues during large imports and the prevention of accidental publishing through revised keyboard shortcuts address pain points reported by the community.

Behind the scenes, this release includes extensive code reorganization that improves maintainability and sets the foundation for future enhancements. While these changes aren't immediately visible to end users, they represent important technical debt reduction and architectural improvements.

The update to Bluebird for global Promises and other performance optimizations should result in better overall system performance, especially for resource-intensive operations. For administrators, the improved compatibility with Discord notifications and better error handling during imports will enhance the operational experience.

Full Release Notes

  • 🎨 Improved code injection loading behaviour on slow connections (TryGhost/Admin#935)
  • 🐛 Fixed missing error message when unexpected errors occur during import (TryGhost/Admin#936)
  • 🐛 Fixed memory errors for large imports
  • 🐛 Fixed inability to create multi-word tags via post settings menu
  • 🐛 Fixed unexpected publishing of post via split-preview shortcut (Publish shortcut is now Ctrl/Cmd+Shift+P) (TryGhost/Admin#924)
  • 🐛 Fixed emoji in Slack test notification not being rendered by Discord (#9313)

You can see the full change log for the details of every change included in this release.

Statistics:

File Changed300
Line Additions2,182
Line Deletions1,617
Line Changes3,799
Total Commits52

User Affected:

  • Can now successfully import large content files without memory errors
  • Can create multi-word tags via post settings menu
  • Will no longer accidentally publish posts when using keyboard shortcuts

Contributors:

kirrg001Abijeetjuan-gErisDSzceaileenJohnONolankevinansfield