Skip to content

chore: release new version 🚀 - #1285

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 29, 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.2

Patch Changes

  • #1241 3ac2880 Thanks @Priyanshubhartistm! - fix(nip56): start the hidden-content cache on every worker, not only when reporting is on at boot

    A worker started the cache of hidden report targets only if nip56.enabled was true when it booted. On a relay that turned reporting and hideActionableReports on later, through a settings reload or a backup restore, the live-delivery check was active but the cache stayed empty, so reported pubkeys and events were still sent to open subscriptions until the next restart. The cache now starts on every worker. Each tick still reads the settings first and queries the database only while hideActionableReports is on, so a relay that does not use reporting pays no database cost.

  • #1287 4925f70 Thanks @chappie-daemon! - fix(relay): index tag filters instead of comparing every tag with every value

    Matching an event against a #<letter> filter compared every tag of the event with every value of the filter, and the live broadcast rebuilt each subscription's matcher for every event. One event could therefore cost tags × values comparisons per filter on the worker's event loop, with both sides chosen by clients (security issue #1256).

    A REQ's filters are now compiled once for live delivery and once for its stored events, not per event. An event's single-letter tag values are indexed once and shared by every filter and client of a broadcast. Each tag name then costs set lookups on the smaller side, plus one binary search per #g prefix over values sorted once per event. A tag with no value is now skipped; before, it made #g prefix filters throw, which cut the broadcast short and stopped a REQ's stored events before EOSE.

    A deliberate limit: this adds no per-connection allowance; maxSubscriptions, maxFilters and maxFilterValues still govern admission. ids, authors and NIP-50 search matching are unchanged.

  • #1295 df1f672 Thanks @Priyanshubhartistm! - fix(admin): hide a webhook url in the settings-change notification when a parent path is replaced

    The notification sent to the operator's recipients after a settings change redacts secrets by the settings path of each value. A change to a path above a webhook target, such as replacing admin.notifications or admin, carried the whole object as its value, and the redaction ran on it without that path, so the url of each notification target (a Discord or Slack webhook with a token in it) went out in the notification. The value of each change is now redacted with the path it was written at, so the url is replaced by *** in the notification and in the response of the settings request.

  • #1339 f0a3325 Thanks @chappie-daemon! - fix(wot): bound a trust graph rebuild and space out the rebuilds contact lists trigger

    A Web of Trust rebuild read follow lists one at a time with no limit on accounts, lists or follows, and every contact list (kind 3) from an account in the graph started or queued another full rebuild. A rebuild now stops at wot.maxPubkeys, wot.maxFollowListReads or wot.maxEdges (defaults 500000, 10000 and 2000000), logs which limit it hit, and keeps the graph built so far, which can only trust fewer accounts, never more. Follow lists are read 100 at a time, and a p value that is not a 64-character hex key is no longer looked up as an author prefix. Rebuilds triggered by contact lists wait wot.minRebuildIntervalSeconds (default 60) after the previous one ended. A deliberate limit: a follow-list change can take up to that interval longer to reach the graph.

  • #1294 76fa452 Thanks @Priyanshubhartistm! - fix(wot): count one vote per follower and stop serving a trust graph built for other settings

    Two gaps in the Web of Trust graph could grant a proof-of-work discount to an account that should not have it. A contact list (kind 3) that repeated the same p tag counted once per repetition towards wot.minimumFollowers when its follow list was read from the database, so one account could satisfy a threshold meant for several. Each follower now counts once. The built graph also stayed in use after wot.seedPubkey, wot.maxDepth or wot.minimumFollowers changed through a settings reload, so the old distances kept granting discounts until another event happened to trigger a rebuild. The graph now remembers the settings it was built for, is rebuilt when they change, and grants nothing while a rebuild for the new settings has not completed or has failed.

@greptile-apps

greptile-apps Bot commented Nov 29, 2026

Copy link
Copy Markdown

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

@coderabbitai

coderabbitai Bot commented Nov 29, 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: 100d2c69-78de-4951-a362-7fc99ae6c4ce

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 4 times, most recently from 3f0e5d2 to dba3f1d Compare November 30, 2026 00:04
@cameri
cameri force-pushed the changeset-release/main branch from dba3f1d to cb4ecf5 Compare December 1, 2026 13:08

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