Skip to content

Commit 9bf130b

Browse files
authored
chore: release nostream@3.4.1 (#826)
1 parent 48fe9c4 commit 9bf130b

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

‎.changeset/validate-relay-url.md‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# nostream
22

3+
## 3.4.1
4+
5+
### Patch Changes
6+
7+
- [#825](https://github.com/cameri/nostream/pull/825) [`48fe9c4`](https://github.com/cameri/nostream/commit/48fe9c46489fb500699675c073a8638da28dfd71) Thanks [@chappie-daemon](https://github.com/chappie-daemon)! - fix(settings): validate `info.relay_url` is a usable absolute URL
8+
9+
`validateSettings()` now rejects a `relay_url` that is not a valid absolute URL, parses with an empty host (scheme-only strings like `localhost:8008`), or uses a protocol other than `ws`/`wss`/`http`/`https`. Previously an invalid value started cleanly and then broke every HTTP request with `500 TypeError: Invalid URL`, including the Admin Console, leaving the bad setting fixable only by editing the file by hand. Found in [#824](https://github.com/cameri/nostream/issues/824).
10+
311
## 3.4.0
412

513
### Minor Changes

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nostream",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"packageManager": "pnpm@10.33.0",
55
"private": true,
66
"description": "A Nostr relay written in Typescript.",

0 commit comments

Comments
 (0)