Repository navigation
Conversation
|
This PR does not match any of the 1 configured review trigger rule. |
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords: 1
Please check the settings in the CodeRabbit UI or the
|
cameri
force-pushed
the
changeset-release/main
branch
4 times, most recently
from
November 30, 2026 00:04
3f0e5d2 to
dba3f1d
Compare
cameri
force-pushed
the
changeset-release/main
branch
from
December 1, 2026 13:08
dba3f1d to
cb4ecf5
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
3ac2880Thanks @Priyanshubhartistm! - fix(nip56): start the hidden-content cache on every worker, not only when reporting is on at bootA worker started the cache of hidden report targets only if
nip56.enabledwas true when it booted. On a relay that turned reporting andhideActionableReportson 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 whilehideActionableReportsis on, so a relay that does not use reporting pays no database cost.#1287
4925f70Thanks @chappie-daemon! - fix(relay): index tag filters instead of comparing every tag with every valueMatching 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
#gprefix over values sorted once per event. A tag with no value is now skipped; before, it made#gprefix filters throw, which cut the broadcast short and stopped a REQ's stored events beforeEOSE.A deliberate limit: this adds no per-connection allowance;
maxSubscriptions,maxFiltersandmaxFilterValuesstill govern admission.ids,authorsand NIP-50searchmatching are unchanged.#1295
df1f672Thanks @Priyanshubhartistm! - fix(admin): hide a webhook url in the settings-change notification when a parent path is replacedThe 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.notificationsoradmin, carried the whole object as its value, and the redaction ran on it without that path, so theurlof 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
f0a3325Thanks @chappie-daemon! - fix(wot): bound a trust graph rebuild and space out the rebuilds contact lists triggerA 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.maxFollowListReadsorwot.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 apvalue that is not a 64-character hex key is no longer looked up as an author prefix. Rebuilds triggered by contact lists waitwot.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
76fa452Thanks @Priyanshubhartistm! - fix(wot): count one vote per follower and stop serving a trust graph built for other settingsTwo 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
ptag counted once per repetition towardswot.minimumFollowerswhen 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 afterwot.seedPubkey,wot.maxDepthorwot.minimumFollowerschanged 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.