@cryptotaxi247 / kubo / commits / 91835546c

docs: fix 0.21 changelog

Henrique Dias committed Jun 15, 2023 at 14:53 UTC 91835546c7cc677d99dc95a342138dc1ee28d12a
3 files changed +41 -22
CHANGELOG.md
+1
@@ -1,5 +1,6 @@
1 # Kubo Changelogs
2
3 +- [v0.22](docs/changelogs/v0.22.md)
4 - [v0.21](docs/changelogs/v0.21.md)
5 - [v0.20](docs/changelogs/v0.20.md)
6 - [v0.19](docs/changelogs/v0.19.md)
docs/changelogs/v0.21.md
-22
@@ -12,7 +12,6 @@
12 - [Gateway: DAG-CBOR/-JSON previews and improved error pages](#gateway-dag-cbor-json-previews-and-improved-error-pages)
13 - [Gateway: subdomain redirects are now `text/html`](#gateway-subdomain-redirects-are-now-texthtml)
14 - [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)
15 - [`ipfs dag stat` deduping statistics](#ipfs-dag-stat-deduping-statistics)
16 - [Accelerated DHT Client is no longer experimental](#accelerated-dht-client-is-no-longer-experimental)
17 - [📝 Changelog](#-changelog)
@@ -116,27 +115,6 @@ Batch block retrieval minimizes round trips, catering to the requirements of
115 light HTTP clients for directory enumeration, range requests, and content path
116 resolution.
117
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 -
118 #### `ipfs dag stat` deduping statistics
119
120 `ipfs dat stat` now accept multiple CIDs and will dump advanced statistics
docs/changelogs/v0.22.md new
+40
@@ -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