- 🐛 Fixed unsubscribed members receiving email when a post is sent to all members (#13181) - Kevin Ansfield
View the changelogs for full details:
- Ghost - v4.10.1...v4.10.2
- Admin - TryGhost/Admin@v4.10.1...v4.10.2
Tag Name: v4.10.2
Release Date: 7/26/2021
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
No migration steps are required for this patch release. The update can be applied without any additional configuration changes.
This release fixes a critical bug affecting email delivery to unsubscribed members. Immediate upgrade is recommended for all Ghost installations, especially for sites that:
The fix ensures proper respect for member subscription preferences and prevents sending unwanted emails to unsubscribed members.
This release addresses a critical bug where unsubscribed members were incorrectly receiving emails when posts were sent to "all members".
The issue stemmed from incorrect operator precedence in the filter logic when transforming it to enforce subscribed:true before sending emails:
subscribed:true+status:free) - worked correctlysubscribed:true+status:-free) - worked correctlysubscribed:true+status:-free,status:free) - the ,status:free part was treated as a separate OR statement, meaning the subscribed:true filter wasn't applied to free membersThe fix includes:
subscribed:true+(status:-free,status:free)addEmail() and getEmailMemberRows() methodssent/send typo in an error messageNo new features were introduced in this patch release.
No security fixes were included in this release.
No specific performance improvements were included in this release.
This patch release addresses an important bug in Ghost's email delivery system that could result in unsubscribed members receiving unwanted emails when posts were sent to all members. The fix improves the reliability of Ghost's subscription filter by correcting operator precedence in the filter logic.
The impact is particularly significant for publications with both free and paid members who regularly send newsletters. By ensuring that the subscribed:true filter is properly applied across all member segments, this update helps maintain trust with your audience by respecting their communication preferences.
This fix also helps prevent potential deliverability issues that could arise from sending emails to users who have explicitly unsubscribed, which could otherwise lead to increased spam complaints and negative sender reputation.
View the changelogs for full details: