Skip to content

chore: release new version 🚀 - #1173

Open
cameri wants to merge 1 commit into
mainfrom
changeset-release/main
Open

cameri wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@cameri

@cameri cameri commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

nostream@3.17.0

Minor Changes

  • #1199 cce55b6 Thanks @Priyanshubhartistm! - feat(nip43): publish the kind 13534 membership list

    With the new nip43.publishMembershipList setting (off by default) the relay publishes a replaceable kind 13534 event, signed by its own key, with the NIP-70 - tag and one member tag per admitted pubkey, and refreshes it after every successful join or leave, and when a member's request to vanish is accepted, so that pubkey is taken out of it. Joins and leaves that are rejected or change nothing do not refresh it. Nothing is published when info.self does not match the relay's signing pubkey, since NIP-43 requires that signer. The list makes every member's pubkey public to anyone who can read the relay, which is why the setting defaults to off. It is a convenience for clients, not the source of truth for who may publish, and it holds at most the first 10,000 members. Users who asked to vanish are left out. Admissions made another way, for example a paid admission, do not refresh it.

  • #1216 36ce4d5 Thanks @Ferryx349! - feat(peering): show relationship state, terms and traffic split in admin

    The Peering console now shows each peer's relationship state and current terms,
    reconciliation and peer-request activity, and the existing budget and
    held-invoice panels in one place. Relationship state follows the same access
    window as the relay, so an ended period no longer appears active.

  • #1169 cbc9c1d Thanks @Ferryx349! - feat(peering): surface buyer invoices and budgets in the admin console

    Watches the peer's signed kind 402 invoice stream over the authenticated sync
    connection, pays through LNbits or NWC, and exposes held invoices with
    operator approve/reject actions, budget spend/remaining, and invoice counts.

  • #1167 be2aba4 Thanks @Ferryx349! - feat(peering): add the buyer invoice ledger and budget primitives

    Adds the storage and decoding foundation for buying peering: a
    peering_invoices ledger deduped by BOLT11 payment hash, per-peer/global
    peering_budgets counters, a narrow BOLT11 decoder, and the buyer settings
    contracts. Automatic payment and admin approval ship in the follow-up slices.

  • #1168 9c5917d Thanks @Ferryx349! - feat(peering): enforce buyer budgets before paying peer invoices

    Adds the buying-side policy: verify a peer invoice against its advertised
    NIP-11 term, dedupe on the payment hash, reserve per-peer and global budget
    counters atomically, pay through the configured wallet, and hold anything
    outside the envelope for operator approval.

Patch Changes

  • #1200 49dd6f8 Thanks @Priyanshubhartistm! - fix(cli): do not shadow settings.json with the defaults

    nostream start and nostream setup copy the default settings to .nostr/settings.yaml when that file is missing. The relay reads settings.yaml first and falls back to the deprecated settings.json only when there is no yaml, so on a deployment that still had only a settings.json the copy replaced every override in it with the defaults: an admission policy such as nip43.enabled, payment settings and limits stopped applying, silently. The defaults are now copied only when neither file exists, so a settings.json keeps working until the admin console or nostream config writes a settings.yaml.

  • #1160 1267cec Thanks @Priyanshubhartistm! - fix(nip42): require auth to COUNT a filter that names no kinds when restricted reads are on

    With nip42.restrictedReads enabled, a COUNT filter that named a restricted kind (4, 1059, ...) had to be scoped to the client's own pubkeys, but a filter that named no kinds was not checked, and the count still included the restricted events. An unauthenticated client could count, for example, {"#p": [pubkey]} and learn how many private messages a pubkey had received. A COUNT filter without kinds is now treated like one that names a restricted kind, the same rule NIP-77 reconciliation already follows: it must be scoped with authors or #p to the authenticated client's own pubkeys. Relays that do not enable nip42.restrictedReads are not affected.

  • #1172 dddbcc0 Thanks @Priyanshubhartistm! - fix(nip05): a changed NIP-05 identifier does not inherit the earlier verification

    When an author published a kind-0 profile with a different nip05 and the lookup failed with a transient error (a timeout, a 5xx), the new identifier and domain were saved with the previous identifier's isVerified and lastVerifiedAt. With NIP-05 mode enabled that treated the new domain as verified, so an author could keep publishing under a domain the relay's allow or block list now rejected, or under an identifier they had not proven, without ever passing a lookup. The earlier verification is now kept after a transient error only when the identifier and domain are the same (ignoring letter case); a changed identifier starts unverified until a lookup succeeds.

  • #1174 98d2359 Thanks @Priyanshubhartistm! - fix(nip05): a replaced kind-0 profile no longer changes the author's NIP-05 verification

    A relay accepts an older kind-0 profile for an author who has already published a newer one (the replace is a no-op and the client is answered duplicate:), but the NIP-05 handling ran for it anyway. Anyone could take a public, validly signed older profile of an author, one without a nip05 field or with another identifier, and publish it again to delete the author's current verification, or replace it with the older identifier, which with NIP-05 mode enabled blocked the author from publishing. The NIP-05 handling now runs only for a profile that is the author's current one (the later created_at, and the lower id on a tie, which is the one the replaceable upsert keeps). The stored profile is read the way the upsert sees it, so a current profile that subscriptions hide (a NIP-56 reported or a deleted one) still counts. If the check itself fails the profile is processed as before.

  • #1169 b5789fb Thanks @Ferryx349! - fix(peering): keep wallet payments recoverable and request invoices before the feed

    Subscribe to the seller's invoice stream before opening a paid feed, so a feed
    rejected until payment no longer closes the connection first. Wallet submits
    now report whether they settled; pending, unknown and ambiguous transport
    outcomes keep their reservation and stay PAYING for recovery, while outgoing
    LNbits expiry no longer counts as a failed payment. Each payment attempt owns
    its row, may only leave PAYING once, and serializes submission against
    recovery, so a stale lookup cannot release a charge that is still in flight.
    Renewal invoices are only offered inside the period-relative renewal window, so
    ordinary reconnects cannot buy extra periods.

  • #1159 8f39038 Thanks @Priyanshubhartistm! - fix(ops): retry a probe alert that could not be saved

    When a probe run changed status (ok to failed, or back to ok), the new status was stored first and the alert was written to the notification outbox afterwards. If the database was unavailable at that moment the alert was lost: the next run saw the same status and sent nothing, so an operator never heard about that outage or recovery. The status is now recorded only after the alert has been stored, and a short claim keeps two runs from sending the same alert, so a failed save is tried again by the next run that observes the same change.

  • #1175 470d3f9 Thanks @chappie-daemon! - docs: split the README into a landing page and reference guides

    The README had grown to 731 lines and carried a full payments walkthrough, an operations manual and a duplicate of the standalone setup steps. It is now 264 lines: what the relay is, the supported NIPs, requirements, the Docker quick start, and a table pointing at the guide for each task. The payments and operations material moved to docs/PAYMENTS.md and docs/OPERATIONS.md verbatim, and the standalone setup points at the development quick start in CONTRIBUTING.md instead of repeating it. docs/SETUP.md now links its payments pointer at the new file. The moved instructions were then checked against the code: the importer write semantics, the admission-fee sum, the knex fallback database name, the LNURL /callback convention, and the standalone database and Redis steps. docker-compose.yml now forwards NWC_URL, and .env.example names it correctly.

@greptile-apps

greptile-apps Bot commented Nov 18, 2026

Copy link
Copy Markdown

This PR does not match any of the 1 configured review trigger rule.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords: 1

  • chore: release new version

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fd58bc11-5351-4793-a1f9-7809d079ed3f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@cameri
cameri force-pushed the changeset-release/main branch 11 times, most recently from c7111cc to 602cfb7 Compare November 22, 2026 19:08
@cameri
cameri force-pushed the changeset-release/main branch from 602cfb7 to 4505143 Compare November 22, 2026 20:02

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant