- 🐛 Fixed payment methods not getting attached to subscriptions - Daniel Lockyer
- 🐛 Fixed EADDRINUSE error handling on NodeJS >=13 - KiraLT
View the changelogs for full details:
- Ghost - 3.41.5...3.41.6
- Ghost-Admin - TryGhost/Admin@3.41.5...3.41.6
Tag Name: 3.41.6
Release Date: 2/17/2021
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
This minor release addresses two important bugs: payment method attachment issues for subscriptions and error handling improvements for NodeJS >=13. The payment method fix ensures that updated payment cards are properly attached to subscriptions, preventing renewal failures. The error handling improvement provides clearer messages when Ghost encounters port conflicts during startup on newer NodeJS versions.
No migration steps are required for this release. Simply update to Ghost 3.41.6 to benefit from the bug fixes.
This release is recommended for all Ghost users, especially those:
The update addresses important bugs that could affect subscription renewals and system error handling. As this is a patch release with no breaking changes, upgrading should be straightforward with minimal risk.
To upgrade, follow the standard Ghost update process:
ghost update
Fixed an issue where updated payment methods (credit cards) weren't being properly attached to subscriptions. This bug could cause subscription renewals to fail even after a customer updated their card information. The problem was caused by:
await statement in the codeThis fix ensures that when customers update their payment information, it's correctly associated with their subscription, preventing renewal failures due to expired cards remaining as the default payment method.
Fixed error handling for EADDRINUSE errors (port already in use) on NodeJS version 13 and newer. Previously, the user-friendly "port is already in use" message wasn't displaying correctly because:
error.errno returns a numeric error code instead of a stringThe fix changes the code to use error.code instead, which provides consistent behavior across NodeJS versions, ensuring users get clear error messages when attempting to start Ghost on a port that's already in use.
No new features were introduced in this release.
No security fixes were included in this release.
No specific performance improvements were included in this release.
Ghost 3.41.6 is a maintenance release that addresses two specific bugs without introducing any new features or breaking changes. The payment method attachment fix is particularly important for sites using Ghost's subscription features, as it prevents potential revenue loss from failed renewals when customers update their payment information. The EADDRINUSE error handling improvement enhances the developer experience by providing clearer error messages when starting Ghost on newer NodeJS versions (13+) with port conflicts.
Both fixes are targeted solutions to specific problems and should have minimal impact on overall system behavior while improving reliability. The update to the members-api package is contained within this release, requiring no additional action from users beyond the standard update process.
View the changelogs for full details: