Home

>

Tools

>

Ghost

>

Releases

>

0.11.1

Ghost Release: 0.11.1

Tag Name: 0.11.1

Release Date: 9/30/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.1 is a maintenance release that addresses several critical bugs affecting theme activation, database migrations, user deletion, and account security. This update improves stability for both self-hosted and Ghost(Pro) users by fixing long-standing issues with theme caching, SQLite migrations, and database transactions. The release focuses on reliability improvements rather than new features, making it an important update for all Ghost installations.

Highlight of the Release

    • Fixed theme refreshing on activation and override, resolving a 3-year-old bug affecting asset caching
    • Improved SQLite3 date migration logic to ensure proper database updates
    • Fixed critical bug preventing deletion of users who have authored posts
    • Enhanced account locking error messages for better security feedback
    • Implemented database transactions for initial setup to prevent partial installations

Migration Guide

No specific migration steps are required when upgrading from Ghost 0.11.0 to 0.11.1. This is a maintenance release that should be a straightforward update.

To upgrade:

  1. Back up your Ghost installation and database
  2. Follow the standard update procedure for your installation method:
    • For Git-based installations: git pull and npm install
    • For zip/tar installations: Download the new package and replace files
  3. Restart your Ghost instance

If you're using SQLite and have experienced issues with date formatting in your posts, this update should resolve those problems automatically during the migration process.

Upgrade Recommendations

This update is highly recommended for all Ghost users, especially:

  • Ghost(Pro) users who work with themes
  • Self-hosted installations using SQLite3
  • Anyone experiencing issues with theme asset caching
  • Administrators who need to delete users with content

The fixes in this release address several critical bugs that could impact site stability and administrative functions. Since this is a maintenance release with no breaking changes, upgrading should be straightforward and low-risk.

Bug Fixes

Theme Asset Refreshing

  • Fixed a 3-year-old bug where asset hashes weren't properly refreshed on theme activation or override
  • This issue was particularly problematic for users with multiple themes, as Ghost(Pro)'s single-theme limitation had masked the problem
  • Theme changes now properly trigger cache invalidation

Database Migration Issues

  • Optimized the 008 date migration fixture to ensure proper execution for SQLite users
  • Added logic to force re-running of the 008 migration for affected SQLite users
  • Improved logging output during migration tasks for better troubleshooting

User Deletion

  • Fixed transaction handling when deleting users who have authored content
  • Properly forwards transaction references when detaching related tags
  • Resolves issue #7137 where deletion would stall indefinitely

Account Security

  • Fixed incorrect error messaging when an account becomes locked due to failed login attempts
  • Now correctly shows the "account locked" error message when remaining attempts reach zero

Default Settings

  • Optimized the process for populating default settings to prevent issues #7345

New Features

No significant new features were introduced in this maintenance release. Ghost 0.11.1 focuses primarily on bug fixes and performance improvements to enhance stability and reliability.

Security Updates

No specific security vulnerabilities were addressed in this release. However, the improvements to account locking error messages enhance security by providing appropriate feedback during authentication failures, which is an important aspect of access control.

Performance Improvements

Database Operations

  • Database population now runs within a transaction, ensuring atomicity of operations
  • If an error occurs during setup or a container is destroyed before completion, the transaction is rolled back
  • This prevents partial database states that could lead to inconsistencies

Dependency Updates

  • Updated several core dependencies to improve performance:
    • knex upgraded to 0.12.2 (fixes a memory leak present in 0.11.x)
    • lodash updated to latest version
    • bookshelf updated to latest version
    • Several other dependencies updated through Greenkeeper

Impact Summary

Ghost 0.11.1 is primarily a bug fix and maintenance release that addresses several long-standing issues affecting theme management, database migrations, and user administration. The most significant impact is for Ghost(Pro) users and multi-theme installations where theme asset caching has been problematic for years. SQLite users will benefit from improved date migration handling, and all users gain more reliable database operations through transaction improvements.

The release demonstrates Ghost's commitment to platform stability and reliability, fixing issues that affect day-to-day operations rather than introducing new features. By addressing these bugs, Ghost provides a more consistent experience for both administrators and end-users.

While the changes may seem technical in nature, they resolve frustrations that many Ghost users have encountered, particularly around theme refreshing and database operations. The improvements to error messaging and logging also enhance the administrative experience by providing clearer feedback during critical operations.

Full Release Notes

Please read the release blog post for more details.

Highlights

  • [Fixed] Theme refreshes on activation && override, so that Ghost(Pro) users don't get stuck in a cache-based-purgatory ♻️
  • [Fixed] Logic around date migrations, which caused some people with SQLite3 to not get migrated yet ⏱
  • [Fixed] Error when trying to delete a user that has posts 📚
  • [Fixed] Messaging around account locking 🔐
  • [Improved] Initial database creation now happens in a transaction 🎉

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

Statistics:

File Changed33
Line Additions436
Line Deletions237
Line Changes673
Total Commits31

User Affected:

  • Fixed theme caching issues that previously caused theme changes to not properly reflect
  • Improved stability with database operations

Contributors:

greenkeeperio-botcezarykluczynskikirrg001acburdineErisDS