Skip to content

v0.8.0-rc.47

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Nov 16:43
· 262 commits to main since this release
0e1b55c

Added

  • Adds the proposed NIP-86 createclaimwithlimits and getclaim methods, so a host's app can mint an invite with an explicit per-code expiry or use-limit and read any code's state back. ncli relay invites create gains --expires-at and --no-expiry, and ncli relay invites get <code> shows a code's claim, expiry, max-uses and uses, including expired or used-up ones. (#221)
  • Adds the membership.inviteMaxTTL (default 30 days) and inviteAllowNoExpiry (default false) config keys, which cap how far an absolute expiry may be set and gate never-expiring codes. A requested limit outside policy is refused, never silently clamped. (#221)
  • Adds NIP-43 member claims: with membership.memberClaims (default true), a plain member — not only an admin — may mint an invite via createclaim, scoped to just createclaim and supportedmethods. Set it false to keep the Relay Management API admin-only. (#221)

Fixed

  • Fixes the vault password prompt failing with inappropriate ioctl for device when the event is piped into a signing command (e.g. ncli event new … | ncli publish -e - --signer <label>). The prompt now reads from the controlling terminal, like ssh/sudo, and falls back to a clear "set NCLI_VAULT_PASSWORD" error when no terminal is available instead of the cryptic ioctl one. (#206)