mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
docs: fix 0.21 changelog
This commit is contained in:
parent
44c5ec0505
commit
2cbee81b9b
@ -1,5 +1,6 @@
|
||||
# Kubo Changelogs
|
||||
|
||||
- [v0.22](docs/changelogs/v0.22.md)
|
||||
- [v0.21](docs/changelogs/v0.21.md)
|
||||
- [v0.20](docs/changelogs/v0.20.md)
|
||||
- [v0.19](docs/changelogs/v0.19.md)
|
||||
|
||||
@ -12,7 +12,6 @@
|
||||
- [Gateway: DAG-CBOR/-JSON previews and improved error pages](#gateway-dag-cbor-json-previews-and-improved-error-pages)
|
||||
- [Gateway: subdomain redirects are now `text/html`](#gateway-subdomain-redirects-are-now-texthtml)
|
||||
- [Gateway: support for partial CAR export parameters (IPIP-402)](#gateway-support-for-partial-car-export-parameters-ipip-402)
|
||||
- [`ipfs dag import` no longer pins by default](#ipfs-dag-import-no-longer-pins-by-default)
|
||||
- [`ipfs dag stat` deduping statistics](#ipfs-dag-stat-deduping-statistics)
|
||||
- [Accelerated DHT Client is no longer experimental](#accelerated-dht-client-is-no-longer-experimental)
|
||||
- [📝 Changelog](#-changelog)
|
||||
@ -116,27 +115,6 @@ Batch block retrieval minimizes round trips, catering to the requirements of
|
||||
light HTTP clients for directory enumeration, range requests, and content path
|
||||
resolution.
|
||||
|
||||
#### `ipfs dag import` no longer pins by default
|
||||
|
||||
With the gateway now capable of handling partial CAR exports
|
||||
([IPIP-402](https://github.com/ipfs/specs/pull/402)) and incomplete DAG CARs
|
||||
becoming more prevalent, there have been changes to the pinning mode when using
|
||||
`ipfs dag import`.
|
||||
|
||||
Recursive pinning of the entire DAG within an imported CAR is now optional. To
|
||||
explicitly attempt pinning the DAG referenced by any roots present in the CAR,
|
||||
you can opt in by using the `--pin-roots` option.
|
||||
|
||||
Pinning incomplete DAG will produce an error:
|
||||
|
||||
```console
|
||||
$ 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)
|
||||
$ ipfs dag import --stats --pin-roots=true ./partial-entity.car
|
||||
Error pinning QmPDC11yLAbVw3dX5jMeEuSdk4BiVjSd9X87zaYRdVjzW3 FAILED: block was not found locally (offline): ipld: could not find QmPDvrDAz2aHeLjPVQ4uh1neyknUmDpf1GsBzAbpFhS8ro
|
||||
Imported 1 blocks (1618 bytes)
|
||||
[exit code 1]
|
||||
```
|
||||
|
||||
#### `ipfs dag stat` deduping statistics
|
||||
|
||||
`ipfs dat stat` now accept multiple CIDs and will dump advanced statistics
|
||||
|
||||
40
docs/changelogs/v0.22.md
Normal file
40
docs/changelogs/v0.22.md
Normal file
@ -0,0 +1,40 @@
|
||||
# Kubo changelog v0.22
|
||||
|
||||
- [v0.22.0](#v0220)
|
||||
|
||||
## v0.22.0
|
||||
|
||||
- [Overview](#overview)
|
||||
- [🔦 Highlights](#-highlights)
|
||||
- [`ipfs dag import` no longer pins by default](#ipfs-dag-import-no-longer-pins-by-default)
|
||||
- [📝 Changelog](#-changelog)
|
||||
- [👨👩👧👦 Contributors](#-contributors)
|
||||
|
||||
### Overview
|
||||
|
||||
### 🔦 Highlights
|
||||
|
||||
#### `ipfs dag import` no longer pins by default
|
||||
|
||||
With the gateway now capable of handling partial CAR exports
|
||||
([IPIP-402](https://github.com/ipfs/specs/pull/402)) and incomplete DAG CARs
|
||||
becoming more prevalent, there have been changes to the pinning mode when using
|
||||
`ipfs dag import`.
|
||||
|
||||
Recursive pinning of the entire DAG within an imported CAR is now optional. To
|
||||
explicitly attempt pinning the DAG referenced by any roots present in the CAR,
|
||||
you can opt in by using the `--pin-roots` option.
|
||||
|
||||
Pinning incomplete DAG will produce an error:
|
||||
|
||||
```console
|
||||
$ 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)
|
||||
$ ipfs dag import --stats --pin-roots=true ./partial-entity.car
|
||||
Error pinning QmPDC11yLAbVw3dX5jMeEuSdk4BiVjSd9X87zaYRdVjzW3 FAILED: block was not found locally (offline): ipld: could not find QmPDvrDAz2aHeLjPVQ4uh1neyknUmDpf1GsBzAbpFhS8ro
|
||||
Imported 1 blocks (1618 bytes)
|
||||
[exit code 1]
|
||||
```
|
||||
|
||||
### 📝 Changelog
|
||||
|
||||
### 👨👩👧👦 Contributors
|
||||
Loading…
Reference in New Issue
Block a user