Home

>

Tools

>

Ghost

>

Releases

>

2.16.1

Ghost Release: 2.16.1

Tag Name: 2.16.1

Release Date: 2/26/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.16.1 is a minor patch release that fixes a critical module loading error that occurred when updating to version 2.16.0. The fix ensures that the config.js file is properly included in the npm package, resolving the "Cannot find module './config'" error that was preventing successful updates.

Highlight of the Release

    • Fixed critical 'Cannot find module './config'' error that prevented successful updates to 2.16.0
    • Updated .npmignore file to properly include the config.js file in the package

Migration Guide

No migration steps are required for this update. This is a straightforward patch that fixes a module loading error.

If you previously encountered the "Cannot find module './config'" error after updating to 2.16.0, updating to 2.16.1 will resolve this issue automatically without requiring any manual intervention.

Upgrade Recommendations

Immediate Upgrade Recommended

If you are currently on Ghost 2.16.0 and experiencing the "Cannot find module './config'" error, we strongly recommend upgrading to 2.16.1 immediately to resolve this issue.

If you are on an earlier version and planning to update to 2.16.x, we recommend skipping 2.16.0 entirely and updating directly to 2.16.1 to avoid encountering the module loading error.

This is a small patch release with minimal changes, focused solely on fixing a critical bug, so the upgrade process should be straightforward and low-risk.

Bug Fixes

Fixed Module Loading Error

This release addresses a critical bug where users encountered a "Cannot find module './config'" error when updating to Ghost 2.16.0. The issue was caused by the config.js file being incorrectly included in the .npmignore file, which prevented it from being packaged with the npm distribution.

The fix removes config.js from the .npmignore file, ensuring that this essential file is properly included in the package and can be found when Ghost is installed or updated.

New Features

No new features were introduced in this patch release. This update focuses solely on fixing the module loading error.

Security Updates

No security fixes were included in this patch release.

Performance Improvements

No specific performance improvements were included in this patch release.

Impact Summary

This patch release has a high impact for users who were unable to successfully update to Ghost 2.16.0 due to the module loading error. By fixing the .npmignore configuration to properly include the config.js file, Ghost 2.16.1 ensures that installations and updates can proceed normally without encountering the "Cannot find module './config'" error.

The change is minimal but critical, affecting only the npm package distribution rather than introducing any functional changes to the Ghost platform itself. This means that once updated, users should experience no difference in functionality compared to what was intended in the 2.16.0 release.

Full Release Notes

  • 🐛Fixed "Cannot find module './config'" error when updating to 2.16.0

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

Statistics:

File Changed3
Line Additions2
Line Deletions3
Line Changes5
Total Commits3

User Affected:

  • Can now successfully update from earlier versions to 2.16.x without encountering the module loading error
  • No longer need to manually fix the missing config.js file issue

Contributors:

kirrg001