Skip to content

Commit 8a0be00

Browse files
author
binwiederhier
committed
Bump
1 parent ef467d0 commit 8a0be00

File tree

3 files changed

+61
-54
lines changed

3 files changed

+61
-54
lines changed

docs/install.md

+30-30
Original file line numberDiff line numberDiff line change
@@ -26,37 +26,37 @@ deb/rpm packages.
2626

2727
=== "x86_64/amd64"
2828
```bash
29-
wget https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_x86_64.tar.gz
30-
tar zxvf ntfy_2.3.1_linux_x86_64.tar.gz
31-
sudo cp -a ntfy_2.3.1_linux_x86_64/ntfy /usr/bin/ntfy
32-
sudo mkdir /etc/ntfy && sudo cp ntfy_2.3.1_linux_x86_64/{client,server}/*.yml /etc/ntfy
29+
wget https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_x86_64.tar.gz
30+
tar zxvf ntfy_2.4.0_linux_x86_64.tar.gz
31+
sudo cp -a ntfy_2.4.0_linux_x86_64/ntfy /usr/bin/ntfy
32+
sudo mkdir /etc/ntfy && sudo cp ntfy_2.4.0_linux_x86_64/{client,server}/*.yml /etc/ntfy
3333
sudo ntfy serve
3434
```
3535

3636
=== "armv6"
3737
```bash
38-
wget https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_armv6.tar.gz
39-
tar zxvf ntfy_2.3.1_linux_armv6.tar.gz
40-
sudo cp -a ntfy_2.3.1_linux_armv6/ntfy /usr/bin/ntfy
41-
sudo mkdir /etc/ntfy && sudo cp ntfy_2.3.1_linux_armv6/{client,server}/*.yml /etc/ntfy
38+
wget https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_armv6.tar.gz
39+
tar zxvf ntfy_2.4.0_linux_armv6.tar.gz
40+
sudo cp -a ntfy_2.4.0_linux_armv6/ntfy /usr/bin/ntfy
41+
sudo mkdir /etc/ntfy && sudo cp ntfy_2.4.0_linux_armv6/{client,server}/*.yml /etc/ntfy
4242
sudo ntfy serve
4343
```
4444

4545
=== "armv7/armhf"
4646
```bash
47-
wget https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_armv7.tar.gz
48-
tar zxvf ntfy_2.3.1_linux_armv7.tar.gz
49-
sudo cp -a ntfy_2.3.1_linux_armv7/ntfy /usr/bin/ntfy
50-
sudo mkdir /etc/ntfy && sudo cp ntfy_2.3.1_linux_armv7/{client,server}/*.yml /etc/ntfy
47+
wget https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_armv7.tar.gz
48+
tar zxvf ntfy_2.4.0_linux_armv7.tar.gz
49+
sudo cp -a ntfy_2.4.0_linux_armv7/ntfy /usr/bin/ntfy
50+
sudo mkdir /etc/ntfy && sudo cp ntfy_2.4.0_linux_armv7/{client,server}/*.yml /etc/ntfy
5151
sudo ntfy serve
5252
```
5353

5454
=== "arm64"
5555
```bash
56-
wget https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_arm64.tar.gz
57-
tar zxvf ntfy_2.3.1_linux_arm64.tar.gz
58-
sudo cp -a ntfy_2.3.1_linux_arm64/ntfy /usr/bin/ntfy
59-
sudo mkdir /etc/ntfy && sudo cp ntfy_2.3.1_linux_arm64/{client,server}/*.yml /etc/ntfy
56+
wget https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_arm64.tar.gz
57+
tar zxvf ntfy_2.4.0_linux_arm64.tar.gz
58+
sudo cp -a ntfy_2.4.0_linux_arm64/ntfy /usr/bin/ntfy
59+
sudo mkdir /etc/ntfy && sudo cp ntfy_2.4.0_linux_arm64/{client,server}/*.yml /etc/ntfy
6060
sudo ntfy serve
6161
```
6262

@@ -106,31 +106,31 @@ Manually installing the .deb file:
106106

107107
=== "x86_64/amd64"
108108
```bash
109-
wget https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_amd64.deb
109+
wget https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_amd64.deb
110110
sudo dpkg -i ntfy_*.deb
111111
sudo systemctl enable ntfy
112112
sudo systemctl start ntfy
113113
```
114114

115115
=== "armv6"
116116
```bash
117-
wget https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_armv6.deb
117+
wget https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_armv6.deb
118118
sudo dpkg -i ntfy_*.deb
119119
sudo systemctl enable ntfy
120120
sudo systemctl start ntfy
121121
```
122122

123123
=== "armv7/armhf"
124124
```bash
125-
wget https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_armv7.deb
125+
wget https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_armv7.deb
126126
sudo dpkg -i ntfy_*.deb
127127
sudo systemctl enable ntfy
128128
sudo systemctl start ntfy
129129
```
130130

