Home

>

Tools

>

Ghost

>

Releases

>

1.8.7

Ghost Release: 1.8.7

Tag Name: 1.8.7

Release Date: 9/19/2017

Ghost LogoGhost

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

TL;DR

Ghost 1.8.7: Bug Fixes and Code Cleanup

This minor release of Ghost focuses on fixing API URL generation for the Ghost SDK and removing defunct OAuth code. It ensures proper protocol handling when your blog is configured with HTTP but served over HTTPS, and cleans up legacy authentication code that was disabled before Ghost 1.0 was released. The update also improves debug logging for authentication utilities and reorganizes fixture utilities for better code organization.

Highlight of the Release

    • Fixed API URL generation for the Ghost SDK to properly handle HTTP/HTTPS protocols
    • Removed defunct Ghost OAuth code that was disabled before Ghost 1.0
    • Improved debug logging for authentication utilities
    • Fixed 'scheduled at' datepicker to show correct month when opening

Migration Guide

No migration is required for this update. The removal of OAuth code does not impact existing installations as this functionality was disabled before Ghost 1.0 was released.

Upgrade Recommendations

This is a minor release with bug fixes and code improvements. It's recommended for all Ghost users to upgrade to version 1.8.7, especially if you:

  • Serve your Ghost blog with different HTTP/HTTPS configurations
  • Use the Ghost SDK in your themes or applications
  • Schedule posts regularly and have experienced issues with the datepicker

The update is low-risk and should not cause any disruption to your existing Ghost installation.

Bug Fixes

  • Fixed API URL generation for the Ghost SDK (#9013)

    • Now properly handles cases where a blog is configured with HTTP but served over HTTPS
    • Generates protocol-agnostic URLs (e.g., //example.com) to allow dynamic protocol selection based on how the blog is served
    • Mirrors behavior from LTS branch to master branch
  • Fixed "scheduled at" datepicker not showing correct month when opening (TryGhost/Admin#860)

    • Calendar now displays the correct month when scheduling posts

New Features

No significant new features were added in this release. This update primarily focuses on bug fixes, code cleanup, and minor improvements to existing functionality.

Security Updates

No specific security fixes were included in this release.

Performance Improvements

  • Reduced debug logging verbosity (#9015)
    • Streamlined debug logs for authentication utilities
    • Improved log clarity while maintaining necessary information for troubleshooting

Impact Summary

Ghost 1.8.7 is a maintenance release that improves stability and fixes bugs without introducing breaking changes. The most notable improvement is the fix for API URL generation in the Ghost SDK, which ensures proper functionality regardless of HTTP/HTTPS configuration. This is particularly important for sites that may be configured with HTTP but served over HTTPS.

The removal of defunct OAuth code helps streamline the codebase by eliminating unused functionality that was disabled before Ghost 1.0 was released. This cleanup, along with improvements to debug logging and fixture utilities, contributes to a more maintainable codebase.

For end users, the fix to the "scheduled at" datepicker ensures a better experience when scheduling posts. Overall, this release represents Ghost's ongoing commitment to stability and code quality.

Full Release Notes

  • 🐛 Fixed "scheduled at" datepicker not showing correct month when opening (TryGhost/Admin#860)
  • 🐛 Fixed api url for the ghost sdk (#9013)

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

Statistics:

File Changed23
Line Additions114
Line Deletions785
Line Changes899
Total Commits6

User Affected:

  • Fixed API URL generation ensures your blog works correctly regardless of whether you serve it via HTTP or HTTPS
  • Improved stability with protocol-agnostic URL handling

Contributors:

kirrg001aileen