- 🐛 Fixed blog setup crashing for falsy email config (#11041) - Rishabh Garg
- 🐛 Fixed errors when rolling back certain database migrations
You can see the full change log for the details of every change included in this release.
Tag Name: 2.29.0
Release Date: 8/20/2019
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
This release focuses on stability improvements by fixing critical bugs in the blog setup process and database migration rollbacks. Most notably, Ghost has reverted a significant set of changes related to the post.page to post.type column migration that was causing performance issues on larger sites. This change will be reintroduced in Ghost 3.0 with proper optimizations.
If you were developing against the post.type column that was briefly introduced, be aware that these changes have been reverted in this release. The post.page property should continue to be used until Ghost 3.0, which will properly introduce the type column with optimized migration paths.
// This approach will no longer work in 2.29.0
post.get('type') === 'page'
// Continue using the page property instead
post.get('page') === true
No other migration steps are required for this release.
This release is recommended for all Ghost installations, especially for:
The upgrade process is standard and should be straightforward:
ghost update
Or if using a custom installation:
npm update ghost
No special steps are required for this upgrade.
Fixed blog setup crash with disabled email config (#11041)
sendWelcomeEmail configuration was set to a falsy valueFixed database migration rollback errors
bookshelf-relations that could result in SQLITE_BUSY: database is locked errors.destroy() to avoid database lock problemsNo significant new features were added in this release. This version primarily focuses on bug fixes, performance improvements, and dependency updates.
No security fixes were included in this release.
Reverted post.page to post.type column migration
Improved database migration rollback handling
Ghost 2.29.0 is primarily a maintenance release that improves stability and fixes critical bugs. The most significant change is the reversion of the post.page to post.type column migration that was causing performance issues on larger sites. This change will be reintroduced with proper optimizations in Ghost 3.0.
The release also fixes a critical bug in the blog setup process that would cause crashes when email configuration was disabled, and resolves issues with database migration rollbacks that could lead to database locking errors.
For most users, this release will provide a more stable Ghost experience without introducing any breaking changes. Developers should note that if they were using the briefly introduced post.type column, they should revert to using the post.page property until Ghost 3.0.
You can see the full change log for the details of every change included in this release.