Skip to content

Commit 2e5e224

Browse files
authored
Merge branch 'master' into feat/dag-export-import-local-only
2 parents 9fd6d77 + baf8ff9 commit 2e5e224

File tree

14 files changed

+56
-33
lines changed

14 files changed

+56
-33
lines changed

β€Ž.github/workflows/docker-image.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
uses: docker/setup-buildx-action@v3
5353

5454
- name: Log in to Docker Hub
55-
uses: docker/login-action@v3
55+
uses: docker/login-action@v4
5656
with:
5757
username: ${{ vars.DOCKER_USERNAME }}
5858
password: ${{ secrets.DOCKER_PASSWORD }}

β€Ž.github/workflows/gateway-conformance.ymlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ jobs:
109109
run: cat output.md >> $GITHUB_STEP_SUMMARY
110110
- name: Upload HTML report
111111
if: failure() || success()
112-
uses: actions/upload-artifact@v6
112+
uses: actions/upload-artifact@v7
113113
with:
114114
name: gateway-conformance.html
115115
path: output.html
116116
- name: Upload JSON report
117117
if: failure() || success()
118-
uses: actions/upload-artifact@v6
118+
uses: actions/upload-artifact@v7
119119
with:
120120
name: gateway-conformance.json
121121
path: output.json
@@ -214,13 +214,13 @@ jobs:
214214
run: cat output.md >> $GITHUB_STEP_SUMMARY
215215
- name: Upload HTML report
216216
if: failure() || success()
217-
uses: actions/upload-artifact@v6
217+
uses: actions/upload-artifact@v7
218218
with:
219219
name: gateway-conformance-libp2p.html
220220
path: output.html
221221
- name: Upload JSON report
222222
if: failure() || success()
223-
uses: actions/upload-artifact@v6
223+
uses: actions/upload-artifact@v7
224224
with:
225225
name: gateway-conformance-libp2p.json
226226
path: output.json

β€Ž.github/workflows/gotest.ymlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
output: test/unit/gotest.junit.xml
5858
if: failure() || success()
5959
- name: Archive the JUnit XML report
60-
uses: actions/upload-artifact@v6
60+
uses: actions/upload-artifact@v7
6161
with:
6262
name: unit-tests-junit
6363
path: test/unit/gotest.junit.xml
@@ -70,7 +70,7 @@ jobs:
7070
output: test/unit/gotest.html
7171
if: failure() || success()
7272
- name: Archive the HTML report
73-
uses: actions/upload-artifact@v6
73+
uses: actions/upload-artifact@v7
7474
with:
7575
name: unit-tests-html
7676
path: test/unit/gotest.html
@@ -120,7 +120,7 @@ jobs:
120120
output: test/cli/cli-tests.junit.xml
121121
if: failure() || success()
122122
- name: Archive JUnit XML report
123-
uses: actions/upload-artifact@v6
123+
uses: actions/upload-artifact@v7
124124
with:
125125
name: cli-tests-junit
126126
path: test/cli/cli-tests.junit.xml
@@ -133,7 +133,7 @@ jobs:
133133
output: test/cli/cli-tests.html
134134
if: failure() || success()
135135
- name: Archive HTML report
136-
uses: actions/upload-artifact@v6
136+
uses: actions/upload-artifact@v7
137137
with:
138138
name: cli-tests-html
139139
path: test/cli/cli-tests.html

