diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d7c6e5f..dea08ccd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ + +# [4.0.0](https://github.com/ipfs/js-ipfs-repo/compare/v3.0.3...v4.0.0) (2020-06-25) + + +### Features + +* store blocks under multihash key ([#211](https://github.com/ipfs/js-ipfs-repo/issues/211)) ([06a9e27](https://github.com/ipfs/js-ipfs-repo/commit/06a9e27)) + + +### BREAKING CHANGES + +* - Repo version incremented to `8`, requires a migration +- Blocks are now stored using the multihash, not the full CID +- `repo.blocks.query({})` now returns an async iterator that yields blocks +- `repo.blocks.query({ keysOnly: true })` now returns an async iterator that yields CIDs + - Those CIDs are v1 with the raw codec + +Co-authored-by: achingbrain + + + ## [3.0.3](https://github.com/ipfs/js-ipfs-repo/compare/v3.0.2...v3.0.3) (2020-06-20)