Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. ntfy
  3. ntfy - Package Updates

ntfy - Package Updates

Scheduled Pinned Locked Moved ntfy
61 Posts 3 Posters 18.3k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Package UpdatesP
    Package UpdatesP
    Package Updates
    wrote on last edited by
    #52

    [1.37.0]

    • Update ntfy to 2.33.0
    • Full Changelog
    • Show each cluster node's view of its peers with ntfy cluster status, /v1/cluster/status on the cluster listener, and per-peer metrics, so a link that only works in one direction is visible (experimental clustering, see cluster status)
    • Export PostgreSQL connection pool metrics (ntfy_db_pool_*: connections in use, and queries that waited for a free connection, per pool), to size pool_max_conns (see PostgreSQL)
    • Build with Go 1.27.3, which includes the security fixes of Go 1.27.2 (crypto/tls, net/http, html/template and others) and 1.27.3 (crypto/x509: certificate chains through the compromised eMudhra intermediate CAs are rejected)
    • Reject phone number verification unless Twilio confirms the code as approved, instead of accepting any successful response
    • Ignore duplicate topics in a subscription and limit a subscription to 150 topics, so a single request cannot replay the same topic's cache over and over
    • Count published messages from every cluster node: each node adds its own publishes to the stored total instead of the leader overwriting it with its own count (experimental clustering)
    1 Reply Last reply
    0
    • Package UpdatesP
      Package UpdatesP
      Package Updates
      wrote on last edited by
      #53

      [1.37.1]

      • Update ntfy to 2.33.1
      • Full Changelog
      • Show each cluster node's view of its peers with ntfy cluster status, /v1/cluster/status on the cluster listener, and per-peer metrics, so a link that only works in one direction is visible (experimental clustering, see cluster status)
      • Export PostgreSQL connection pool metrics (ntfy_db_pool_*: connections in use, and queries that waited for a free connection, per pool), to size pool_max_conns (see PostgreSQL)
      • Build with Go 1.27.3, which includes the security fixes of Go 1.27.2 (crypto/tls, net/http, html/template and others) and 1.27.3 (crypto/x509: certificate chains through the compromised eMudhra intermediate CAs are rejected)
      • Reject phone number verification unless Twilio confirms the code as approved, instead of accepting any successful response
      • Ignore duplicate topics in a subscription and limit a subscription to 150 topics, so a single request cannot replay the same topic's cache over and over
      • Count published messages from every cluster node: each node adds its own publishes to the stored total instead of the leader overwriting it with its own count (experimental clustering)
      • Fix "Illegal instruction" crash of the amd64 binaries on CPUs without x86-64-v3 (AVX2/BMI2), by building releases on Ubuntu 24.04 again (#2092, thanks to @frank-bg for reporting)
      1 Reply Last reply
      0
      • Package UpdatesP
        Package UpdatesP
        Package Updates
        wrote on last edited by
        #54

        [1.38.0]

        • Update ntfy to 2.34.0
        • Full Changelog
        • Allow several comma-separated addresses in listen-http, so a load balancer can hold more than ~63k connections to one ntfy node
        • Cluster nodes drain on shutdown: an active node withdraws (stops being ready), then turns read-only and closes its subscriber connections gradually (experimental-cluster-drain-delay, experimental-cluster-drain-duration), so its clients move to the other nodes without a reconnect storm (experimental, see draining on shutdown)
        • End all of a user's subscriptions when their access to a topic is reset or the user is deleted: only the first one was ended, so the others kept receiving the topic's messages (#1845, thanks to @gigioneggiando for reporting)
        • In an experimental cluster, tell the other nodes when access changes (e.g. a reservation or a revoked permission), so they reload their access cache and disconnect subscribers who lost access; the access cache reload also catches changes made elsewhere, e.g. by the ntfy access CLI, and now runs every 67 seconds instead of 87
        • Fix a deadlock when ending subscriptions (reserving a topic with live subscribers, revoking access, deleting a user) while debug logging or log-level-overrides is on: the subscriptions' topic stayed locked for good
        • Fix a data race when log-level-overrides changes (e.g. on a config reload with SIGHUP) while the server logs
        1 Reply Last reply
        0
        • Package UpdatesP
          Package UpdatesP
          Package Updates
          wrote last edited by
          #55

          [1.39.0]

          • Update ntfy to 2.35.0
          • Full Changelog
          • Reject Matrix push gateway requests whose push key does not name a valid topic. Publishing strips NUL bytes and invalid UTF-8 from the topic after authorization, so an anonymous push key like /sec%00ret was authorized against an unmatched topic and then stored under the protected topic secret (SQLite only; on PostgreSQL the request was denied; thanks to Efe am for reporting)
          • A tier change (an upgrade, a downgrade, or a tier edited in place) applies on the user's next request and keeps what was already spent; before, it refilled the request, email and attachment bandwidth limits (#2104, #2105)
          • A tier's daily email limit is a hard cap; before, the tier's email burst came on top of it, so a user could send more emails a day than the tier allows
          • Fix intermittent 403s and panics in the account handlers under concurrent requests from the same IP: a login or logout could change the user under another request, so a request with valid credentials was treated as anonymous, or the other way around. Every request now gets its own visitor (#1051, #2113, #2118, thanks to @ivanetinajero for reporting)
          • A tier with a daily email limit of zero sends no emails; before, it could still send the server's email burst (visitor-email-limit-burst)
          • An attachment upload rejected at a size limit is no longer charged to the attachment bandwidth limit for the part that went over
          • Rate limits live in one shared limit service, keyed by ip:<prefix> or user:<id>, instead of in each visitor, which uses less memory per visitor and takes a global lock off the request path
          • Accept terabyte units (e.g. 1T) in size settings such as attachment and tier limits, matching how sizes are displayed (#2078, thanks to @cangen185-sudo for the contribution)
          1 Reply Last reply
          0
          • Package UpdatesP
            Package UpdatesP
            Package Updates
            wrote last edited by
            #56

            [1.40.0]

            • Update ntfy to 2.36.0
            • Full Changelog
            • 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)
            • 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)
            • 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
            1 Reply Last reply
            0
            • Package UpdatesP
              Package UpdatesP
              Package Updates
              wrote last edited by
              #57

              [1.41.0]

              • Update ntfy to 2.37.1
              • Full Changelog
              • With visitor-subscriber-rate-limiting and a user database, write a UnifiedPush topic's subscriber activity every one to two hours instead of every 5 minutes, spread over time, and not at all when a poll or reconnect only repeats the same subscriber; on ntfy.sh, v2.37.0's writes of ~45k topics every 5 minutes, all due in the same minute, slowed down the database (#2151)
              • 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)
              • 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)
              • 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)
              1 Reply Last reply
              0
              • Package UpdatesP
                Package UpdatesP
                Package Updates
                wrote last edited by
                #58

                [1.41.1]

                • Update ntfy to 2.37.2
                • Full Changelog
                • 0510957 Merge pull request #2169 from binwiederhier/release-2380
                1 Reply Last reply
                0
                • Package UpdatesP
                  Package UpdatesP
                  Package Updates
                  wrote last edited by
                  #59

                  [1.42.0]

                  • Update ntfy to 2.38.0
                  • Full Changelog
                  • Cluster: the nodes share every visitor's rate limits (requests, failed logins, signups and password resets, topic creation, e-mails, attachment bandwidth, Firebase pauses) over the mesh every second, so a client spread over several nodes gets its limits once, not once per node; a node that restarts or crashes takes the limits over from its peers before it serves (#2182)
                  • Message templating: the replace, regexReplaceAll and join functions now cap the size of the string they build, so a template can no longer amplify small inputs into a multi-gigabyte string and crash the server with an out-of-memory error (thanks to Robert Flosbach of Neodyme for the responsible disclosure)
                  • WebSocket subscribers that a node closes while draining are no longer counted and logged as internal server errors (HTTP 500, ntfy error 50001); on ntfy.sh, each node's drain counted ~18k of them and tripped the 5xx alert, although clients never saw an error (#2171)
                  • Build with Go 1.27.4, which includes security fixes to cgo, the go command, the compiler, the linker and net/http
                  1 Reply Last reply
                  0
                  • Package UpdatesP
                    Package UpdatesP
                    Package Updates
                    wrote last edited by
                    #60

                    [1.42.1]

                    • Update ntfy to 2.38.1
                    • Full Changelog
                    • Message templating: values are now checked before they are printed or JSON-encoded, so a template can no longer crash the server by printing a value that references itself, or build a huge string by printing a list of many references to one value
                    • Message templating: printf only accepts plain directives (no explicit argument indexes or %p) and no lists or dicts as arguments, and the html, js and urlquery functions are no longer allowed
                    • Message templating: the execution deadline is now also enforced inside a single template action, so a long pipeline or deeply nested function calls can no longer outrun it
                    • Message templating: the regexMatch, regexFind, regexFindAll, regexReplaceAll, regexReplaceAllLiteral and regexSplit functions (and their must variants) now reject patterns longer than 1024 bytes or that compile to more than 5000 instructions, so a template can no longer make the server compile and run a huge regular expression
                    • Message templating: limit the result size of the cat, toPrettyJSON, concat and keys functions, and the list size of uniq, without and has, so a small template can no longer build a huge string or list in a single call
                    • Message templating: apply the iteration limit of until, untilStep and seq to decreasing sequences too, so a negative step can no longer build an unbounded list
                    • Attachments: buffer S3 uploads of unknown size in small chunks as data arrives, instead of allocating a full 5 MB part up front (and a second one for multipart uploads), so that slow or stalled uploads no longer pin 5-10 MB of memory each
                    • Web push: use a timeout for deliveries and always close the push service response, so slow or unresponsive push endpoints can no longer leak connections and goroutines; a timeout or network error no longer removes the subscription
                    • Web push: count the subscription limit per IP prefix (the same IPv6 /64 or configured prefix as all other limits) instead of per full IP address, so rotating addresses within one prefix no longer bypasses it
                    • Stripe billing: when an abandoned checkout expires (incomplete_expired) after the user paid for another subscription, the webhook no longer replaces the paying subscription with the expired one (#2199)
                    1 Reply Last reply
                    0
                    • Package UpdatesP
                      Package UpdatesP
                      Package Updates
                      wrote last edited by
                      #61

                      [1.42.2]

                      • Update ntfy to 2.38.2
                      • Full Changelog
                      • E-mail publishing: upgrade the SMTP server library (go-smtp) from v0.17.0 to v0.26.0, which fixes unbounded memory allocation when a client sends a command between two BDAT chunks (GO-2026-7029); incoming mail now has to use CRLF line endings, as required by the SMTP standard
                      • Reservations: wildcard access entries with an underscore (e.g. mytopic_*) now block reservations of topics they cover, so users can no longer reserve a topic inside such a namespace and become its owner (thanks to @DogukanK for reporting)
                      • Reservations: users on a tier with a reservation limit of 0 can no longer reserve topics (the limit was treated as unlimited) (thanks to @DogukanK for reporting)
                      • Rate limiting: read all X-Forwarded-For (or configured proxy header) lines, not just the first, so clients behind proxies like HAProxy can no longer spoof their IP address to bypass the per-IP rate and login limits (thanks to @immanuel-lam for reporting)
                      • Web app: the config hash is now the same on all nodes of a cluster, so the web app no longer asks for a refresh when a version check lands on another node, and it no longer covers the database and S3 URLs (which can contain credentials)
                      • Firebase: log the HTTP status, Retry-After header and response body of failed sends, to help diagnose quota errors (#2222)
                      • E-mail publishing: line breaks in messages published by e-mail no longer contain a carriage return (\r) from the mail's CRLF line endings
                      • Update Go and web app dependencies
                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search