β€Ž.github/workflows/interop.ymlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
go-version-file: 'go.mod'
5353
- run: make build
54-
- uses: actions/upload-artifact@v6
54+
- uses: actions/upload-artifact@v7
5555
with:
5656
name: kubo
5757
path: cmd/ipfs/ipfs
@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/setup-node@v6
6767
with:
6868
node-version: lts/*
69-
- uses: actions/download-artifact@v7
69+
- uses: actions/download-artifact@v8
7070
with:
7171
name: kubo
7272
path: cmd/ipfs
@@ -122,7 +122,7 @@ jobs:
122122
run:
123123
shell: bash
124124
steps:
125-
- uses: actions/download-artifact@v7
125+
- uses: actions/download-artifact@v8
126126
with:
127127
name: kubo
128128
path: cmd/ipfs
@@ -196,7 +196,7 @@ jobs:
196196
working-directory: ipfs-webui
197197
- name: Upload test artifacts on failure
198198
if: failure()
199-
uses: actions/upload-artifact@v6
199+
uses: actions/upload-artifact@v7
200200
with:
201201
name: webui-test-results
202202
path: ipfs-webui/test-results/

β€Ž.github/workflows/sharness.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
destination: sharness.html
9191
- name: Upload one-page HTML report
9292
if: github.repository != 'ipfs/kubo' && (failure() || success())
93-
uses: actions/upload-artifact@v6
93+
uses: actions/upload-artifact@v7
9494
with:
9595
name: sharness.html
9696
path: kubo/test/sharness/test-results/sharness.html
@@ -110,7 +110,7 @@ jobs:
110110
destination: sharness-html/
111111
- name: Upload full HTML report
112112
if: github.repository != 'ipfs/kubo' && (failure() || success())
113-
uses: actions/upload-artifact@v6
113+
uses: actions/upload-artifact@v7
114114
with:
115115
name: sharness-html
116116
path: kubo/test/sharness/test-results/sharness-html

β€Ž.github/workflows/test-migrations.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
7878
- name: Upload test results
7979
if: always()
80-
uses: actions/upload-artifact@v6
80+
uses: actions/upload-artifact@v7
8181
with:
8282
name: ${{ matrix.os }}-test-results
8383
path: |

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Kubo Changelogs
22

3+
- [v0.42](docs/changelogs/v0.42.md)
34
- [v0.41](docs/changelogs/v0.41.md)
45
- [v0.40](docs/changelogs/v0.40.md)
56
- [v0.39](docs/changelogs/v0.39.md)

β€Žconfig/profile.goβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ fetching may be degraded.
327327
Description: `Legacy UnixFS import profile for backward-compatible CID generation.
328328
Produces CIDv0 with no raw leaves, sha2-256, 256 KiB chunks, and
329329
link-based HAMT size estimation. Use only when legacy CIDs are required.
330-
See https://github.com/ipfs/specs/pull/499. Alias: legacy-cid-v0`,
330+
See https://specs.ipfs.tech/ipips/ipip-0499/. Alias: legacy-cid-v0`,
331331
Transform: applyUnixFSv02015,
332332
},
333333
"legacy-cid-v0": {
@@ -338,7 +338,7 @@ See https://github.com/ipfs/specs/pull/499. Alias: legacy-cid-v0`,
338338
Description: `Recommended UnixFS import profile for cross-implementation CID determinism.
339339
Uses CIDv1, raw leaves, sha2-256, 1 MiB chunks, 1024 links per file node,
340340
256 HAMT fanout, and block-based size estimation for HAMT threshold.
341-
See https://github.com/ipfs/specs/pull/499`,
341+
See https://specs.ipfs.tech/ipips/ipip-0499/`,
342342
Transform: func(c *Config) error {
343343
c.Import.CidVersion = *NewOptionalInteger(1)
344344
c.Import.UnixFSRawLeaves = True

β€Ždocs/changelogs/v0.40.mdβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This release brings reproducible file imports (CID Profiles), automatic cleanup
4949

5050
#### πŸ”’ IPIP-499: UnixFS CID Profiles
5151

52-
CID Profiles are presets that pin down how files get split into blocks and organized into directories, so you get the same CID for the same data across different software or versions. Defined in [IPIP-499](https://github.com/ipfs/specs/pull/499).
52+
CID Profiles are presets that pin down how files get split into blocks and organized into directories, so you get the same CID for the same data across different software or versions. Defined in [IPIP-499](https://specs.ipfs.tech/ipips/ipip-0499/).
5353

5454
**New configuration [profiles](https://github.com/ipfs/kubo/blob/master/docs/config.md#profiles)**
5555

@@ -94,7 +94,7 @@ Under the hood, the block storage layer (flatfs) was rewritten to use atomic bat
9494

9595
#### 🌍 Light clients can now use your node for delegated routing
9696

97-
The [Routing V1 HTTP API](https://specs.ipfs.tech/routing/http-routing-v1/) is now exposed by default at `http://127.0.0.1:8080/routing/v1`. This allows light clients in browsers to use Kubo Gateway as a delegated routing backend instead of running a full DHT client. Support for [IPIP-476: Delegated Routing DHT Closest Peers API](https://github.com/ipfs/specs/pull/476) is included. Can be disabled via [`Gateway.ExposeRoutingAPI`](https://github.com/ipfs/kubo/blob/master/docs/config.md#gatewayexposeroutingapi).
97+
The [Routing V1 HTTP API](https://specs.ipfs.tech/routing/http-routing-v1/) is now exposed by default at `http://127.0.0.1:8080/routing/v1`. This allows light clients in browsers to use Kubo Gateway as a delegated routing backend instead of running a full DHT client. Support for [IPIP-476: Delegated Routing DHT Closest Peers API](https://specs.ipfs.tech/ipips/ipip-0476/) is included. Can be disabled via [`Gateway.ExposeRoutingAPI`](https://github.com/ipfs/kubo/blob/master/docs/config.md#gatewayexposeroutingapi).
9898

9999
#### πŸ“Š See total size when pinning
100100

@@ -108,13 +108,13 @@ Fetched/Processed 336 nodes (83 MB)
108108

109109
#### πŸ”€ IPIP-523: `?format=` takes precedence over `Accept` header
110110

111-
The `?format=` URL query parameter now always wins over the `Accept` header ([IPIP-523](https://github.com/ipfs/specs/pull/523)), giving you deterministic HTTP caching and protecting against CDN cache-key collisions. Browsers can also use `?format=` reliably even when they send `Accept` headers with specific content types.
111+
The `?format=` URL query parameter now always wins over the `Accept` header ([IPIP-523](https://specs.ipfs.tech/ipips/ipip-0523/)), giving you deterministic HTTP caching and protecting against CDN cache-key collisions. Browsers can also use `?format=` reliably even when they send `Accept` headers with specific content types.
112112

113113
The only breaking change is for edge cases where a client sends both a specific `Accept` header and a different `?format=` value for an explicitly supported format (`tar`, `raw`, `car`, `dag-json`, `dag-cbor`, etc.). Previously `Accept` would win. Now `?format=` always wins.
114114

115115
#### 🚫 IPIP-524: Gateway codec conversion disabled by default
116116

117-
Gateways no longer convert between codecs by default ([IPIP-524](https://github.com/ipfs/specs/pull/524)). This removes gateways from a gatekeeping role: clients can adopt new codecs immediately without waiting for gateway operator updates. Requests for a format that differs from the block's codec now return `406 Not Acceptable`.
117+
Gateways no longer convert between codecs by default ([IPIP-524](https://specs.ipfs.tech/ipips/ipip-0524/)). This removes gateways from a gatekeeping role: clients can adopt new codecs immediately without waiting for gateway operator updates. Requests for a format that differs from the block's codec now return `406 Not Acceptable`.
118118

119119
**Migration**: Clients should fetch raw blocks (`?format=raw` or `Accept: application/vnd.ipld.raw`)
120120
and convert client-side using libraries like [@helia/verified-fetch](https://www.npmjs.com/package/@helia/verified-fetch).

β€Ždocs/changelogs/v0.42.mdβ€Ž

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Kubo changelog v0.42
2+
3+
<a href="https://ipshipyard.com/"><img align="right" src="https://github.com/user-attachments/assets/39ed3504-bb71-47f6-9bf8-cb9a1698f272" /></a>
4+
5+
This release was brought to you by the [Shipyard](https://ipshipyard.com/) team.
6+
7+
- [v0.42.0](#v0420)
8+
9+
## v0.42.0
10+
11+
- [Overview](#overview)
12+
- [πŸ”¦ Highlights](#-highlights)
13+
- [πŸ“ Changelog](#-changelog)
14+
- [πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Contributors](#-contributors)
15+
16+
### Overview
17+
18+
### πŸ”¦ Highlights
19+
20+
### πŸ“ Changelog
21+
22+
### πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Contributors

0 commit comments

Comments
Β (0)