Home

>

Tools

>

Ghost

>

Releases

>

1.6.2

Ghost Release: 1.6.2

Tag Name: 1.6.2

Release Date: 8/17/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.6.2 is a minor release that focuses on code organization improvements and UI fixes. It includes API routing and middleware enhancements, dependency optimization by replacing icojs with image-size for icon handling, and several UI improvements in the admin interface. This release enhances the developer experience through better code structure while fixing visual issues for users, particularly in Night Shift mode.

Highlight of the Release

    • Reorganized API express app routing for better code maintainability
    • Replaced icojs with image-size for more efficient icon handling
    • Fixed UI issues in Night Shift mode for better visibility
    • Improved mobile responsiveness for team invites list
    • Updated Casper theme to version 2.0.5

Migration Guide

No migration steps are required for this release. The changes are primarily internal code improvements and bug fixes that don't affect the public API or require any action from users or developers.

Upgrade Recommendations

This is a minor release with UI fixes and internal code improvements. It's recommended for all users to upgrade to benefit from the bug fixes and UI enhancements, particularly if you're using Night Shift mode or working with team invites and subscriber features.

For developers working on the Ghost codebase or building integrations, this update provides a cleaner API structure that may make your development work easier.

The update process follows the standard Ghost upgrade procedure and should be straightforward with no breaking changes.

Bug Fixes

UI and Visual Fixes

  • Team Invites List: Improved layout at mobile sizes for better usability on smaller screens.

  • Subscribers Table: Fixed positioning of direction arrows to ensure proper alignment.

  • Night Shift Mode Improvements:

    • Fixed legibility of contributor names
    • Improved readability of theme uploader text
  • Unsplash Integration: Fixed missing Unsplash icons in uploaders when using config override.

New Features

Code Structure Improvements

  • API Express App Reorganization: Split routes out from the API app following the same pattern as the blog app, making the codebase more consistent and maintainable.

  • Middleware Configuration Separation: Moved middleware configuration out of API routes into logical groupings for better clarity and organization.

Dependency Optimization

  • Icon Handling Improvement: Replaced the icojs dependency with image-size library which now supports .ico files, resulting in more streamlined code.

  • Casper Theme Update: Updated the default Casper theme to version 2.0.5.

Security Updates

No specific security fixes were mentioned in this release.

Performance Improvements

Icon Handling Optimization

  • Streamlined Image Processing: Removed the dependency on icojs in favor of using image-size for .ico files, which simplifies the codebase and reduces dependencies.

  • Synchronous Icon Dimension Fetching: Refactored the getIconDimensions function in blog icon utility to fetch image sizes synchronously, improving the flow of icon processing.

Code Organization

  • The reorganization of API routes and middleware configuration contributes to better code maintainability and potentially faster development cycles, though these changes are primarily focused on code quality rather than direct performance improvements.

Impact Summary

Ghost 1.6.2 is a quality-of-life release that improves both the developer and user experience. For developers, the code reorganization makes the API structure more consistent and easier to understand, following established patterns from other parts of the application. The replacement of icojs with image-size simplifies the codebase and removes an unnecessary dependency.

For admin users, this release addresses several UI issues, particularly improving the experience in Night Shift mode with better text legibility. Mobile users will benefit from improved layouts for team management.

While not introducing major new features, this release demonstrates Ghost's commitment to continuous improvement of both code quality and user experience. The changes lay groundwork for more maintainable development in the future while addressing specific pain points in the current UI.

Full Release Notes

  • 🎨 Improve layout of team invites list at mobile sizes (TryGhost/Admin#813)
  • 🎨 Fix positioning of direction arrows in subscribers table (TryGhost/Admin#824)
  • 🎨 Fix legibility of contributor names in Night Shift
  • 🎨 Improve legibility of theme uploader text in Night Shift (TryGhost/Admin#823)
  • 🐛 Fix missing Unsplash icons in uploaders when using config override (TryGhost/Admin#829)

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

Statistics:

File Changed14
Line Additions332
Line Deletions493
Line Changes825
Total Commits5

User Affected:

  • Better organized API routing structure following the blog app pattern
  • Improved middleware configuration with logical groupings
  • Simplified icon handling with the removal of `icojs` dependency
  • More maintainable codebase with cleaner organization

Contributors:

ErisDSaileenkevinansfield