Home

>

Tools

>

Ghost

>

Releases

>

2.17.2

Ghost Release: 2.17.2

Tag Name: 2.17.2

Release Date: 3/13/2019

Ghost LogoGhost

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

TL;DR

Ghost 2.17.2 - Bug Fix Release

This minor release fixes a critical bug related to feature images in templates that was causing errors with the message "Cannot read property 'feature_image' of undefined". The fix prevents template rendering failures when accessing undefined properties, improving stability for sites using feature images in their themes. A regression test was also added to prevent similar issues with scheduled posts.

Highlight of the Release

    • Fixed critical template error: "Cannot read property 'feature_image' of undefined"
    • Added regression test for editing scheduled posts to prevent future issues
    • Improved stability for sites using feature images in their themes

Migration Guide

No migration steps are required for this update. This is a drop-in replacement that fixes bugs without changing any APIs or functionality.

Upgrade Recommendations

Immediate upgrade recommended for all Ghost installations, especially if you're experiencing template errors related to feature images or issues with scheduled posts.

⚠️ Note: While this release fixes important bugs, the release description mentions a settings bug present in this version. For the most stable experience, consider upgrading directly to Ghost 2.18.1 which addresses this settings issue as well.

Bug Fixes

  • Fixed the "Cannot read property 'feature_image' of undefined" error that was occurring in templates when trying to access the feature image property of an undefined object
  • Added regression tests for editing scheduled posts to ensure stability of this functionality
  • Addressed an issue reported in the Ghost forum where default.hbs template was failing due to undefined feature image properties

New Features

No significant new features were added in this release as it focuses on bug fixes and stability improvements.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release.

Impact Summary

This release has a moderate impact focused on stability. It fixes a template rendering bug that could cause visible errors for site visitors when templates attempted to access feature image properties that didn't exist. The fix prevents these errors from surfacing to end users, resulting in a more stable experience for both site administrators and visitors. The addition of regression tests for scheduled post editing also improves the long-term stability of the platform. No changes to APIs, database schema, or theme requirements were made, so the upgrade process should be straightforward with no backward compatibility concerns.

Full Release Notes

⚠️ Contains settings bug please upgrade to 2.18.1

  • 🐛 Fixed "Cannot read property 'feature_image' of undefined"

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

Statistics:

File Changed7
Line Additions79
Line Deletions6
Line Changes85
Total Commits4

User Affected:

  • No longer experiencing template errors related to undefined feature images
  • More stable site rendering for visitors

Contributors:

kirrg001naz