- 🐛 Fixed Member model removing labels when unset - Fabien O'Carroll
View the changelogs for full details:
- Ghost - 3.41.3...3.41.4
- Ghost-Admin - TryGhost/Admin@3.41.3...3.41.4
Tag Name: 3.41.4
Release Date: 2/9/2021
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
This maintenance release addresses several important bugs, including a fix for the Member model that was inadvertently removing labels when unset. The update also resolves issues with newsletter bookmark cards in Gmail and improves template naming to prevent potential infinite loops in themes. This release is part of the 3.x maintenance branch and includes CI workflow updates to reflect this change in status.
No migration steps are required for this update. This is a maintenance release that can be installed without any special considerations.
This update is recommended for all Ghost 3.x users, especially those who:
{{content}} helperAs this is a patch release (3.41.3 → 3.41.4), it contains only bug fixes and should be safe to apply without disrupting your site's functionality.
Fixed an issue where the Member model was inadvertently removing labels when they were unset. The bookshelf-relations plugin used by Ghost would remove all relations when set to an empty array, but leave them alone if set to undefined. The logic to deduplicate uppercase & lowercase versions of the same label was always setting labels to an array, which could be empty when the model was saved without passing labels. This update adds a check to skip all label handling if no labels are set.
Updated the {{content}} helper partial template name from content.hbs to content-cta.hbs to prevent potential infinite loops in themes. This change addresses an issue where themes using a pattern of content.hbs with the {{content}} helper inside could cause infinite recursion in certain cases.
No significant new features were added in this maintenance release. The focus was on bug fixes and improvements to existing functionality.
No security fixes were included in this release.
No specific performance improvements were included in this release.
Ghost 3.41.4 is a maintenance release that addresses several bugs affecting member management and newsletter display. The most significant fix resolves an issue where member labels could be unexpectedly removed when updating member data. This release also improves compatibility with Gmail for newsletter bookmark cards and prevents potential infinite loops in themes using certain template patterns.
This update is part of the 3.x maintenance branch, indicating that Ghost is focusing on stability for the 3.x series while new feature development continues on newer versions. The CI workflow has been updated to reflect this change in status.
While this release doesn't introduce new features, it improves reliability for site administrators managing members and sending newsletters, particularly those using bookmark cards in their content.
View the changelogs for full details: