Skip to content

dart_nostr 11.2.0

Latest

Choose a tag to compare

@anasfik anasfik released this 20 Nov 20:00
· 2 commits to main since this release

dart_nostr 11.2.0

NIP coverage: 87 of the 100 canonical NIPs (4 partial, 9 missing), measured against nostr-protocol/nips @ bec0fc8.

Highlights

  • NIP-34 git, NIP-66 relay liveness, NIP-86 relay management (NIP-98 JSON-RPC), NIP-A0 voice messages, NIP-CD slash commands, NIP-F4 podcasts.
  • NIP-60/NIP-61 cashu wallet state, token events and P2PK-locked nutzaps.
  • NIP-53 live streams, rooms and meetings; NIP-5A static sites manifests.
  • NIP-85 trusted assertions and provider recommendations; NIP-88 polls with response tallies.
  • NIP-71 video (regular + addressable) with imeta text tracks; NIP-52 calendars; NIP-7D/C7 forums and chats.
  • NIP-67 EOSE hints (finish/more/auth) exposed on NostrEOSE.hints and NostrRequestEoseCommand.hints.
  • Plus NIP-24/32/35/36/37/38/43/48/56/62/64/68/69/70/73/78/87/89/92/A3/A4/B0/C0/CC and shared tags/address/validator helpers.

Breaking changes

  • NIP-22 comments are kind 1111: createComment no longer emits kind 22 (reserved for short video). Root scope uses uppercase K/E/A/I, the direct parent uses lowercase k/e/a/i. targetEventId/targetAuthorPubkey are optional (event scope only); mixing root scope families throws ArgumentError. Existing calls still compile, but the emitted kind and tags change.
  • NIP-53 rooms require roomName: generateRoomTemplate rejects a blank name, so a kind-30312 room without one is invalid.
  • NIP-37 / NIP-60 require self-addressed NIP-44: the bound signer must encrypt/decrypt to its own pubkey; remote signers that cannot will fail at runtime.

Fixed

  • NIP-CC verification now only accepts found logs whose embedded kind-7517 proof is authored by the cache verification key (forged/foreign proofs cannot win).
  • NIP-34 status resolution restricted to root author and listed maintainers, most recent trusted status wins.
  • NIP-60 malformed NIP-44 payloads surface as FormatException; NIP-61 requires every proof locked to the advertised P2PK key.
  • NIP-67 EOSE parses the subscription id from slot 1, so three-element EOSE no longer fails and hints are never mistaken for the id.
  • NIP-7D/C7 templates reject duplicate title and blank q targets.

Full changelog: see CHANGELOG.md