TL;DR
Ghost 0.11.11: Forward Compatibility & Bug Fixes
This minor release adds forward compatibility for Ghost 1.0 themes, making future upgrades smoother. It also includes important fixes for invalid dates in imports that could cause front-end issues, and resolves autosaving problems with new posts. Node.js v6 is now the recommended version for running Ghost.
Highlight of the Release
- Forward compatibility for Ghost 1.0 themes
- Protection against invalid dates in imports
- Fixed autosaving functionality for new posts
- Node.js v6 is now the recommended version
Migration Guide
No specific migration steps are required for this update. However, if you're developing themes, you can start using the new forward compatibility features:
- Use the new image/cover attributes on post, author, and user models
- Implement the
img_url helper in your theme templates
- Use the
cover_image property for blog cover
These changes will make your themes compatible with both Ghost 0.11.x and the upcoming Ghost 1.0.
Upgrade Recommendations
This is a minor release with important bug fixes and forward compatibility features. All users are recommended to upgrade, especially if you:
- Are experiencing issues with autosaving new posts
- Have encountered problems with invalid dates in imports
- Are developing themes and want to prepare for Ghost 1.0
The update process follows the standard Ghost upgrade procedure. After upgrading, it's recommended to update to Node.js v6 if you haven't already, as this is now the recommended version for running Ghost.
Bug Fixes
Fixed Autosaving for New Posts
The autosaving functionality for new posts has been fixed and is now behaving correctly again.
Protection Against Invalid Dates
This release adds protection against invalid dates that could be introduced through imports:
- Sanitizes invalid dates when importing content
- Sanitizes dates when fetching model data via Bookshelf
Previously, invalid dates could cause an uncaught RangeError in the getPublishedDate helper, which would prevent Ghost's error page from rendering and cause the connection to be closed. This fix ensures that invalid dates are properly handled, preventing front-end issues.
New Features
Forward Compatibility for Ghost 1.0 Themes
This release introduces forward compatibility for themes, making it easier to develop themes that work with both Ghost 0.11.x and the upcoming Ghost 1.0. The changes include:
- Added image/cover attributes to post, author, and user models
- Added a blog
cover_image property that mirrors the existing blog cover
- Registered a new
img_url helper for theme development
These changes allow theme developers to start using Ghost 1.0 theme features while maintaining compatibility with Ghost 0.11.x, ensuring a smoother upgrade path when Ghost 1.0 is released.
Security Updates
No security fixes were mentioned in this release.
Performance Improvements
No specific performance improvements were mentioned in this release.
Impact Summary
Ghost 0.11.11 is a minor release focused on forward compatibility and bug fixes. The forward compatibility features for themes are particularly important for those planning to upgrade to Ghost 1.0 in the future, as they allow theme developers to start implementing Ghost 1.0 features now while maintaining compatibility with 0.11.x.
The bug fixes for invalid dates address a potentially serious issue where invalid dates in imported content could cause the front-end to hang on certain requests. This improves the overall stability of Ghost installations, particularly those that have imported content from other platforms.
The recommendation to use Node.js v6 aligns Ghost with more modern JavaScript practices and ensures better performance and security. Overall, this release improves stability and prepares users for a smoother transition to Ghost 1.0 when it becomes available.
Full Release Notes
Please read the release blog post for more details.
Highlights
- [New] Forwards compatibility has been added for Ghost 1.0 themes to allow for smoother upgrades
- [Improved] Protections against invalid dates in imports were added - previously it was possible to import invalid dates which would then cause the front-end to hang on certain requests
- [Fixed] Autosaving of new posts is now behaving correctly again
You can see the full change log for the details of every change included in this release.