|
12 | 12 | - [Gateway: DAG-CBOR/-JSON previews and improved error pages](#gateway-dag-cbor-json-previews-and-improved-error-pages)
|
13 | 13 | - [Gateway: subdomain redirects are now `text/html`](#gateway-subdomain-redirects-are-now-texthtml)
|
14 | 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) |
16 | 15 | - [`ipfs dag stat` deduping statistics](#ipfs-dag-stat-deduping-statistics)
|
17 | 16 | - [Accelerated DHT Client is no longer experimental](#accelerated-dht-client-is-no-longer-experimental)
|
18 | 17 | - [π Changelog](#-changelog)
|
@@ -116,27 +115,6 @@ Batch block retrieval minimizes round trips, catering to the requirements of
|
116 | 115 | light HTTP clients for directory enumeration, range requests, and content path
|
117 | 116 | resolution.
|
118 | 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 |
| - |
140 | 118 | #### `ipfs dag stat` deduping statistics
|
141 | 119 |
|
142 | 120 | `ipfs dat stat` now accept multiple CIDs and will dump advanced statistics
|
|
0 commit comments