Skip to content

Commit 8660e4f

Browse files
committed
chore: release version v4.0.0
1 parent 4c7c7ba commit 8660e4f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

CHANGELOG.md

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
<a name="4.0.0"></a>
2+
# [4.0.0](https://github.com/ipfs/js-ipfs-repo/compare/v3.0.3...v4.0.0) (2020-06-25)
3+
4+
5+
### Features
6+
7+
* 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))
8+
9+
10+
### BREAKING CHANGES
11+
12+
* - Repo version incremented to `8`, requires a migration
13+
- Blocks are now stored using the multihash, not the full CID
14+
- `repo.blocks.query({})` now returns an async iterator that yields blocks
15+
- `repo.blocks.query({ keysOnly: true })` now returns an async iterator that yields CIDs
16+
- Those CIDs are v1 with the raw codec
17+
18+
Co-authored-by: achingbrain <[email protected]>
19+
20+
21+
122
<a name="3.0.3"></a>
223
## [3.0.3](https://github.com/ipfs/js-ipfs-repo/compare/v3.0.2...v3.0.3) (2020-06-20)
324

0 commit comments

Comments
 (0)