-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
41 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |