Repository navigation
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
imetatext tracks; NIP-52 calendars; NIP-7D/C7 forums and chats. - NIP-67 EOSE hints (
finish/more/auth) exposed onNostrEOSE.hintsandNostrRequestEoseCommand.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:
createCommentno longer emits kind 22 (reserved for short video). Root scope uses uppercaseK/E/A/I, the direct parent uses lowercasek/e/a/i.targetEventId/targetAuthorPubkeyare optional (event scope only); mixing root scope families throwsArgumentError. Existing calls still compile, but the emitted kind and tags change. - NIP-53 rooms require
roomName:generateRoomTemplaterejects 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
EOSEno longer fails and hints are never mistaken for the id. - NIP-7D/C7 templates reject duplicate
titleand blankqtargets.
Full changelog: see CHANGELOG.md