131131
=== "arm64"
132132
```bash
133-
wget https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_arm64.deb
133+
wget https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_arm64.deb
134134
sudo dpkg -i ntfy_*.deb
135135
sudo systemctl enable ntfy
136136
sudo systemctl start ntfy
@@ -140,28 +140,28 @@ Manually installing the .deb file:
140140

141141
=== "x86_64/amd64"
142142
```bash
143-
sudo rpm -ivh https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_amd64.rpm
143+
sudo rpm -ivh https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_amd64.rpm
144144
sudo systemctl enable ntfy
145145
sudo systemctl start ntfy
146146
```
147147

148148
=== "armv6"
149149
```bash
150-
sudo rpm -ivh https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_armv6.rpm
150+
sudo rpm -ivh https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_armv6.rpm
151151
sudo systemctl enable ntfy
152152
sudo systemctl start ntfy
153153
```
154154

155155
=== "armv7/armhf"
156156
```bash
157-
sudo rpm -ivh https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_armv7.rpm
157+
sudo rpm -ivh https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_armv7.rpm
158158
sudo systemctl enable ntfy
159159
sudo systemctl start ntfy
160160
```
161161

162162
=== "arm64"
163163
```bash
164-
sudo rpm -ivh https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_linux_arm64.rpm
164+
sudo rpm -ivh https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_linux_arm64.rpm
165165
sudo systemctl enable ntfy
166166
sudo systemctl start ntfy
167167
```
@@ -189,18 +189,18 @@ NixOS also supports [declarative setup of the ntfy server](https://search.nixos.
189189

190190
## macOS
191191
The [ntfy CLI](subscribe/cli.md) (`ntfy publish` and `ntfy subscribe` only) is supported on macOS as well.
192-
To install, please [download the tarball](https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_macOS_all.tar.gz),
192+
To install, please [download the tarball](https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_macOS_all.tar.gz),
193193
extract it and place it somewhere in your `PATH` (e.g. `/usr/local/bin/ntfy`).
194194

195195
If run as `root`, ntfy will look for its config at `/etc/ntfy/client.yml`. For all other users, it'll look for it at
196196
`~/Library/Application Support/ntfy/client.yml` (sample included in the tarball).
197197

198198
```bash
199-
curl -L https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_macOS_all.tar.gz > ntfy_2.3.1_macOS_all.tar.gz
200-
tar zxvf ntfy_2.3.1_macOS_all.tar.gz
201-
sudo cp -a ntfy_2.3.1_macOS_all/ntfy /usr/local/bin/ntfy
199+
curl -L https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_macOS_all.tar.gz > ntfy_2.4.0_macOS_all.tar.gz
200+
tar zxvf ntfy_2.4.0_macOS_all.tar.gz
201+
sudo cp -a ntfy_2.4.0_macOS_all/ntfy /usr/local/bin/ntfy
202202
mkdir ~/Library/Application\ Support/ntfy
203-
cp ntfy_2.3.1_macOS_all/client/client.yml ~/Library/Application\ Support/ntfy/client.yml
203+
cp ntfy_2.4.0_macOS_all/client/client.yml ~/Library/Application\ Support/ntfy/client.yml
204204
ntfy --help
205205
```
206206

@@ -218,7 +218,7 @@ brew install ntfy
218218

219219
## Windows
220220
The [ntfy CLI](subscribe/cli.md) (`ntfy publish` and `ntfy subscribe` only) is supported on Windows as well.
221-
To install, please [download the latest ZIP](https://github.com/binwiederhier/ntfy/releases/download/v2.3.1/ntfy_2.3.1_windows_x86_64.zip),
221+
To install, please [download the latest ZIP](https://github.com/binwiederhier/ntfy/releases/download/v2.4.0/ntfy_2.4.0_windows_x86_64.zip),
222222
extract it and place the `ntfy.exe` binary somewhere in your `%Path%`.
223223

224224
The default path for the client config file is at `%AppData%\ntfy\client.yml` (not created automatically, sample in the ZIP file).

docs/publish.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -619,9 +619,9 @@ them with a comma, e.g. `tag1,tag2,tag3`.
619619

620620
!!! info
621621
ntfy supports UTF-8 in HTTP headers, but [not every library or programming language does](https://www.jmix.io/blog/utf-8-in-http-headers/).
622-
If non-ASCII characters are causing issues for you in the title (i.e. you're seeing `?` symbols), you may also encode the `X-Title` or `X-Message`
623-
header as [RFC 2047](https://datatracker.ietf.org/doc/html/rfc2047#section-2), e.g. `=?UTF-8?B?8J+HqfCfh6o=?=` ([base64](https://en.wikipedia.org/wiki/Base64)),
624-
or `=?UTF-8?Q?=C3=84pfel?=` ([quoted-printable](https://en.wikipedia.org/wiki/Quoted-printable)).
622+
If non-ASCII characters are causing issues for you in the title (i.e. you're seeing `?` symbols), you may also encode the individual tags
623+
as [RFC 2047](https://datatracker.ietf.org/doc/html/rfc2047#section-2), e.g. `tag1,=?UTF-8?B?8J+HqfCfh6o=?=` ([base64](https://en.wikipedia.org/wiki/Base64)),
624+
or `=?UTF-8?Q?=C3=84pfel?=,tag2` ([quoted-printable](https://en.wikipedia.org/wiki/Quoted-printable)).
625625

626626
## Scheduled delivery
627627
_Supported on:_ :material-android: :material-apple: :material-firefox:

docs/releases.md

+28-21
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,34 @@
22
Binaries for all releases can be found on the GitHub releases pages for the [ntfy server](https://github.com/binwiederhier/ntfy/releases)
33
and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/releases).
44

5+
### ntfy server v2.4.0
6+
Released Apr 26, 2023
7+
8+
This release adds a tiny `v1/stats` endpoint to expose how many messages have been published, and adds suport to encode the `X-Title`,
9+
`X-Message` and `X-Tags` header as RFC 2047. It's a pretty small release, and mainly enables the release of the new ntfy.sh website.
10+
11+
❤️ If you like ntfy, please consider sponsoring me via [GitHub Sponsors](https://github.com/sponsors/binwiederhier)
12+
and [Liberapay](https://en.liberapay.com/ntfy/), or by buying a [paid plan via the web app](https://ntfy.sh/app).
13+
14+
**Features:**
15+
16+
* [ntfy CLI](subscribe/cli.md) (`ntfy publish` and `ntfy subscribe` only) can now be installed via Homebrew (thanks to [@Moulick](https://github.com/Moulick))
17+
* Added `v1/stats` endpoint to expose messages stats (no ticket)
18+
* Support [RFC 2047](https://datatracker.ietf.org/doc/html/rfc2047#section-2) encoded headers (no ticket, honorable mention to [mqttwarn](https://github.com/jpmens/mqttwarn/pull/638) and [@amotl](https://github.com/amotl))
19+
20+
**Bug fixes + maintenance:**
21+
22+
* Hide country flags on Windows ([#606](https://github.com/binwiederhier/ntfy/issues/606), thanks to [@cmeis](https://github.com/cmeis) for reporting, and to [@pokej6](https://github.com/pokej6) for fixing it)
23+
* `ntfy sub` now uses default auth credentials as defined in `client.yml` ([#698](https://github.com/binwiederhier/ntfy/issues/698), thanks to [@CrimsonFez](https://github.com/CrimsonFez) for reporting, and to [@wunter8](https://github.com/wunter8) for fixing it)
24+
25+
**Documentation:**
26+
27+
* Updated PowerShell examples ([#697](https://github.com/binwiederhier/ntfy/pull/697), thanks to [@Natfan](https://github.com/Natfan))
28+
29+
**Additional languages:**
30+
31+
* Swedish (thanks to [@hellbown](https://hosted.weblate.org/user/Shjosan/))
32+
533
### ntfy server v2.3.1
634
Released March 30, 2023
735

@@ -1163,24 +1191,3 @@ and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/release
11631191
**Additional languages:**
11641192

11651193
* Swedish (thanks to [@hellbown](https://hosted.weblate.org/user/hellbown/))
1166-
1167-
### ntfy server v2.4.0 (UNRELEASED)
1168-
1169-
**Features:**
1170-
1171-
* [ntfy CLI](subscribe/cli.md) (`ntfy publish` and `ntfy subscribe` only) can now be installed via Homebrew (thanks to [@Moulick](https://github.com/Moulick))
1172-
* Added `v1/stats` endpoint to expose messages stats (no ticket)
1173-
* Support [RFC 2047](https://datatracker.ietf.org/doc/html/rfc2047#section-2) encoded headers (no ticket, honorable mention to [mqttwarn](https://github.com/jpmens/mqttwarn/pull/638) and [@amotl](https://github.com/amotl))
1174-
1175-
**Bug fixes + maintenance:**
1176-
1177-
* Hide country flags on Windows ([#606](https://github.com/binwiederhier/ntfy/issues/606), thanks to [@cmeis](https://github.com/cmeis) for reporting, and to [@pokej6](https://github.com/pokej6) for fixing it)
1178-
* `ntfy sub` now uses default auth credentials as defined in `client.yml` ([#698](https://github.com/binwiederhier/ntfy/issues/698), thanks to [@CrimsonFez](https://github.com/CrimsonFez) for reporting, and to [@wunter8](https://github.com/wunter8) for fixing it)
1179-
1180-
**Documentation:**
1181-
1182-
* Updated PowerShell examples ([#697](https://github.com/binwiederhier/ntfy/pull/697), thanks to [@Natfan](https://github.com/Natfan))
1183-
1184-
**Additional languages:**
1185-
1186-
* Swedish (thanks to [@hellbown](https://hosted.weblate.org/user/Shjosan/))

0 commit comments

Comments
 (0)