You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wire up boxo's AllowCodecConversion config to control codec conversion
behavior per IPIP-0524. When false (default), the gateway returns
406 Not Acceptable if the requested format doesn't match the block's
codec.
Clients should fetch raw blocks (`?format=raw`) and convert client-side.
Ref: ipfs/specs#524
Ref: ipfs/boxo#1077
Ref: ipfs/gateway-conformance#254
uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@376504c31aae5e2d47c23cb1e131a7573a7e3a7f # TODO: switch to release tag once https://github.com/ipfs/gateway-conformance/pull/254 ships
uses: ipfs/gateway-conformance/.github/actions/test@376504c31aae5e2d47c23cb1e131a7573a7e3a7f # TODO: switch to release tag once https://github.com/ipfs/gateway-conformance/pull/254 ships
uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@376504c31aae5e2d47c23cb1e131a7573a7e3a7f # TODO: switch to release tag once https://github.com/ipfs/gateway-conformance/pull/254 ships
131
131
with:
132
132
output: fixtures
133
133
@@ -199,7 +199,7 @@ jobs:
199
199
200
200
# 9. Run the gateway-conformance tests over libp2p
uses: ipfs/gateway-conformance/.github/actions/test@376504c31aae5e2d47c23cb1e131a7573a7e3a7f # TODO: switch to release tag once https://github.com/ipfs/gateway-conformance/pull/254 ships
Copy file name to clipboardExpand all lines: docs/changelogs/v0.40.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,8 @@ This release was brought to you by the [Shipyard](https://ipshipyard.com/) team.
11
11
-[Overview](#overview)
12
12
-[🔦 Highlights](#-highlights)
13
13
-[Routing V1 HTTP API now exposed by default](#routing-v1-http-api-now-exposed-by-default)
14
-
-[Track total size when adding pins](#track-total-size-when-adding-pins]
14
+
-[Track total size when adding pins](#track-total-size-when-adding-pins)
15
+
-[IPIP-0524: Gateway codec conversion disabled by default](#ipip-0524-gateway-codec-conversion-disabled-by-default)
15
16
-[📝 Changelog](#-changelog)
16
17
-[👨👩👧👦 Contributors](#-contributors)
17
18
@@ -32,6 +33,18 @@ Example output:
32
33
Fetched/Processed 336 nodes (83 MB)
33
34
```
34
35
36
+
#### IPIP-0524: Gateway codec conversion disabled by default
37
+
38
+
Codec conversion is now disabled by default per [IPIP-0524](https://github.com/ipfs/specs/pull/524).
39
+
Requests for a format that differs from the block's codec will return `406 Not Acceptable`.
40
+
41
+
**Migration**: Clients should fetch raw blocks (`?format=raw` or `Accept: application/vnd.ipld.raw`)
42
+
and convert client-side using libraries like [@helia/verified-fetch](https://www.npmjs.com/package/@helia/verified-fetch).
43
+
44
+
This change removes gateways from a gatekeeping role: new codecs can now be adopted by clients
45
+
immediately without waiting for gateway operator updates. Set [`Gateway.AllowCodecConversion`](https://github.com/ipfs/kubo/blob/master/docs/config.md#gatewayallowcodecconversion)
0 commit comments