Skip to content

[pull] main from TryGhost:main#1254

Merged
pull[bot] merged 4 commits into
code:mainfrom
TryGhost:main
Jun 19, 2026
Merged

[pull] main from TryGhost:main#1254
pull[bot] merged 4 commits into
code:mainfrom
TryGhost:main

Conversation

@pull

@pull pull Bot commented Jun 19, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

EvanHahn and others added 4 commits June 18, 2026 19:40
towards https://linear.app/ghost/issue/NY-1360

## Before

```
mysql> SELECT name, slug FROM automations;
+----------------------+---------------------------+
| name                 | slug                      |
+----------------------+---------------------------+
| Welcome Email (Free) | member-welcome-email-free |
| Welcome Email (Paid) | member-welcome-email-paid |
+----------------------+---------------------------+
```

## After

```
mysql> SELECT name, slug FROM automations;
+--------------------------+---------------------------+
| name                     | slug                      |
+--------------------------+---------------------------+
| Free member welcome flow | member-welcome-email-free |
| Paid member welcome flow | member-welcome-email-paid |
+--------------------------+---------------------------+
```

Note that this doesn't change anything visible about welcome emails,
because we don't show those names anywhere.
closes https://linear.app/ghost/issue/NY-1314

Members can now opt out of "updates & announcements" (automation and
welcome emails) independently of newsletters and comment notifications.

What's changing:

- Adds an `enable_updates_and_announcements` member preference, exposed
  through the members API, output serializers, and the
  member-newsletters middleware.
- Portal: new toggle in email preferences (account + unsubscribe pages)
  plus a dedicated unsubscribe flow for the `?updates=1` link, and a
  disabled state on the shared Switch component.
- Unsubscribe controller and settings-helpers handle the `updates` param
  and clear the preference, mirroring how newsletter/comment
  unsubscribes work.
- Automation poll skips sends for members who have opted out. When the
  preference is unset (null) it falls back to "is the member subscribed
  to any newsletter?", so existing behaviour is preserved.
- Automation emails now carry a one-click List-Unsubscribe header and a
  footer "Unsubscribe" link pointing at the updates & announcements
  preference, gated behind the `automations` labs flag.
- Bumped Portal to 2.69.6 and added the new i18n strings + context.

Co-authored-by: Evan Hahn <evan@ghost.org>
no ref

Fixes the `sinon.useFakeTimers` hang that kept 11 integration + e2e-api tests in mocha.
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| stripe/stripe-cli | digest | `2daa6a2` → `e87a4da` |

---

### Configuration

📅 **Schedule**: (in timezone Etc/UTC)

- Branch creation
  - Only on Sunday and Saturday (`* * * * 0,6`)
- Between 11:00 PM and 11:59 PM, Monday through Friday (`* 23 * * 1-5`)
- Between 12:00 AM and 04:59 AM, Monday through Saturday (`* 0-4 * *
1-6`)
- Automerge
  - Only on Sunday and Saturday (`* * * * 0,6`)
- Between 11:00 PM and 11:59 PM, Monday through Friday (`* 23 * * 1-5`)
- Between 12:00 AM and 04:59 AM, Monday through Saturday (`* 0-4 * *
1-6`)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMzEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjIzMS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: tryghost-renovate[bot] <269725441+tryghost-renovate[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Jun 19, 2026
@pull pull Bot added the ⤵️ pull label Jun 19, 2026
@pull pull Bot merged commit 1a139e4 into code:main Jun 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants