Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .changeset/peering-on-demand.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/setup-reject-placeholder-secret.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/site-deploy-on-relay-release.md

This file was deleted.

4 changes: 0 additions & 4 deletions .changeset/website-types-processor.md

This file was deleted.

24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# nostream

## 3.13.0

### Minor Changes

- [#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

Authenticated peers can request events outside their standing feed with a
normal `REQ`, `COUNT`, or ad-hoc `NEG-OPEN` session. Those requests continue to
use peer subscription and NIP-77 limits instead of client limits, and are now
bounded per peer pubkey by `limits.peer.request.rateLimits` (default 300
requests/minute across `REQ`, `COUNT`, and `NEG-OPEN`).

Refused `REQ`/`COUNT` calls receive `CLOSED` with a `rate-limited:` reason and
retry hint; refused `NEG-OPEN` sessions receive `NEG-ERR`. The limiter fails
closed when its store is unavailable, and unidentified clients are unaffected.
Per-peer request/event accounting and admin-console visibility are left to the
dedicated admin-console follow-up.

### Patch Changes

- [#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))

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.

## 3.12.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nostream",
"version": "3.12.1",
"version": "3.13.0",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
"packageManager": "pnpm@10.33.0",
"private": true,
"description": "A Nostr relay written in Typescript.",
Expand Down
Loading