Repository navigation
v0.8.0-rc.52
Pre-release
Pre-release
·
20 commits
to main
since this release
Added
- Adds a warning, logged once per peer, when per-IP limits are set and a request carries
X-Forwarded-FororX-Real-IPfrom a peer not inlimits.trustedProxies: every client behind it shares one per-IP limit. (#251)
Changed
- Changes NIP-86 to count against
limits.http: per IP, and per signer whenperPubkeyis set, but never the admins (relay key,nip86.admins), so a flood sharing their IP can't lock them out. A replayed header spends only the IP's budget, and a refusal is a 429 withRetry-After. (#250, #251) - Changes the shipped public configs and the recommended
limits:block to allow 300 reads a minute per IP (burst 600) instead of 60, and 120 HTTP requests a minute instead of 60. (#251) - Changes the release workflow to fail when GoReleaser finishes without pushing
ghcr.io/ohstr/ncli:<version>, which the release's own pins name. (#251) - Changes the JSON every command prints to keep
<,>and&as written instead of\u003c,\u003eand\u0026, such asgroup:<kind>inrelay --check --json's warnings. (#250) - Changes releases to ship pinned to themselves: the release workflow refuses to tag unless every relay image pin (chart, stacks, examples, rigs) names the version being released. Before, a release always pinned the one before it. (#249)
- Changes the public example relay configs and the public-search stack to ship with the recommended
limits:block, so they no longer start with "no rate limits configured". (#249)
Fixed
- Fixes the Helm chart (now 0.3.1) and Compose stacks running the rc.50 relay image, which lacks rc.51's fixes and ignores its new keys (
limits,listen,membership.roles,groups.create). They now run 0.8.0-rc.52, and the chart's notes say which image it runs. (#249) - Fixes the relay publishing each hosted group's kind 39001 and 39003 under the default moderation policy at every start before applying
groups.rolesandgroups.roleDescriptions, which briefly dropped every non-admin role from the group's admin list. Both are now in place before startup republishes them (nmilat v0.5.0-rc.52). (#251) - Fixes the NIP-86 IP block not covering the HTTP bridge for some requests; only NIP-86 itself, at
/, now stays reachable from a blocked IP. (#250) - Fixes a banned key joining calls when
huddle.requireMembershipis off; a ban now refuses joins either way. (#250) - Fixes
blossom list --allreportingunsupported(exit 8) when another server failed with a retryable network error, and failing when a server answered with no blobs. It now fails only if no server answered, asnetworkif any failure was retryable. (#250) - Fixes
blossom mirrorreporting a 404 whose reason says the source couldn't be fetched asunsupported; it is nownot_found, while a bare 404, or one like "unknown URL path", staysunsupported. (#250, #251) - Fixes NIP-86's rate-limit (429) and failed-login (401) answers lacking the CORS headers of
nip86.allowedOrigins, which hid them from a browser app. (#251) - Fixes unknown config keys being reported lowercased (
pprofadr); they are now named as the file writes them. A role id with a dot gets its own error instead of an unknown key. (#250) - Fixes
nip11.limitation.min_pow_difficultyandnip11.supported_nipsfailing--checkwith no hint; the error now says to usepow.min, and that the relay computessupported_nips. (#250)