Python-ntfy

Latest version: v0.4.5

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

2.11.0

Released May 13, 2024

This is a tiny release that fixes a database index issue that caused performance issues on ntfy.sh. It also fixes a bug
in the rate visitor logic that caused rate visitors to be assigned to seemingly random topics. Nothing major this time.

❤️ Quick reminder that if you like ntfy, **please consider sponsoring us** via [GitHub Sponsors](https://github.com/sponsors/binwiederhier)
and [Liberapay](https://en.liberapay.com/ntfy/), or buying a [paid plan via the web app](https://ntfy.sh/app). ntfy will always remain open source.

**Bug fixes + maintenance:**

* Re-add database index `idx_topic` to the `messages` table to fix performance issues on ntfy.sh (no ticket, big thanks to [tcaputi](https://github.com/tcaputi) for finding this issue)
* Do not set rate visitor for non-eligible topics (no ticket)
* Do not cache `config.js` ([1098](https://github.com/binwiederhier/ntfy/pull/1098), thanks to [wunter8](https://github.com/wunter8))

2.10.0

Released Mar 27, 2024

This release adds support for **message templating** in the ntfy server, which allows you to include a message and/or
title template that will be filled with values from a JSON body (e.g. `curl -gd '{"alert":"Disk space low"}' "ntfy.sh/mytopic?tpl=1&m={{.alert}}"`).
This is great for services that let you specify a webhook URL but do not let you change the webhook body (such as GitHub, or Grafana).

**Features:**

* [Message templating](publish.mdmessage-templating): You can now include a message and/or title template that will be filled with values from a JSON body ([724](https://github.com/binwiederhier/ntfy/issues/724), thanks to [wunter8](https://github.com/wunter8) for implementing)

2.9.0

Released Mar 7, 2024

A small release after a long pause (lots of day job work). This release adds for **larger messages** and **longer
message delays** in scheduled delivery messages. The web app also now supports pasting images from the clipboard. Other
than that, only a few bug fixes and documentation updates, and a teeny tiny breaking change 😬.

!!! info
⚠️ **Breaking change**: The `Rate-Topics` header was removed due to a [DoS issue](https://github.com/binwiederhier/ntfy/issues/1048). This only affects
installations with `visitor-subscriber-rate-limiting: true`, which is not the default and likely very rarely used.
Normally I'd never remove a feature, but this is a security issue, and likely affects almost nobody.

**Features:**

* Support for larger message delays with `message-delay-limit` (see [message limits](config.mdmessage-limits), [1050](https://github.com/binwiederhier/ntfy/pull/1050)/[#1019](https://github.com/binwiederhier/ntfy/issues/1019), thanks to [MrChadMWood](https://github.com/MrChadMWood) for reporting)
* Support for larger message body sizes with `message-size-limit` (use at your own risk, see [message limits](config.mdmessage-limits), [836](https://github.com/binwiederhier/ntfy/pull/836)/[#1050](https://github.com/binwiederhier/ntfy/pull/1050), thanks to [zhzy0077](https://github.com/zhzy0077) for implementing this, and to [nkjshlsqja7331](https://github.com/nkjshlsqja7331) for reporting)
* Web app: You can now paste images into the message bar or publish dialog ([963](https://github.com/binwiederhier/ntfy/pull/963)/[#572](https://github.com/binwiederhier/ntfy/issues/572), thanks to [cmj2002](https://github.com/cmj2002) for implementing, and [rounakdatta](https://github.com/rounakdatta) for reporting)

**Bug fixes + maintenance:**

* ⚠️ Remove `Rate-Topics` header due to DoS security issue if `visitor-subscriber-rate-limiting: true` ([1048](https://github.com/binwiederhier/ntfy/issues/1048))

**Documentation:**

* Remove `mkdocs-simple-hooks` ([1016](https://github.com/binwiederhier/ntfy/pull/1016), thanks to [Tom-Hubrecht](https://github.com/Tom-Hubrecht))
* Update Watchtower example ([1014](https://github.com/binwiederhier/ntfy/pull/1014), thanks to [lennart-m](https://github.com/lennart-m))
* Fix dead links ([1022](https://github.com/binwiederhier/ntfy/pull/1022), thanks to [DerRockWolf](https://github.com/DerRockWolf))
* PowerShell file upload example ([1004](https://github.com/binwiederhier/ntfy/pull/1004), thanks to [YMan84](https://github.com/YMan84))

2.8.0

Released November 19, 2023

This release brings a handful of random bug fixes: two unrelated access control list fixes, a fix around web app crashes
for languages with underscores in the language code (e.g. `zh_Hant`, `zh_Hans`, `pt_BR`, ...), a workaround for the
`Priority` header (often used in Cloudflare setups), and support among others support for HTML-only emails (finally),
web app crash fixes

**Bug fixes + maintenance:**

* Support for HTML-only emails ([690](https://github.com/binwiederhier/ntfy/issues/690)/[#693](https://github.com/binwiederhier/ntfy/pull/693), thanks to [teastrainer](https://github.com/teastrainer) and [CrazyWolf13](https://github.com/CrazyWolf13) for reporting)
* Fix ACL issue with topic patterns containing underscores ([840](https://github.com/binwiederhier/ntfy/issues/840), thanks to [Joe-0237](https://github.com/Joe-0237) for reporting)
* Fix ACL issue with order of read/write rules ([914](https://github.com/binwiederhier/ntfy/issues/914)/[#917](https://github.com/binwiederhier/ntfy/pull/917), thanks to [sandman7920](https://github.com/sandman7920))
* Re-add `tzdata` to Docker images for amd64 image ([894](https://github.com/binwiederhier/ntfy/issues/894), [#307](https://github.com/binwiederhier/ntfy/pull/307))
* Add special logic to ignore `Priority` header if it resembles an RFC 9218 value ([851](https://github.com/binwiederhier/ntfy/pull/851)/[#895](https://github.com/binwiederhier/ntfy/pull/895), thanks to [gusdleon](https://github.com/gusdleon), see also [#351](https://github.com/binwiederhier/ntfy/issues/351), [#353](https://github.com/binwiederhier/ntfy/issues/353), [#461](https://github.com/binwiederhier/ntfy/issues/461))
* PWA: hide install prompt on macOS 14 Safari ([899](https://github.com/binwiederhier/ntfy/pull/899), thanks to [nihalgonsalves](https://github.com/nihalgonsalves))
* Fix web app crash in Edge for languages with underline in locale ([922](https://github.com/binwiederhier/ntfy/pull/922)/[#912](https://github.com/binwiederhier/ntfy/issues/912)/[#852](https://github.com/binwiederhier/ntfy/issues/852), thanks to [imkero](https://github.com/imkero))

**Additional languages:**

* Finnish (thanks to [Seppo](https://hosted.weblate.org/user/Seppo/))

2.7.0

Released August 17, 2023

This release ships Markdown support for the web app (not in the Android app yet), and adds support for
right-to-left languages (RTL) in the web app. It also fixes a few issues around date/time formatting,
internationalization support, a CLI auth bug.

Furthermore, it fixes a security issue around access tokens getting erroneously deleted for other users
in a specific scenario. This was a denial-of-service-type security issue, since it **effectively allowed a
single user to deny access to all other users of a ntfy instance**. Please note that while tokens were
erroneously deleted, **nobody but the token owner ever had access to it.** Please refer to [the ticket](https://github.com/binwiederhier/ntfy/issues/838)
for details. **Please upgrade your ntfy instance if you run a multi-user system.**

**Features:**

* Add support for [Markdown formatting](publish.mdmarkdown-formatting) in web app ([310](https://github.com/binwiederhier/ntfy/issues/310), thanks to [nihalgonsalves](https://github.com/nihalgonsalves))
* Add support for right-to-left languages (RTL) in the web app ([663](https://github.com/binwiederhier/ntfy/issues/663), thanks to [nimbleghost](https://github.com/nimbleghost))

**Security:** ⚠️

* Fixes issue with access tokens getting deleted ([838](https://github.com/binwiederhier/ntfy/issues/838))

**Bug fixes + maintenance:**

* Fix issues with date/time with different locales ([700](https://github.com/binwiederhier/ntfy/issues/700), thanks to [nimbleghost](https://github.com/nimbleghost))
* Re-init i18n on each service worker message to avoid missing translations ([817](https://github.com/binwiederhier/ntfy/pull/817), thanks to [nihalgonsalves](https://github.com/nihalgonsalves))
* You can now unset the default user:pass/token in `client.yml` for an individual subscription to remove the Authorization header ([829](https://github.com/binwiederhier/ntfy/issues/829), thanks to [tomeon](https://github.com/tomeon) for reporting and to [wunter8](https://github.com/wunter8) for fixing)

**Documentation:**

* Update docs for Apache config ([819](https://github.com/binwiederhier/ntfy/pull/819), thanks to [nisbet-hubbard](https://github.com/nisbet-hubbard))

2.6.2

Released June 30, 2023

With this release, the ntfy web app now contains a **[progressive web app](subscribe/pwa.md) (PWA)
with Web Push support**, which means you'll be able to **install the ntfy web app on your desktop or phone** similar
to a native app (__even on iOS!__ 🥳). Installing the PWA gives ntfy web its own launcher, a standalone window,
push notifications, and an app badge with the unread notification count. Note that for self-hosted servers,
[Web Push](config.mdweb-push) must be configured.

On top of that, this release also brings **dark mode** 🧛🌙 to the web app.

🙏 A huge thanks for this release goes to [nimbleghost](https://github.com/nimbleghost), for basically implementing the
Web Push / PWA and dark mode feature by himself. I'm really grateful for your contributions.

❤️ If you like ntfy, **please consider sponsoring us** via [GitHub Sponsors](https://github.com/sponsors/binwiederhier)
and [Liberapay](https://en.liberapay.com/ntfy/), or buying a [paid plan via the web app](https://ntfy.sh/app) (20% off
if you use promo code `MYTOPIC`). ntfy will always remain open source.

**Features:**

* The web app now supports Web Push, and is installable as a [progressive web app (PWA)](https://docs.ntfy.sh/subscribe/pwa/) on Chrome, Edge, Android, and iOS ([#751](https://github.com/binwiederhier/ntfy/pull/751), thanks to [nimbleghost](https://github.com/nimbleghost))
* Support for dark mode in the web app ([206](https://github.com/binwiederhier/ntfy/issues/206), thanks to [nimbleghost](https://github.com/nimbleghost))

**Bug fixes:**

* Support encoding any header as RFC 2047 ([737](https://github.com/binwiederhier/ntfy/issues/737), thanks to [cfouche3005](https://github.com/cfouche3005) for reporting)
* Do not forward poll requests for UnifiedPush messages (no ticket, thanks to NoName for reporting)
* Fix `ntfy pub %` segfaulting ([760](https://github.com/binwiederhier/ntfy/issues/760), thanks to [clesmian](https://github.com/clesmian) for reporting)
* Newly created access tokens are now lowercase only to fully support `<topic>+<token><domain>` email syntax ([773](https://github.com/binwiederhier/ntfy/issues/773), thanks to gingervitiz for reporting)
* The .1 release fixes a few visual issues with dark mode, and other web app updates ([791](https://github.com/binwiederhier/ntfy/pull/791), [#793](https://github.com/binwiederhier/ntfy/pull/793), [#792](https://github.com/binwiederhier/ntfy/pull/792), thanks to [nimbleghost](https://github.com/nimbleghost))
* The .2 release fixes issues with the service worker in Firefox and adds automatic service worker updates ([795](https://github.com/binwiederhier/ntfy/pull/795), thanks to [nimbleghost](https://github.com/nimbleghost))

**Maintenance:**

* Improved GitHub Actions flow ([745](https://github.com/binwiederhier/ntfy/pull/745), thanks to [nimbleghost](https://github.com/nimbleghost))
* Web: Add JS formatter "prettier" ([746](https://github.com/binwiederhier/ntfy/pull/746), thanks to [nimbleghost](https://github.com/nimbleghost))
* Web: Add eslint with eslint-config-airbnb ([748](https://github.com/binwiederhier/ntfy/pull/748), thanks to [nimbleghost](https://github.com/nimbleghost))
* Web: Switch to Vite ([749](https://github.com/binwiederhier/ntfy/pull/749), thanks to [nimbleghost](https://github.com/nimbleghost))

**Changes in tarball/zip naming:**
Due to a [change in GoReleaser](https://goreleaser.com/deprecations/#archivesreplacements), some of the binary release
archives now have slightly different names. My apologies if this causes issues in the downstream projects that use ntfy:

- `ntfy_v${VERSION}_windows_x86_64.zip` -> `ntfy_v${VERSION}_windows_amd64.zip`
- `ntfy_v${VERSION}_linux_x86_64.tar.gz` -> `ntfy_v${VERSION}_linux_amd64.tar.gz`
- `ntfy_v${VERSION}_macOS_all.tar.gz` -> `ntfy_v${VERSION}_darwin_all.tar.gz`

Page 1 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.