chore(deps): update image binwiederhier/ntfy to v2.37.0 #7

Merged
renovate merged 1 commit from renovate/binwiederhier-ntfy-2.x into main 2026-11-05 14:02:15 +00:00
Collaborator

This PR contains the following updates:

Package Update Change Pending
binwiederhier/ntfy (source) minor v2.35.0 → v2.37.0 v2.37.2 (+1)

Release Notes

binwiederhier/ntfy

v2.37.0

Compare Source

This release makes UnifiedPush work across several servers: the subscriber who pays for a topic's pushes is shared through the database, and app servers are told with 410 Gone when a subscription has been abandoned for 4 days. It also adds Retry-After and the draft RateLimit headers to rate limit responses, and frees the memory of one-off visitors sooner.

Features:

  • With visitor-subscriber-rate-limiting, the subscriber of a UnifiedPush topic (who pays for its pushes) is kept in the user database and shared by all servers, so a push to any server is billed to the subscriber instead of answered with 507 (#​2136; see subscriber-based rate limiting)
  • Send a Retry-After header with HTTP 429 responses that are caused by a rate limit with a known wait, e.g. the request, e-mail or daily message limits (#​2142; see rate limiting)
  • Send the IETF draft RateLimit-Policy and RateLimit headers with publish responses (and with every 429 caused by a limit with a quota), for the request and daily message limits (#​2143; see rate limiting)
  • New metric ntfy_topics_unifiedpush_total: the UnifiedPush topics whose subscriber state a server keeps in memory (#​2136)

Behavior changes:

  • With visitor-subscriber-rate-limiting, a UnifiedPush push to a topic that has had no subscriber (subscribe, poll or open stream) for 4 days is answered with 410 (error code 41002) instead of 507, so app servers like Mastodon remove the expired subscription (#​664, #​2136); a Matrix push to such a topic gets its pushkey rejected (before: after 12 hours without a subscriber on the server that got the push)
  • With visitor-subscriber-rate-limiting, UnifiedPush messages are counted against the subscriber's account only while it has a tier, and against the subscriber's IP address otherwise (also after the account lost its tier or was deleted); a tier change applies to the next message (#​2136)
  • Ban feed: weights may be fractional (down to 0.001), auth failures (42909) now weigh 2 instead of 10, and a UnifiedPush push without a subscriber (50701) or to an abandoned topic (41002) weighs 0.05, so app servers pushing to many offline phones are not banned for it (#​2147)
  • The rate limit state of a visitor is forgotten about a minute after it has fully recovered (all buckets refilled) instead of after a day without use, which frees the memory of one-off visitors such as floods of new IPs. The visitors stat and the ntfy_visitors_total metric therefore count the visitors of roughly the last minute, not of the last day (#​2126)
  • Topics without subscribers are dropped from memory after 6 hours without use instead of 16; a publish to such a topic recreates it (and counts against visitor-topic-creation-limit-burst) (#​2136)

Bug fixes + maintenance:

  • With PostgreSQL and several servers, daily usage a server counted in the last seconds of a visitor's 24-hour period is no longer added to the next period (a double count); it is dropped instead (#​2136)
  • Cluster: a forwarded message for a topic without subscribers on the receiving node now counts as wasted (ntfy_cluster_messages_wasted_total) and no longer keeps that idle topic in memory (#​2140)

v2.36.0

Compare Source

This release keeps the daily limits across restarts and, with PostgreSQL, shares them between servers, so a visitor gets one daily allowance in total. Each visitor's day now starts at its own time instead of midnight UTC. It also adds an experimental local admin socket.

Features:

  • Daily limits (messages, e-mails, phone calls) are stored in the user database, so they survive restarts; with PostgreSQL, all servers share them. Each visitor's day starts at its own time instead of midnight UTC, and the account page and /v1/account (stats.reset_at) show when it resets (#​2131, see message limits)
  • Experimental local admin socket (experimental-listen-admin-unix, off by default) that serves the admin API without credentials to whoever can open it; the shipped systemd unit sets RuntimeDirectory=ntfy for it (see admin socket)
  • Export ntfy_db_up per PostgreSQL pool, and health-check the primary like the replicas (#​2133)

Upgrade notes:

  • Everyone's daily counts start over at the upgrade: the stats_* columns of the user table are zeroed and no longer used
  • Servers that share a PostgreSQL database must keep their clocks in sync (NTP)
  • Visitors without a tier have a daily e-mail limit again (24h / visitor-email-limit-replenish)
  • The whole server config is checked again when base-url or a message-size-limit above 4K is set, so an invalid config that used to start now fails at startup (#​1969, thanks to @​mikejgray for the contribution)

Bug fixes + maintenance:

  • Web app: Messages replayed by a poll or a reconnect no longer bring back deleted notifications, lose their read state or notify again (#​2098, #​2090, thanks to @​mattford63, @​arminus and @​tobykaspar79 for reporting)
  • CLI: ntfy pub --wait-pid now waits for processes owned by other users instead of failing with "not running" (#​1710, thanks to @​bekoeppel for the contribution)
  • Admin API (internal): manage other users' tokens, tiers and password reset links, return 4xx instead of 500 for invalid input, and remove a deleted user's web push subscriptions

Configuration

📅 Schedule: (in timezone Europe/Helsinki)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Update | Change | Pending | |---|---|---|---| | [binwiederhier/ntfy](https://ntfy.sh/) ([source](https://github.com/binwiederhier/ntfy)) | minor | `v2.35.0` → `v2.37.0` | `v2.37.2` (+1) | --- ### Release Notes <details> <summary>binwiederhier/ntfy</summary> ### [`v2.37.0`](https://github.com/binwiederhier/ntfy/releases/tag/v2.37.0) [Compare Source](https://github.com/binwiederhier/ntfy/compare/v2.36.0...v2.37.0) This release makes UnifiedPush work across several servers: the subscriber who pays for a topic's pushes is shared through the database, and app servers are told with `410 Gone` when a subscription has been abandoned for 4 days. It also adds `Retry-After` and the draft `RateLimit` headers to rate limit responses, and frees the memory of one-off visitors sooner. **Features:** - With `visitor-subscriber-rate-limiting`, the subscriber of a UnifiedPush topic (who pays for its pushes) is kept in the user database and shared by all servers, so a push to any server is billed to the subscriber instead of answered with 507 ([#&#8203;2136](https://github.com/binwiederhier/ntfy/pull/2136); see [subscriber-based rate limiting](https://docs.ntfy.sh/config/#subscriber-based-rate-limiting)) - Send a `Retry-After` header with HTTP 429 responses that are caused by a rate limit with a known wait, e.g. the request, e-mail or daily message limits ([#&#8203;2142](https://github.com/binwiederhier/ntfy/pull/2142); see [rate limiting](https://docs.ntfy.sh/config/#rate-limiting)) - Send the IETF draft `RateLimit-Policy` and `RateLimit` headers with publish responses (and with every 429 caused by a limit with a quota), for the request and daily message limits ([#&#8203;2143](https://github.com/binwiederhier/ntfy/pull/2143); see [rate limiting](https://docs.ntfy.sh/config/#rate-limiting)) - New metric `ntfy_topics_unifiedpush_total`: the UnifiedPush topics whose subscriber state a server keeps in memory ([#&#8203;2136](https://github.com/binwiederhier/ntfy/pull/2136)) **Behavior changes:** - With `visitor-subscriber-rate-limiting`, a UnifiedPush push to a topic that has had no subscriber (subscribe, poll or open stream) for 4 days is answered with `410` (error code 41002) instead of `507`, so app servers like Mastodon remove the expired subscription ([#&#8203;664](https://github.com/binwiederhier/ntfy/issues/664), [#&#8203;2136](https://github.com/binwiederhier/ntfy/pull/2136)); a Matrix push to such a topic gets its pushkey rejected (before: after 12 hours without a subscriber on the server that got the push) - With `visitor-subscriber-rate-limiting`, UnifiedPush messages are counted against the subscriber's account only while it has a tier, and against the subscriber's IP address otherwise (also after the account lost its tier or was deleted); a tier change applies to the next message ([#&#8203;2136](https://github.com/binwiederhier/ntfy/pull/2136)) - Ban feed: weights may be fractional (down to `0.001`), auth failures (`42909`) now weigh 2 instead of 10, and a UnifiedPush push without a subscriber (`50701`) or to an abandoned topic (`41002`) weighs 0.05, so app servers pushing to many offline phones are not banned for it ([#&#8203;2147](https://github.com/binwiederhier/ntfy/pull/2147)) - The rate limit state of a visitor is forgotten about a minute after it has fully recovered (all buckets refilled) instead of after a day without use, which frees the memory of one-off visitors such as floods of new IPs. The `visitors` stat and the `ntfy_visitors_total` metric therefore count the visitors of roughly the last minute, not of the last day ([#&#8203;2126](https://github.com/binwiederhier/ntfy/pull/2126)) - Topics without subscribers are dropped from memory after 6 hours without use instead of 16; a publish to such a topic recreates it (and counts against `visitor-topic-creation-limit-burst`) ([#&#8203;2136](https://github.com/binwiederhier/ntfy/pull/2136)) **Bug fixes + maintenance:** - With PostgreSQL and several servers, daily usage a server counted in the last seconds of a visitor's 24-hour period is no longer added to the next period (a double count); it is dropped instead ([#&#8203;2136](https://github.com/binwiederhier/ntfy/pull/2136)) - Cluster: a forwarded message for a topic without subscribers on the receiving node now counts as wasted (`ntfy_cluster_messages_wasted_total`) and no longer keeps that idle topic in memory ([#&#8203;2140](https://github.com/binwiederhier/ntfy/pull/2140)) ### [`v2.36.0`](https://github.com/binwiederhier/ntfy/releases/tag/v2.36.0) [Compare Source](https://github.com/binwiederhier/ntfy/compare/v2.35.0...v2.36.0) This release keeps the daily limits across restarts and, with PostgreSQL, shares them between servers, so a visitor gets one daily allowance in total. Each visitor's day now starts at its own time instead of midnight UTC. It also adds an experimental local admin socket. **Features:** - Daily limits (messages, e-mails, phone calls) are stored in the user database, so they survive restarts; with PostgreSQL, all servers share them. Each visitor's day starts at its own time instead of midnight UTC, and the account page and `/v1/account` (`stats.reset_at`) show when it resets ([#&#8203;2131](https://github.com/binwiederhier/ntfy/pull/2131), see [message limits](https://docs.ntfy.sh/config/#message-limits)) - Experimental local admin socket (`experimental-listen-admin-unix`, off by default) that serves the admin API without credentials to whoever can open it; the shipped systemd unit sets `RuntimeDirectory=ntfy` for it (see [admin socket](https://docs.ntfy.sh/config/#admin-socket)) - Export `ntfy_db_up` per PostgreSQL pool, and health-check the primary like the replicas ([#&#8203;2133](https://github.com/binwiederhier/ntfy/pull/2133)) **Upgrade notes:** - Everyone's daily counts start over at the upgrade: the `stats_*` columns of the user table are zeroed and no longer used - Servers that share a PostgreSQL database must keep their clocks in sync (NTP) - Visitors without a tier have a daily e-mail limit again (24h / `visitor-email-limit-replenish`) - The whole server config is checked again when `base-url` or a `message-size-limit` above 4K is set, so an invalid config that used to start now fails at startup ([#&#8203;1969](https://github.com/binwiederhier/ntfy/pull/1969), thanks to [@&#8203;mikejgray](https://github.com/mikejgray) for the contribution) **Bug fixes + maintenance:** - Web app: Messages replayed by a poll or a reconnect no longer bring back deleted notifications, lose their read state or notify again ([#&#8203;2098](https://github.com/binwiederhier/ntfy/issues/2098), [#&#8203;2090](https://github.com/binwiederhier/ntfy/issues/2090), thanks to [@&#8203;mattford63](https://github.com/mattford63), [@&#8203;arminus](https://github.com/arminus) and [@&#8203;tobykaspar79](https://github.com/tobykaspar79) for reporting) - CLI: `ntfy pub --wait-pid` now waits for processes owned by other users instead of failing with "not running" ([#&#8203;1710](https://github.com/binwiederhier/ntfy/pull/1710), thanks to [@&#8203;bekoeppel](https://github.com/bekoeppel) for the contribution) - Admin API (internal): manage other users' tokens, tiers and password reset links, return 4xx instead of 500 for invalid input, and remove a deleted user's web push subscriptions </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Helsinki) - Branch creation - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (`* 0-4,22-23 * * 1-5`) - Only on Sunday and Saturday (`* * * * 0,6`) - Automerge - At any time (no schedule defined) 🚦 **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 CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDIuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjIwMi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
chore(deps): update image binwiederhier/ntfy to v2.36.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
cd58e9569c
Signed-off-by: Renovate Bot <renovate@esle.fi>
renovate scheduled this pull request to auto merge when all checks succeed 2026-11-04 21:32:15 +00:00
renovate force-pushed renovate/binwiederhier-ntfy-2.x from cd58e9569c
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
to 8ad8762d56
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
2026-11-05 14:02:14 +00:00
Compare
renovate deleted branch renovate/binwiederhier-ntfy-2.x 2026-11-05 14:02:15 +00:00
renovate changed title from chore(deps): update image binwiederhier/ntfy to v2.36.0 to chore(deps): update image binwiederhier/ntfy to v2.37.0 2026-11-05 14:02:18 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ivuorinen/coolify-ntfy!7
No description provided.