Skip to content

Commit 4bd91de

Browse files
Merge remote-tracking branch 'origin/main' into fix/website-tagline
2 parents 771f53e + 88c4866 commit 4bd91de

6 files changed

Lines changed: 25 additions & 42 deletions

File tree

‎.changeset/peering-on-demand.md‎

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

‎.changeset/setup-reject-placeholder-secret.md‎

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

‎.changeset/site-deploy-on-relay-release.md‎

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

‎.changeset/website-types-processor.md‎

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

‎CHANGELOG.md‎

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

3+
## 3.13.0
4+
5+
### Minor Changes
6+
7+
- [#1053](https://github.com/cameri/nostream/pull/1053) [`e37b284`](https://github.com/cameri/nostream/commit/e37b284b9174968134e5fe3d7290e398b6781715) Thanks [@Ferryx349](https://github.com/Ferryx349)! - feat(peering): rate-limit on-demand requests from authenticated peers
8+
9+
Authenticated peers can request events outside their standing feed with a
10+
normal `REQ`, `COUNT`, or ad-hoc `NEG-OPEN` session. Those requests continue to
11+
use peer subscription and NIP-77 limits instead of client limits, and are now
12+
bounded per peer pubkey by `limits.peer.request.rateLimits` (default 300
13+
requests/minute across `REQ`, `COUNT`, and `NEG-OPEN`).
14+
15+
Refused `REQ`/`COUNT` calls receive `CLOSED` with a `rate-limited:` reason and
16+
retry hint; refused `NEG-OPEN` sessions receive `NEG-ERR`. The limiter fails
17+
closed when its store is unavailable, and unidentified clients are unaffected.
18+
Per-peer request/event accounting and admin-console visibility are left to the
19+
dedicated admin-console follow-up.
20+
21+
### Patch Changes
22+
23+
- [#1058](https://github.com/cameri/nostream/pull/1058) [`ba8691a`](https://github.com/cameri/nostream/commit/ba8691ac9232303ff7938406b6a48da989cc0504) Thanks [@avantikonde](https://github.com/avantikonde)! - fix(cli): reject placeholder secret inherited from env or prompt in setup ([#1018](https://github.com/cameri/nostream/issues/1018))
24+
25+
Setup now rejects the default placeholder secret (`change_me_to_something_long_and_random`) when read from inherited environment variables or interactive prompt input, and validates the resolved secret before persisting to `.env`. If a placeholder is detected, setup automatically generates a fresh cryptographically secure 64-byte random hex secret.
26+
327
## 3.12.1
428

529
### Patch 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.12.1",
3+
"version": "3.13.0",
44
"packageManager": "pnpm@10.33.0",
55
"private": true,
66
"description": "A Nostr relay written in Typescript.",

0 commit comments

Comments
 (0)