CHANGELOG.md 3.3 KB

Changelog

0.2.0 (2024-02-15)

  • Bumped minimal supported rust version to 1.75
  • Moved all traits to use the new "return position impl trait in trait" feature
  • Added two functions to BlockStore trait:
    • has_block for finding out if a blockstore has a block available locally
    • put_block_keyed for adding a block to the blockstore with a pre-computed CID
  • Added a default implementation for BlockStore::put_block utilizing put_block_keyed and create_cid
  • Removed put_serializable and get_serializable functions from BlockStore. Use Storable::store and Storable::load instead.
  • Made all Results in BlockStore use BlockStoreError as error type instead of anyhow::Error
  • Expose a blanket implementation of BlockStore for any &impl BlockStore or Box<impl BlockStore>
  • Evolve BlockStore trait (#402)

0.1.26 (2023-12-06)

  • Removed AsyncSerialize and RemembersCid traits.
  • Added Storable, StoreIpld and LoadIpld traits.
  • Removed BlockStore::store_async_serializable. Use Storable::store instead.

These traits allow the Link type to be used with data that doesn't necessarily encode as dag-cbor, such as UnixFS files, which encode as dag-pb. For details see #378.

0.1.25 (2023-09-04)

  • Small documentation improvements

0.1.23 (2023-07-21)

Features

  • Switch from Namefilter to Name Accumulators (#247) (7026a37)
  • Switch from SHA3-256 to BLAKE3-256 (#306) (e164a1f)

Miscellaneous Chores

  • wnfs-nameaccumulator: Initial release at 0.1.23 (eb17ea2)

0.1.22 (2023-06-23)

Features

  • make changes to BlockStore trait based on feedback (#286) (085242d)

0.1.21 (2023-05-22)

Miscellaneous Chores

0.1.20 (2023-03-30)

Features

  • adding mutation api for metadata. cleaning up clippy complaints (#217) (05f3739)

0.1.19 (2023-03-23)

Miscellaneous Chores