NOTE: Please update to 1.21.1 if your Ghost version is < 1.13.
- 🐛 Fixed migrating from < 1.13 to 1.21
You can see the full change log for the details of every change included in this release.
Tag Name: 1.21.1
Release Date: 2/7/2018
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
This patch release fixes a critical migration issue that affects users upgrading from Ghost versions earlier than 1.13 directly to version 1.21. The bug prevented successful database migrations due to a missing protection against non-existent roles in the database. If you're running a Ghost version older than 1.13 and planning to upgrade to 1.21, you must use this 1.21.1 release instead.
If you are upgrading from a Ghost version earlier than 1.13:
npm install -g ghost-cli@latest
ghost update
If you are already running Ghost 1.13 or newer, you can upgrade to either 1.21.0 or 1.21.1 without issues, though 1.21.1 is recommended.
npm install -g ghost-cli@latest
ghost update
This is a small patch release with minimal changes, focused on fixing a specific migration issue. The upgrade process should be quick and straightforward.
Fixed a critical issue in the migration process when upgrading from Ghost versions earlier than 1.13 directly to version 1.21:
No new features were introduced in this patch release. This is strictly a bug fix release focused on resolving a migration issue.
No security fixes were included in this patch release.
No specific performance improvements were included in this patch release. The focus was on fixing the migration issue.
This release addresses a specific but critical issue affecting users upgrading from older Ghost versions (pre-1.13) to version 1.21. Without this fix, such migrations would fail due to the fixture utility attempting to access contributor roles that don't yet exist in the database during the migration process.
The impact is limited to the upgrade path only - no functionality changes or feature additions are included in this release. For most users already on recent Ghost versions, this update is minor, but for those maintaining older Ghost installations and planning to upgrade, this release is essential to ensure a smooth migration process.
The fix itself is minimal and targeted, adding appropriate protection in the fixture utility to handle cases where certain database roles don't exist yet during migration.
NOTE: Please update to 1.21.1 if your Ghost version is < 1.13.
You can see the full change log for the details of every change included in this release.