Skip to content

Commit 2f5b8a4

Browse files
committed
docs(changelog): document breaking changes
1 parent c34fe9c commit 2f5b8a4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# go-ipfs changelog
22

3+
## v0.13 (DRAFT)
4+
5+
### BREAKING CHANGES
6+
7+
- `ipfs block put` command produces CIDv1 with `raw` codec by default now
8+
- `ipfs block put --cid-codec` makes `block put` return CID with alternative codec
9+
- this impacts only the returned CID, it does not trigger any validation or data transformation
10+
- codec names are validated against tables from https://github.com/multiformats/go-multicodec
11+
- `ipfs block put --format` is deprecated. It used incorrect codec names and should be avoided for new deployments. Use it only if you need the old, invalid behavior, namely:
12+
- `ipfs block put --format=v0` will produce CIDv0 (implicit dag-pb)
13+
- `ipfs block put --format=cbor` will produce CIDv1 with dag-cbor (!)
14+
- `ipfs block put --format=protobuf` will produce CIDv1 with dag-pb (!)
15+
- `ipfs cid codecs` command
16+
- it now lists codecs from https://github.com/multiformats/go-multicodec
17+
- `ipfs cid codecs --supported` can be passed to only show codecs supported in various go-ipfs commands
18+
19+
320
## v0.12.2 and v0.11.1 2022-04-08
421

522
This patch release fixes a security issue wherein traversing some malformed DAGs can cause the node to panic.

0 commit comments

Comments
 (0)