@cryptotaxi247 / kubo / commits / 091bc083c

fix: go 1.23(.2) (#10540)

go1.23.2 includes potential fix for issue described in https://github.com/ipfs/kubo/issues/10501

Marcin Rataj committed Oct 8, 2024 at 17:16 UTC 091bc083c3cb76ff408a9df2c020b0cbc49f141b
13 files changed +20 -13
.github/workflows/codeql-analysis.yml
+1 -1
@@ -34,7 +34,7 @@ jobs:
34 - name: Setup Go
35 uses: actions/setup-go@v5
36 with:
37 - go-version: 1.22.x
37 + go-version: 1.23.x
38
39 # Initializes the CodeQL tools for scanning.
40 - name: Initialize CodeQL
.github/workflows/docker-build.yml
+1 -1
@@ -28,7 +28,7 @@ jobs:
28 steps:
29 - uses: actions/setup-go@v5
30 with:
31 - go-version: 1.22.x
31 + go-version: 1.23.x
32 - uses: actions/checkout@v4
33 - run: docker build -t $IMAGE_NAME:$WIP_IMAGE_TAG .
34 - run: docker run --rm $IMAGE_NAME:$WIP_IMAGE_TAG --version
.github/workflows/gateway-conformance.yml
+2 -2
@@ -49,7 +49,7 @@ jobs:
49 - name: Setup Go
50 uses: actions/setup-go@v5
51 with:
52 - go-version: 1.22.x
52 + go-version: 1.23.x
53 - uses: protocol/cache-go-action@v1
54 with:
55 name: ${{ github.job }}
@@ -136,7 +136,7 @@ jobs:
136 - name: Setup Go
137 uses: actions/setup-go@v5
138 with:
139 - go-version: 1.22.x
139 + go-version: 1.23.x
140 - uses: protocol/cache-go-action@v1
141 with:
142 name: ${{ github.job }}
.github/workflows/gobuild.yml
+1 -1
@@ -30,7 +30,7 @@ jobs:
30 steps:
31 - uses: actions/setup-go@v5
32 with:
33 - go-version: 1.22.x
33 + go-version: 1.23.x
34 - uses: actions/checkout@v4
35 - run: make cmd/ipfs-try-build
36 env:
.github/workflows/golang-analysis.yml
+1 -1
@@ -27,7 +27,7 @@ jobs:
27 submodules: recursive
28 - uses: actions/setup-go@v5
29 with:
30 - go-version: "1.22.x"
30 + go-version: "1.23.x"
31 - name: Check that go.mod is tidy
32 uses: protocol/multiple-go-modules@v1.4
33 with:
.github/workflows/golint.yml
+1 -1
@@ -31,6 +31,6 @@ jobs:
31 steps:
32 - uses: actions/setup-go@v5
33 with:
34 - go-version: 1.22.x
34 + go-version: 1.23.x
35 - uses: actions/checkout@v4
36 - run: make -O test_go_lint
.github/workflows/gotest.yml
+1 -1
@@ -32,7 +32,7 @@ jobs:
32 - name: Set up Go
33 uses: actions/setup-go@v5
34 with:
35 - go-version: 1.22.x
35 + go-version: 1.23.x
36 - name: Check out Kubo
37 uses: actions/checkout@v4
38 - name: Install missing tools
.github/workflows/interop.yml
+1 -1
@@ -10,7 +10,7 @@ on:
10 - 'master'
11
12 env:
13 - GO_VERSION: 1.22.x
13 + GO_VERSION: 1.23.x
14
15 concurrency:
16 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
.github/workflows/sharness.yml
+1 -1
@@ -25,7 +25,7 @@ jobs:
25 - name: Setup Go
26 uses: actions/setup-go@v5
27 with:
28 - go-version: 1.22.x
28 + go-version: 1.23.x
29 - name: Checkout Kubo
30 uses: actions/checkout@v4
31 with:
Dockerfile
+1 -1
@@ -1,4 +1,4 @@
1 -FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22 AS builder
1 +FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23 AS builder
2
3 ARG TARGETOS TARGETARCH
4
docs/changelogs/v0.31.md
+5
@@ -9,6 +9,7 @@
9 - [Experimental Pebble Datastore](#experimental-pebble-datastore)
10 - [New metrics](#new-metrics)
11 - [`lowpower` profile no longer breaks DHT announcements](#lowpower-profile-no-longer-breaks-dht-announcements)
12 + - [go 1.23, boxo 0.24 and go-libp2p 0.36.5](#go-123-boxo-024-and-go-libp2p-0365)
13 - [📝 Changelog](#-changelog)
14 - [👨‍👩‍👧‍👦 Contributors](#-contributors)
15
@@ -43,6 +44,10 @@ This release changes [`lowpower` profile](https://github.com/ipfs/kubo/blob/mast
44 >
45 > As a convenience, `ipfs daemon` will warn if reprovide system is disabled, creating oportinity to fix configuration if it was not intentional.
46
47 +#### go 1.23, boxo 0.24 and go-libp2p 0.36.5
48 +
49 +Various bugfixes. Please update.
50 +
51 ### 📝 Changelog
52
53 ### 👨‍👩‍👧‍👦 Contributors
docs/examples/kubo-as-a-library/go.mod
+3 -1
@@ -1,6 +1,8 @@
1 module github.com/ipfs/kubo/examples/kubo-as-a-library
2
3 -go 1.22
3 +go 1.23
4 +
5 +toolchain go1.23.2
6
7 // Used to keep this in sync with the current version of kubo. You should remove
8 // this if you copy this example.
go.mod
+1 -1
@@ -1,6 +1,6 @@
1 module github.com/ipfs/kubo
2
3 -go 1.22
3 +go 1.23
4
5 require (
6 bazil.org/fuse v0.0.0-20200117225306-7b5117fecadc