Skip to content

Releases: ngraveio/bc-ur

v2.0.0-beta.3

24 Jan 12:33
0975441
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release

2.0.0-beta.3 (2025-01-24)

Bug Fixes

  • error on commonjs types when importing cbor2 (ba56df3)
  • semantic release dry run (da98315)
  • type is likely not portable. A type annotation is necessary error on registryItemFactory class extending (8972ee4)

Features

  • add encodeKeys and decodeKeys methods to RegistryItemBase (202095a)
  • add registry support for items that has NaN as tag (167bcfc)

v2.0.0-beta.2

16 Jan 15:25
02b856e
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

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

Bug Fixes

  • semantic release dry run (7a42a94)

v2.0.0-beta.1

16 Jan 10:28
aafc10d
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

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.

v1.2.0-beta.1

16 Oct 08:51
Compare
Choose a tag to compare
v1.2.0-beta.1 Pre-release
Pre-release

1.2.0-beta.1 (2024-10-16)

Bug Fixes

  • fix release pipeline issues (ab3e812)
  • sync pipeline push branch (56795bb)

Features

  • add pipeline for syncing beta with main (0457f70)
  • create test and release pipelines (d9d5ec1)

1.1.9

01 Mar 05:57
d9bd8db
Compare
Choose a tag to compare
Merge pull request #20 from Charon-Fan/feature/replace-sampling-lib

Feature/Replace sampling algorithm library

1.1.7

19 Jan 18:32
13b254c
Compare
Choose a tag to compare

Changes

  • Updated readme with recommendation to not exceed a max fragment length of 200 for ZERO support

1.1.6

30 Jun 15:13
229669c
Compare
Choose a tag to compare

Changes

  • Move @types/* dependencies to devDependencies (#11)

1.1.5

29 Jun 12:46
ecff1a7
Compare
Choose a tag to compare

Changes

  • Update license to MIT

1.1.4

29 Jun 12:36
7105a5b
Compare
Choose a tag to compare

Additions

  • Added a static from(string) function in the UR class (#3)
  • Added functions to expose internal indexes arrays (#2)

Changes

  • Removed unused cbor dependencies (#8)
  • Replaced big-integer with JSBI to improve performance (#8)

Fixes

  • Fixed arraysEqual helper function trying to get index of an index instead of an element (#9)