Home

>

Tools

>

Ghost

>

Releases

>

0.11.0

Ghost Release: 0.11.0

Tag Name: 0.11.0

Release Date: 9/15/2016

Ghost LogoGhost

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

TL;DR

Ghost 0.11.0 brings important fixes for blogs running in subdirectories, resolves issues with AMP and previews, fixes date migrations for SQLite/PostgreSQL databases, and addresses several theme-related bugs. This release focuses on stability improvements and bug fixes rather than introducing major new features, making it an important update for all Ghost installations, especially those running in subdirectories or experiencing issues with themes.

Highlight of the Release

    • Fixed search functionality in the admin interface
    • Resolved date migration issues for SQLite/PostgreSQL blogs running in UTC
    • Fixed AMP and preview functionality for Ghost blogs running in subdirectories
    • Fixed scheduling for blogs running in subdirectories
    • Prevented internal tags from appearing in meta data and RSS feeds
    • Improved theme upload compatibility and error handling
    • Fixed theme reloading and cache clearing when overriding active themes
    • Resolved lodash dependency issues for Ghost installed as npm module
    • Fixed empty sitemap.xml generation
    • Downgraded missing {{asset}} helper errors to warnings for better theme compatibility

Migration Guide

Migration Notes

  1. Database Migrations: This release includes migration 008 to add an amp column to the posts table. It also includes fixes for the 006 migration that affected date formats in SQLite and PostgreSQL databases.

  2. Theme Development: Missing {{asset}} helpers in themes are now downgraded to warnings instead of errors. While themes can still function with these warnings, it's recommended to update your themes to properly use the asset helper for future compatibility.

  3. Subdirectory Installations: If you're running Ghost in a subdirectory, this release fixes several issues with AMP, previews, and scheduling. No additional configuration should be needed after upgrading.

  4. Dependency Updates: Several dependencies have been updated or pinned. If you have custom code that relies on specific versions of knex, bookshelf, or lodash, be aware that these have been pinned to specific versions to avoid memory leak issues.

Upgrade Recommendations

Priority: Medium-High

This release is recommended for all Ghost installations, particularly for:

  • Blogs running in subdirectories
  • Sites using AMP or experiencing issues with previews
  • Installations with SQLite or PostgreSQL databases that were experiencing date format issues
  • Sites with theme upload or activation problems

The upgrade process follows the standard Ghost update procedure and should be straightforward. As always, it's recommended to backup your database and content before upgrading.

For detailed upgrade instructions, refer to the Ghost upgrade guide.

Bug Fixes

Core Functionality

  • Fixed empty sitemap.xml generation (#7354)
  • Fixed issues with blogs running in subdirectories:
    • AMP now works correctly in subdirectory installations (#7353)
    • Preview pages now respect subdirectory configuration (#7365)
    • Scheduling now generates correct apiUrl when in subdirectories (#7389)
  • Fixed date migrations for SQLite/PostgreSQL databases running in UTC (#7322, #7323)
  • Added missing lodash.orderBy dependency (#7333)
  • Fixed internal tags appearing in meta data (#7379)
  • Prevented internal tags from showing in RSS feeds (#7385)

Theme Management

  • Fixed theme reactivation when overriding active themes (#7368)
  • Improved theme name consistency with better sanitization (#7380)
  • Added application/octet-stream to allowed types for theme uploads (#7382)
  • Fixed extract-zip dependency issues (#7383, #7389)
  • Moved overrides into core folder while maintaining load priority (#7371)
  • Added GScan warnings to theme API responses for better error reporting (#7367)

Admin Interface

  • Fixed typing a space in the search bar no longer completes the search
  • Various fixes in Ghost-Admin update to 0.11.0

New Features

No significant new features were introduced in this release. Ghost 0.11.0 primarily focuses on bug fixes and stability improvements across various areas of the platform.

Security Updates

No specific security fixes were mentioned in this release. The focus was primarily on bug fixes and stability improvements.

Performance Improvements

Testing and Stability

  • Increased ping tries when forking process for better reliability (#7377)
  • Increased Mocha timeout globally to prevent false test failures (#7378)
  • Added tooling to make testing dependency preparation easier (#7335)
  • Pinned knex, bookshelf & lodash versions to avoid memory leak issues (#7375)

Package Updates

  • Updated several dependencies for better performance:
    • Updated cors to version 2.8.1
    • Updated moment to version 2.15.0
    • Updated express-hbs to version 1.0.3
    • Updated netjet to version 1.1.3
    • Updated Amperize dependency to v0.3.1
    • Updated gscan to version 0.0.15

Impact Summary

Ghost 0.11.0 is primarily a maintenance release that addresses several important bugs and compatibility issues. The most significant improvements are for blogs running in subdirectories, which now have proper support for AMP, previews, and scheduling. Database migration fixes for SQLite and PostgreSQL resolve date format issues that affected some installations. Theme management has been improved with better error handling, more consistent naming, and fixes for theme activation and cache clearing. The release also includes various dependency updates and performance improvements for better stability. While not introducing major new features, this release significantly improves the reliability and compatibility of Ghost installations across different configurations.

Full Release Notes

Please read the release blog post for more details.

Highlights

  • [Fixed] Typing a space in the search bar no longer completes the search 🔍
  • [Fixed] Date migrations for sqlite3/postgres blogs that were running in UTC 🕓
  • [Fixed] AMP and previews now work properly when running Ghost in a subdirectory.
  • [Fixed] Scheduling now works when blogs are run in a subdirectory ⏰
  • [Fixed] Internal tags no longer appear in meta data or RSS feeds.
  • [Fixed] More fixes for theme uploads causing unsupported type errors when they shouldn't 🐛
  • [Fixed] Uploading over the top of an active theme now correctly reloads the theme & clears the cache 💥
  • [Fixed] Issue with lodash when Ghost installed as an npm module.
  • [Fixed] Sitemaps were sometimes rendering without any content 🔦
  • [Changed] Downgraded missing {{asset}} helpers in themes to a warning so they can still be used with caution.
  • And other things...

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

Statistics:

File Changed33
Line Additions793
Line Deletions81
Line Changes874
Total Commits31

User Affected:

  • Fixed issues with blogs running in subdirectories, including AMP, previews, and scheduling
  • Improved theme management with better error handling and cache clearing
  • Fixed empty sitemap.xml generation

Contributors:

disordinaryErisDSkirrg001aileensebgieacburdinegreenkeeperio-botcobbspur