Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 2.21 KB

CHANGELOG.md

File metadata and controls

51 lines (36 loc) · 2.21 KB

0.1.2 - Unreleased

0.1.1 - September 28, 2023

Breaking

Fix

  • Fix fromBytes(T: typedesc[NNote]) accidently accepting a seq[byte] address instead of openArray[byte].
  • Correct using rangeCheck for bounds checks, use assert instead.

Maintenance

  • Bump dependencies' versions.
  • Split single tests file into multiple files.

0.1.0 - September 13, 2023

Objects refactor

  • Replace the nim-secp256k1/secp256k1 wrapper with our own.
    Previously, nmostr wrapped the keys from that module in container types to hide the {.requiresInit.} pragma, working around initialization in jsony when parsing objects as JSON.
  • Refactor public keys, event IDs, and schnorr signatures to store their hex in their objects as stack strings.

Add

  • REUSE compliance and a workflow to track it.

0.0.15 - September 11, 2023

  • Remove recommendedServer.
  • filter.matches only checks for exact public key/event ID matches instead of matching prefixes.

Breaking

  • Raise a ValueError when parsing an invalid hex, such as from an uninitialized event serialized to JSON.
  • Re-order init(T: Event) to be consistent with note and other similar procs.

Fix

  • Fix hrpExpand bug when encoding bech32 caused by incorrect use of newSeqOfCap.
  • Fix Event.init's default created_at containing nanoseconds.
  • Rewrite filters.matches.

Add

  • Add getParameterizedID function to get the first d value of an event.

Maintenance

  • Bump union dependency version.