Skip to content

v2.0.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Jan 10:28
· 84 commits to main since this release
aafc10d

2.0.0-beta.1 (2025-01-16)

Bug Fixes

  • added a check to prevent seqnum 0 (3240d0a)
  • added getter for encoding name (039ab74)
  • allow jest tests to run (62ff238)
  • better RegistryItemClass type that supports custom constructors (4b11f8a)
  • check checksum in urDecoder (4ec9f53)
  • encoding and decoding buffer (ac9bea7)
  • improve performance of shuffle function (8f22e6e)
  • inital fix to make multipart decoders to decode single parts (f6e9caa)
  • key helper bug (e1c7189)
  • make tests run with esm (3e3ee87)
  • move test utils and fix import errors (3b1e1ff)
  • pass down encoder/decode options as object (09e10fc)
  • update delete part on URRegistry (724ad82)
  • use new @keystonehq/alias-sampling (cc75027)

Features

  • add checksum flag to bytewords (37e6bda)
  • add error checking and enforced type decoding (2a91b7d)
  • add registry to cbor encoder (51678d1)
  • add Ur encoding to encoding methods (5659e91)
  • added the option to ignore keys that are not defined in the keymap (f38ee69)
  • allow empty data in registry item (d3b8310)
  • Cbor enforce registry class (0cb9384)
  • create encoder/decoder pipeline that supports from, until (63da721)
  • create helpers for keymap (31d19cb)
  • created Transcoder factory (35fee98)
  • decode to registryItem when tag is unrecognised (3d5475b)
  • enhance UR and FountainDecoder classes with new decoding methods and improve part handling (505901b)
  • hex to bytewords tool page (ba18569)
  • ignore top CBOR level tag when encoded in UR (db35aa9)
  • implement cbor tests (2d9ffb8)
  • implement encoding pipeline and enhance UR class with new encoding methods (c257f23)
  • implement registry class (82cddec)
  • import cbor2 with a wrapper, dual package WIP (ddaa11a)
  • improve performance by removing bugnumber.js (dfff796)
  • make static functions work from factory WIP (5f70223)
  • migrate to module resulution (cd18d3b)
  • moved cbor logic into CBOR encoder, added forced type (6007d1a)
  • new cbor registy item (WIP) (1190c8a)
  • new fountain decoders WIP (2561679)
  • prepare for version 2 release (c75741e)
  • raw fountain encoder and ur fountain encoder (532809d)
  • Registry Item toUr (b0dc7bf)
  • replaced buffer with uint8array (326de2e)
  • start writing tests WIP (37fde7a)
  • support esm and commonjs (acde673)
  • test tshy WIP (691ff31)
  • updated all dependencies and switched cbor package (11200cf)
  • UR as a class (8065f0a)
  • use single source of truth for CBOR2 and fix tests (032b184)
  • use thsy (cc4f686)
  • use tsup WIP (20aedbf)
  • working registry with new cbor package (4434318)
  • wrap uint8array-extras because its esm only (6fe731f)

BREAKING CHANGES

  • Major structural updates
  • Reverted versioning to 1 for semantic release.
  • Switched to CBOR2 packages with default integration for decoding registry items.
  • Introduced global registry support for UR types and CBOR tag decoding.
  • Updated API for Fountain Encoders and Decoders.