Skip to content

Commit 2cbee81

Browse files
hacdiaslidel
authored andcommitted
docs: fix 0.21 changelog
1 parent 44c5ec0 commit 2cbee81

File tree

3 files changed

+41
-22
lines changed

3 files changed

+41
-22
lines changed

β€ŽCHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Kubo Changelogs
22

3+
- [v0.22](docs/changelogs/v0.22.md)
34
- [v0.21](docs/changelogs/v0.21.md)
45
- [v0.20](docs/changelogs/v0.20.md)
56
- [v0.19](docs/changelogs/v0.19.md)

β€Ždocs/changelogs/v0.21.md

-22
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
- [Gateway: DAG-CBOR/-JSON previews and improved error pages](#gateway-dag-cbor-json-previews-and-improved-error-pages)
1313
- [Gateway: subdomain redirects are now `text/html`](#gateway-subdomain-redirects-are-now-texthtml)
1414
- [Gateway: support for partial CAR export parameters (IPIP-402)](#gateway-support-for-partial-car-export-parameters-ipip-402)
15-
- [`ipfs dag import` no longer pins by default](#ipfs-dag-import-no-longer-pins-by-default)
1615
- [`ipfs dag stat` deduping statistics](#ipfs-dag-stat-deduping-statistics)
1716
- [Accelerated DHT Client is no longer experimental](#accelerated-dht-client-is-no-longer-experimental)
1817
- [πŸ“ Changelog](#-changelog)
@@ -116,27 +115,6 @@ Batch block retrieval minimizes round trips, catering to the requirements of
116115
light HTTP clients for directory enumeration, range requests, and content path
117116
resolution.
118117

119-
#### `ipfs dag import` no longer pins by default
120-
121-
With the gateway now capable of handling partial CAR exports
122-
([IPIP-402](https://github.com/ipfs/specs/pull/402)) and incomplete DAG CARs
123-
becoming more prevalent, there have been changes to the pinning mode when using
124-
`ipfs dag import`.
125-
126-
Recursive pinning of the entire DAG within an imported CAR is now optional. To
127-
explicitly attempt pinning the DAG referenced by any roots present in the CAR,
128-
you can opt in by using the `--pin-roots` option.
129-
130-
Pinning incomplete DAG will produce an error:
131-
132-
```console
133-
$ curl 'http://127.0.0.1:8080/ipns/docs.ipfs.tech?format=car&dag-scope=entity' > ./partial-entity.car # Kubo 0.21.0 with IPIP-402 (only root block of unixfs dir)
134-
$ ipfs dag import --stats --pin-roots=true ./partial-entity.car
135-
Error pinning QmPDC11yLAbVw3dX5jMeEuSdk4BiVjSd9X87zaYRdVjzW3 FAILED: block was not found locally (offline): ipld: could not find QmPDvrDAz2aHeLjPVQ4uh1neyknUmDpf1GsBzAbpFhS8ro
136-
Imported 1 blocks (1618 bytes)
137-
[exit code 1]
138-
```
139-
140118
#### `ipfs dag stat` deduping statistics
141119

142120
`ipfs dat stat` now accept multiple CIDs and will dump advanced statistics

β€Ždocs/changelogs/v0.22.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Kubo changelog v0.22
2+
3+
- [v0.22.0](#v0220)
4+
5+
## v0.22.0
6+
7+
- [Overview](#overview)
8+
- [πŸ”¦ Highlights](#-highlights)
9+
- [`ipfs dag import` no longer pins by default](#ipfs-dag-import-no-longer-pins-by-default)
10+
- [πŸ“ Changelog](#-changelog)
11+
- [πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Contributors](#-contributors)
12+
13+
### Overview
14+
15+
### πŸ”¦ Highlights
16+
17+
#### `ipfs dag import` no longer pins by default
18+
19+
With the gateway now capable of handling partial CAR exports
20+
([IPIP-402](https://github.com/ipfs/specs/pull/402)) and incomplete DAG CARs
21+
becoming more prevalent, there have been changes to the pinning mode when using
22+
`ipfs dag import`.
23+
24+
Recursive pinning of the entire DAG within an imported CAR is now optional. To
25+
explicitly attempt pinning the DAG referenced by any roots present in the CAR,
26+
you can opt in by using the `--pin-roots` option.
27+
28+
Pinning incomplete DAG will produce an error:
29+
30+
```console
31+
$ curl 'http://127.0.0.1:8080/ipns/docs.ipfs.tech?format=car&dag-scope=entity' > ./partial-entity.car # Kubo 0.21.0 with IPIP-402 (only root block of unixfs dir)
32+
$ ipfs dag import --stats --pin-roots=true ./partial-entity.car
33+
Error pinning QmPDC11yLAbVw3dX5jMeEuSdk4BiVjSd9X87zaYRdVjzW3 FAILED: block was not found locally (offline): ipld: could not find QmPDvrDAz2aHeLjPVQ4uh1neyknUmDpf1GsBzAbpFhS8ro
34+
Imported 1 blocks (1618 bytes)
35+
[exit code 1]
36+
```
37+
38+
### πŸ“ Changelog
39+
40+
### πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Contributors

0 commit comments

Comments
Β (0)