ntfy
Recent Changes
Update ntfy to 2.38.1
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:
printfonly accepts plain directives (no explicit argument indexes or%p) and no lists or dicts as arguments, and thehtml,jsandurlqueryfunctions are no longer allowedMessage 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,regexReplaceAllLiteralandregexSplitfunctions (and theirmustvariants) 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 expressionMessage templating: limit the result size of the
cat,toPrettyJSON,concatandkeysfunctions, and the list size ofuniq,withoutandhas, so a small template can no longer build a huge string or list in a single callMessage templating: apply the iteration limit of
until,untilStepandseqto decreasing sequences too, so a negative step can no longer build an unbounded listAttachments: 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)
ntfy (pronounce: notify) is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, entirely without signup or cost.
Install ntfy in a few minutes on your server with Cloudron. To install Cloudron first, follow our setup steps.