Skip to content

Commit 4c29d2d

Browse files
StarpTechNoroth
andauthored
feat: upgrade go to 1.23 (#1473)
Co-authored-by: Ludwig <[email protected]>
1 parent 3c6562c commit 4c29d2d

33 files changed

+88
-53
lines changed

.github/actions/build-push-image/action.yaml

+11-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ inputs:
2525
push:
2626
description: "Whether to push the image to the GitHub container registry"
2727
default: "true"
28+
load_Image:
29+
description: "Whether to make the image locally available to the build. Doesn't work with multi-platform builds"
30+
default: "false"
2831

2932
runs:
3033
using: "composite"
@@ -46,7 +49,10 @@ runs:
4649
tags: |
4750
type=ref,event=branch
4851
type=ref,event=pr
52+
# minimal (short sha)
4953
type=sha
54+
# full length commit sha
55+
type=raw,value=sha-${{ github.sha }}
5056
# set latest tag for default branch
5157
type=raw,value=latest,enable={{is_default_branch}}
5258
# use custom value instead of git tag
@@ -72,7 +78,10 @@ runs:
7278
password: ${{ inputs.token }}
7379

7480
- name: Build & Push Docker Image
75-
uses: docker/build-push-action@v5
81+
uses: docker/build-push-action@v6
82+
env:
83+
DOCKER_BUILD_SUMMARY: false
84+
DOCKER_BUILD_RECORD_UPLOAD: false
7685
with:
7786
# This is a limitation of GitHub. Only organization members can push to GitHub Container Registry
7887
# For now, we will disable the push to the GitHub Container Registry for external contributors
@@ -82,6 +91,7 @@ runs:
8291
tags: ${{ steps.meta.outputs.tags }}
8392
labels: ${{ steps.meta.outputs.labels }}
8493
platforms: ${{ inputs.image_platforms }}
94+
load: ${{ inputs.load_Image == 'true' }}
8595
outputs:
8696
type=image,name=target,annotation-index.org.opencontainers.image.description=${{ inputs.image_description }}
8797
type=image,name=target,annotation-index.org.opencontainers.image.source=https://github.com/wundergraph/cosmo

.github/actions/go-linter/action.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ runs:
1616
working-directory: ${{ inputs.working-directory }}
1717

1818
- name: Run staticcheck linter
19-
uses: dominikh/[email protected].0
19+
uses: dominikh/[email protected].1
2020
with:
21-
version: 2023.1.7
21+
version: 2024.1.1
2222
install-go: false
2323
working-directory: ${{ inputs.working-directory }}

.github/actions/go/action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: "This action install go and cache modules and build dependencies"
33
inputs:
44
go-version:
55
description: "The go version to install"
6-
default: "1.21"
6+
default: "1.23"
77
required: false
88
cache-dependency-path:
99
description: "The path to the dependency to cache"

.github/actions/image-scan/action.yaml

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: "Image Vulnerability Scan"
22
description: "This action performs a Trivy scan on the image and adds a PR comment with the results."
33
inputs:
4+
name:
5+
description: "The name of service"
6+
required: true
7+
48
github_token:
59
description: 'GitHub Token'
610
required: true
@@ -43,15 +47,24 @@ runs:
4347
if: success() && steps.scan.outcome == 'success'
4448
with:
4549
message: |
46-
# Trivy Image scan passed
47-
:white_check_mark: No security vulnerabilities found in image `${{ inputs.image_ref }}`.
50+
# ${{ inputs.name }} image scan passed
51+
:white_check_mark: No security [vulnerabilities](https://github.com/wundergraph/cosmo/security/code-scanning?query=pr%3A${{ github.event.number }}+is%3Aopen+tool%3ATrivy) found in image:
52+
53+
```
54+
${{ inputs.image_ref }}
55+
```
56+
4857
4958
- uses: mshick/add-pr-comment@v2
5059
if: failure() && steps.scan.outcome == 'failure'
5160
with:
5261
message: |
53-
# Trivy Image scan failed
54-
:x: Image `${{ inputs.image_ref }}` has security vulnerabilities.
62+
# ${{ inputs.name }} image scan failed
63+
:x: Security vulnerabilities found in image:
64+
65+
```
66+
${{ inputs.image_ref }}
67+
```
5568
5669
Please check the security [vulnerabilities](https://github.com/wundergraph/cosmo/security/code-scanning?query=pr%3A${{ github.event.number }}+is%3Aopen+tool%3ATrivy) found in the PR.
5770

.github/workflows/router-ci.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,14 @@ jobs:
184184
image_name: router
185185
image_description: "Cosmo Router"
186186
image_platforms: 'linux/amd64'
187+
load_Image: 'true'
187188
push: 'false'
188189

189190
- uses: ./.github/actions/image-scan
190191
with:
192+
name: "Router"
191193
github_token: ${{secrets.GITHUB_TOKEN}}
192-
image_ref: 'ghcr.io/wundergraph/cosmo/router:pr-${{github.event.number}}'
194+
image_ref: 'ghcr.io/wundergraph/cosmo/router:sha-${{ github.sha }}'
193195

194196
build_push_image:
195197
# This is a limitation of GitHub. Only organization members can push to GitHub Container Registry

CONTRIBUTING.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ According to best practices, we don't commit the `go.work` or `go.sum` files. Th
4444
### Example
4545

4646
```
47-
go 1.21.5
48-
49-
toolchain go1.22.0
47+
go 1.23
5048
5149
use (
5250
./demo
@@ -89,7 +87,7 @@ We merge all pull requests in `squash merge` mode. You're not enforced to use [c
8987
- [Docker Compose V2](https://docs.docker.com/compose/install/)
9088
- [NodeJS LTS](https://nodejs.org/en/download/)
9189
- [PNPM 8+](https://pnpm.io/installation)
92-
- [Go 1.21+](https://golang.org/doc/install)
90+
- [Go 1.23+](https://golang.org/doc/install)
9391
- [wgc](https://www.npmjs.com/package/wgc)
9492
- .env/.env.local (see below)
9593

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ setup-build-tools:
77

88
setup-dev-tools: setup-build-tools
99
go install github.com/amacneil/dbmate/[email protected]
10-
go install honnef.co/go/tools/cmd/staticcheck@2023.1.7
10+
go install honnef.co/go/tools/cmd/staticcheck@2024.1.1
1111
go install github.com/yannh/kubeconform/cmd/[email protected]
1212
go install github.com/norwoodj/helm-docs/cmd/[email protected]
1313

aws-lambda-router/Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ deploy: build-sam
2121
sam deploy
2222

2323
lint:
24-
cd adapter && go vet ./...
25-
cd adapter && staticcheck ./...
24+
staticcheck ./...
2625

2726
test:
2827
go test -v ./...

aws-lambda-router/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ require (
116116
go.withmatt.com/connect-brotli v0.4.0 // indirect
117117
golang.org/x/crypto v0.31.0 // indirect
118118
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
119-
golang.org/x/net v0.30.0 // indirect
119+
golang.org/x/net v0.33.0 // indirect
120120
golang.org/x/sync v0.10.0 // indirect
121121
golang.org/x/sys v0.28.0 // indirect
122122
golang.org/x/text v0.21.0 // indirect

aws-lambda-router/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn
312312
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
313313
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
314314
golang.org/x/net v0.0.0-20191116160921-f9c825593386/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
315-
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
316-
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
315+
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
316+
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
317317
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
318318
golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=
319319
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=

composition-go/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/wundergraph/cosmo/composition-go
22

3-
go 1.21.0
3+
go 1.23
44

55
require (
66
github.com/dop251/goja v0.0.0-20230906160731-9410bcaa81d2

connect-go/go.mod

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
module github.com/wundergraph/cosmo/connect-go
22

3-
go 1.22.0
3+
go 1.23
4+
5+
require (
6+
connectrpc.com/connect v1.17.0
7+
google.golang.org/protobuf v1.36.0
8+
)

connect-go/go.sum

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
connectrpc.com/connect v1.17.0 h1:W0ZqMhtVzn9Zhn2yATuUokDLO5N+gIuBWMOnsQrfmZk=
2+
connectrpc.com/connect v1.17.0/go.mod h1:0292hj1rnx8oFrStN7cB4jjVBeqs+Yx5yDIC2prWDO8=
3+
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
4+
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
5+
golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs=
6+
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
7+
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
8+
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
9+
google.golang.org/protobuf v1.36.0 h1:mjIs9gYtt56AzC4ZaffQuh88TZurBGhIJMBZGSxNerQ=
10+
google.golang.org/protobuf v1.36.0/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=

demo/Dockerfile.availability

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21 as builder
1+
FROM golang:1.23 as builder
22

33
WORKDIR /app
44

demo/Dockerfile.countries

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21 as builder
1+
FROM golang:1.23 as builder
22

33
WORKDIR /app
44

demo/Dockerfile.employees

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21 as builder
1+
FROM golang:1.23 as builder
22

33
WORKDIR /app
44

demo/Dockerfile.family

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21 as builder
1+
FROM golang:1.23 as builder
22

33
WORKDIR /app
44

demo/Dockerfile.hobbies

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21 as builder
1+
FROM golang:1.23 as builder
22

33
WORKDIR /app
44

demo/Dockerfile.mood

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21 as builder
1+
FROM golang:1.23 as builder
22

33
WORKDIR /app
44

demo/Dockerfile.products

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21 as builder
1+
FROM golang:1.23 as builder
22

33
WORKDIR /app
44

demo/Dockerfile.products_fg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21 as builder
1+
FROM golang:1.23 as builder
22

33
WORKDIR /app
44

demo/go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/wundergraph/cosmo/demo
22

3-
go 1.21.5
3+
go 1.23
44

5-
toolchain go1.22.0
5+
toolchain go1.23.4
66

77
require (
88
github.com/99designs/gqlgen v0.17.49
@@ -141,7 +141,7 @@ require (
141141
golang.org/x/crypto v0.31.0 // indirect
142142
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
143143
golang.org/x/mod v0.18.0 // indirect
144-
golang.org/x/net v0.30.0 // indirect
144+
golang.org/x/net v0.33.0 // indirect
145145
golang.org/x/sys v0.28.0 // indirect
146146
golang.org/x/text v0.21.0 // indirect
147147
golang.org/x/time v0.5.0 // indirect

demo/go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,8 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v
378378
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
379379
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
380380
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
381+
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
382+
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
381383
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
382384
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
383385
golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=

graphqlmetrics/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${BUILDPLATFORM} golang:1.21 AS builder
1+
FROM --platform=${BUILDPLATFORM} golang:1.23 AS builder
22

33
ARG TARGETOS
44
ARG TARGETARCH

graphqlmetrics/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/wundergraph/cosmo/graphqlmetrics
22

3-
go 1.21.0
3+
go 1.23
44

55
require (
66
connectrpc.com/connect v1.16.2
@@ -58,7 +58,7 @@ require (
5858
go.opentelemetry.io/otel/trace v1.28.0 // indirect
5959
go.uber.org/multierr v1.11.0 // indirect
6060
golang.org/x/crypto v0.31.0 // indirect
61-
golang.org/x/net v0.30.0 // indirect
61+
golang.org/x/net v0.33.0 // indirect
6262
golang.org/x/sys v0.28.0 // indirect
6363
golang.org/x/text v0.21.0 // indirect
6464
gopkg.in/yaml.v3 v3.0.1 // indirect

graphqlmetrics/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL
160160
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
161161
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
162162
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
163-
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
164-
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
163+
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
164+
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
165165
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
166166
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
167167
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

otelcollector/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${BUILDPLATFORM} golang:1.21 AS builder
1+
FROM --platform=${BUILDPLATFORM} golang:1.23 AS builder
22

33
ARG TARGETOS
44
ARG TARGETARCH
@@ -16,7 +16,7 @@ RUN ./ocb --config otelcol-builder.yaml \
1616
&& chmod +x /app/otelcol-dev/otelcol \
1717
&& /app/otelcol-dev/otelcol --version
1818

19-
FROM --platform=${BUILDPLATFORM} golang:1.21
19+
FROM --platform=${BUILDPLATFORM} golang:1.23
2020

2121
COPY ./otel-config.yaml /etc/otel-config.yaml
2222
COPY --from=builder /app/otelcol-dev/otelcol /otelcol

router-tests/go.mod

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/wundergraph/cosmo/router-tests
22

3-
go 1.21.5
4-
5-
toolchain go1.22.0
3+
go 1.23
64

75
require (
86
github.com/buger/jsonparser v1.1.1
@@ -159,7 +157,7 @@ require (
159157
golang.org/x/crypto v0.31.0 // indirect
160158
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
161159
golang.org/x/mod v0.18.0 // indirect
162-
golang.org/x/net v0.30.0 // indirect
160+
golang.org/x/net v0.33.0 // indirect
163161
golang.org/x/sync v0.10.0 // indirect
164162
golang.org/x/sys v0.28.0 // indirect
165163
golang.org/x/text v0.21.0 // indirect

router-tests/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL
428428
golang.org/x/net v0.0.0-20191116160921-f9c825593386/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
429429
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
430430
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
431-
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
432-
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
431+
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
432+
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
433433
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
434434
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
435435
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

router/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${BUILDPLATFORM} golang:1.21 AS builder
1+
FROM --platform=${BUILDPLATFORM} golang:1.23 AS builder
22

33
ARG TARGETOS
44
ARG TARGETARCH

router/custom.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21 as builder
1+
FROM golang:1.23 as builder
22

33
ARG TARGETOS
44
ARG TARGETARCH

router/go.mod

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/wundergraph/cosmo/router
22

3-
go 1.21.5
4-
5-
toolchain go1.22.0
3+
go 1.23
64

75
require (
86
connectrpc.com/connect v1.16.2
@@ -138,7 +136,7 @@ require (
138136
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
139137
go.uber.org/multierr v1.11.0 // indirect
140138
golang.org/x/crypto v0.31.0 // indirect
141-
golang.org/x/net v0.30.0 // indirect
139+
golang.org/x/net v0.33.0 // indirect
142140
google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 // indirect
143141
google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 // indirect
144142
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect

0 commit comments

Comments
 (0)