Home

>

Tools

>

Ghost

>

Releases

>

1.25.5

Ghost Release: 1.25.5

Tag Name: 1.25.5

Release Date: 8/14/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.25.5: Koenig Editor Improvements & Performance Optimizations

This release enhances the Koenig editor beta with improved URL handling in embed cards and better image attribute support. It also includes several important performance optimizations that reduce memory usage, fixes for database backup functionality, and SQLite compatibility improvements. The README has been completely overhauled to provide better documentation and installation guidance.

Highlight of the Release

    • Added support for shortened URLs in embed cards, improving content embedding flexibility
    • Fixed SQLite3 compatibility issues by enabling useNullAsDefault by default
    • Optimized memory usage by minimizing cached data and releasing memory earlier in the import process
    • Improved image handling with support for both alt and title attributes
    • Completely overhauled README.md with better documentation and installation guidance

Migration Guide

No migration steps are required for this release. The update from 1.25.4 to 1.25.5 should be straightforward with no breaking changes.

Upgrade Recommendations

This release is recommended for all users, especially those:

  • Using the Koenig editor beta
  • Running Ghost with SQLite3 databases
  • Experiencing memory-related performance issues
  • Using the database backup functionality

The update contains important bug fixes and performance improvements that enhance stability and user experience. As this is a patch release (1.25.4 → 1.25.5), the upgrade should be safe and straightforward.

Bug Fixes

  • Database Backup: Fixed exporting extra tables for the database backup endpoint by adding support for the include query parameter.

  • SQLite3 Compatibility: Fixed offset calculation for SQLite3 databases.

  • SQLite3 Default Values: Enabled useNullAsDefault for SQLite3 by default to ensure consistent behavior when fields are missing during operations like imports. This addresses issues where the importer was affected by missing fields.

  • Memory Management: Disabled Bluebird debug logs which were consuming excessive memory.

New Features

Koenig Editor Enhancements

  • Improved URL Handling: Added support for shortened URLs in embed cards. The editor now performs a HEAD request on URLs when no matching provider is found, following redirects until reaching a success response before looking up providers for the resulting URL.

  • Better Image Attributes: The editor now renders both alt and title attributes for images when present, improving accessibility and providing more context for images.

  • Enhanced Paste Functionality: Added paste-url-over-selection link creation to caption inputs, making it easier to add links to captions.

Security Updates

No specific security fixes were included in this release.

Performance Improvements

  • Memory Optimization in Importer: Released memory in the importer as early as possible by setting larger objects to null when no longer needed, triggering garbage collection to free memory.

  • Reduced Cache Footprint: Minimized cached data on resource add/update operations by excluding unnecessary fields (mobiledoc, HTML, etc.) from the cache, resulting in lower overall memory usage.

  • Optimized Relations Caching: Ensured relations are cached with a minimal field set on resource update/add operations to reduce memory consumption.

Impact Summary

Ghost 1.25.5 focuses on enhancing the Koenig editor beta and improving overall system performance. Content creators will benefit from better URL handling in embed cards and improved image attribute support. Developers and system administrators will appreciate the memory optimizations and SQLite compatibility improvements.

The most significant changes include support for shortened URLs in embed cards, enabling useNullAsDefault for SQLite3 by default, and several memory optimization techniques that reduce the application's memory footprint. These changes collectively improve the stability and performance of Ghost, particularly for installations using SQLite and those with memory constraints.

The README overhaul also provides better documentation and guidance for new users, making Ghost more accessible to the community.

Full Release Notes

Updates to the Koenig editor beta (release announcement):

  • ✨ Unsplash integration
  • 🎨 Added support for shortened URLs in embed card (#9781)
  • 🎨 Added paste-url-over-selection link creation to caption inputs
  • 🐛 Fixed rich-text image captions losing formatting when pasting HTML
  • 🐛 Fixed rich-text captions sometimes losing spaces
  • 🐛 Fixed missing alt/title attributes when pasting markdown or HTML

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

Statistics:

File Changed19
Line Additions458
Line Deletions129
Line Changes587
Total Commits12

User Affected:

  • Improved Koenig editor with better URL handling in embed cards
  • Better image attribute support with both `alt` and `title` attributes being preserved
  • Enhanced paste functionality for URLs in caption inputs

Contributors:

kirrg001ErisDSkevinansfield