From 8660e4f0fb4dd6d5bbe76090be68f683b6a044fd Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 25 Jun 2020 14:53:20 +0100 Subject: [PATCH] chore: release version v4.0.0 --- CHANGELOG.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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)