Home

>

Tools

>

Ghost

>

Releases

>

1.19.2

Ghost Release: 1.19.2

Tag Name: 1.19.2

Release Date: 1/4/2018

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.19.2 Release

This minor patch release fixes a critical issue with missing mail templates in the npm package. After a recent refactoring of the mail service, the .npmignore file wasn't updated properly, causing mail templates to be excluded from the npm package. This release ensures all mail templates are properly included, preventing potential email functionality failures for Ghost installations.

Highlight of the Release

    • Fixed critical issue with missing mail templates in npm package
    • Updated .npmignore to include the new mail templates location
    • Extended Ghost version utility to better differentiate between version types

Migration Guide

No migration steps are required for this update. Simply upgrade to Ghost 1.19.2 to receive the fixes.

Upgrade Recommendations

This update is highly recommended for all Ghost users, especially those who:

  • Install Ghost via npm
  • Rely on Ghost's email functionality

The fix for missing mail templates is critical for proper email functionality, including user invitations, password resets, and other system notifications. Upgrading to 1.19.2 ensures that your Ghost installation has all the necessary components to function correctly.

Bug Fixes

Fixed Missing Mail Templates in npm Package

A critical bug has been fixed where mail templates were missing from the npm package. This issue occurred during a recent refactoring of the mail service, where the .npmignore file wasn't updated to reflect the new location of mail templates.

The fix updates the .npmignore configuration to properly include the mail templates in their new location, ensuring that all necessary email templates are available when Ghost is installed via npm. This resolves potential issues with email functionality that would occur due to the missing templates.

New Features

Extended Ghost Version Utility

The Ghost version utility has been enhanced to better differentiate between different types of version information:

  1. Original package.json version (which can contain pre-release and build suffixes)
  2. Full package.json version in X.X.X-{pre} format (where pre-release suffix is optional)
  3. Safe package.json version in X.X format (containing only major and minor version numbers)

This improvement helps with version comparison and provides more flexibility when working with Ghost's versioning system.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were included in this release.

Impact Summary

Ghost 1.19.2 addresses a critical issue with missing mail templates in the npm package that could affect email functionality. The problem occurred after a recent mail service refactoring where the .npmignore file wasn't updated to include the new location of mail templates.

This release ensures that all mail templates are properly included in the npm package, restoring full email functionality for Ghost installations. Additionally, the Ghost version utility has been extended to provide better differentiation between different types of version information, which improves version handling throughout the system.

While this is a small patch release with only 135 changes across 7 files, it addresses an important issue that could impact core functionality for users who install Ghost via npm.

Full Release Notes

  • 🐛 Fixed missing mail templates in npm package (#9369)

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

Statistics:

File Changed7
Line Additions126
Line Deletions9
Line Changes135
Total Commits4

User Affected:

  • Can now properly send emails to users as the mail templates are correctly included in the package
  • No longer need to manually fix missing mail templates

Contributors:

kirrg001kevinansfieldaileen