Skip to content

Commit cd17b3c

Browse files
authored
Merge pull request #777 from traPtitech/update-packages
Update backend packages
2 parents 8eafb6b + b3aa233 commit cd17b3c

File tree

17 files changed

+162
-167
lines changed

17 files changed

+162
-167
lines changed

.github/workflows/ci-protoc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
go-version-file: ./go.mod
2222
- uses: arduino/setup-protoc@v2
2323
with:
24-
version: "24.2"
24+
version: "24.4"
2525
- name: Install proto tools
2626
run: make init-protoc-tools
2727
- name: Generate code

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
PROTOC_VERSION := 24.2
2-
TBLS_VERSION := 1.65.3
3-
SPECTRAL_VERSION := 6.4.0
1+
PROTOC_VERSION := 24.4
2+
TBLS_VERSION := 1.70.2
43

54
GO_REPO_ROOT_PACKAGE := "github.com/traPtitech/neoshowcase"
65
PROTOC_OPTS := -I ./api/proto --go_out=. --go_opt=module=$(GO_REPO_ROOT_PACKAGE) --connect-go_out=. --connect-go_opt=module=$(GO_REPO_ROOT_PACKAGE)
@@ -26,7 +25,7 @@ init-protoc:
2625
init-protoc-tools: ## Install other protoc tools
2726
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
2827
go install connectrpc.com/connect/cmd/protoc-gen-connect-go@latest
29-
yarn global add @bufbuild/protoc-gen-connect-es @bufbuild/protoc-gen-es
28+
yarn global add @connectrpc/protoc-gen-connect-es @bufbuild/protoc-gen-es
3029

3130
.PHONY: init
3231
init: init-protoc init-protoc-tools ## Install commands

dashboard/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
"vite-plugin-solid-svg": "0.6.1"
3030
},
3131
"dependencies": {
32-
"@bufbuild/connect": "0.13.0",
33-
"@bufbuild/connect-web": "0.13.0",
34-
"@bufbuild/protobuf": "1.3.1",
32+
"@bufbuild/protobuf": "1.4.1",
33+
"@connectrpc/connect": "1.1.2",
34+
"@connectrpc/connect-web": "1.1.2",
3535
"@solid-primitives/refs": "1.0.5",
3636
"@solidjs/router": "0.8.3",
3737
"ansi-to-html": "0.7.2",

dashboard/src/api/neoshowcase/protobuf/gateway_connect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @generated by protoc-gen-connect-es v0.13.0 with parameter "target=ts"
1+
// @generated by protoc-gen-connect-es v1.1.3 with parameter "target=ts"
22
// @generated from file neoshowcase/protobuf/gateway.proto (package neoshowcase.protobuf, syntax proto3)
33
/* eslint-disable */
44
// @ts-nocheck

dashboard/src/api/neoshowcase/protobuf/gateway_pb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @generated by protoc-gen-es v1.3.1 with parameter "target=ts"
1+
// @generated by protoc-gen-es v1.4.1 with parameter "target=ts"
22
// @generated from file neoshowcase/protobuf/gateway.proto (package neoshowcase.protobuf, syntax proto3)
33
/* eslint-disable */
44
// @ts-nocheck

dashboard/src/api/neoshowcase/protobuf/null_pb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @generated by protoc-gen-es v1.3.1 with parameter "target=ts"
1+
// @generated by protoc-gen-es v1.4.1 with parameter "target=ts"
22
// @generated from file neoshowcase/protobuf/null.proto (package neoshowcase.protobuf, syntax proto3)
33
/* eslint-disable */
44
// @ts-nocheck

dashboard/src/components/BuildLog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { client } from '/@/libs/api'
33
import { concatBuffers, toUTF8WithAnsi } from '/@/libs/buffers'
44
import { isScrolledToBottom } from '/@/libs/scroll'
55
import { sleep } from '/@/libs/sleep'
6-
import { Code, ConnectError } from '@bufbuild/connect'
6+
import { Code, ConnectError } from '@connectrpc/connect'
77
import { Component, Ref, Show, createEffect, createResource, createSignal, onCleanup } from 'solid-js'
88

99
export interface BuildLogProps {

dashboard/src/components/ContainerLog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { toWithAnsi } from '/@/libs/buffers'
55
import { isScrolledToBottom } from '/@/libs/scroll'
66
import { addTimestamp, lessTimestamp, minTimestamp } from '/@/libs/timestamp'
77
import { vars } from '/@/theme'
8-
import { Code, ConnectError } from '@bufbuild/connect'
98
import { Timestamp } from '@bufbuild/protobuf'
9+
import { Code, ConnectError } from '@connectrpc/connect'
1010
import { styled } from '@macaron-css/solid'
1111
import { Component, For, Ref, Show, createEffect, createMemo, createResource, createSignal, onCleanup } from 'solid-js'
1212

dashboard/src/libs/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { APIService } from '/@/api/neoshowcase/protobuf/gateway_connect'
2-
import { createPromiseClient } from '@bufbuild/connect'
3-
import { createConnectTransport } from '@bufbuild/connect-web'
2+
import { createPromiseClient } from '@connectrpc/connect'
3+
import { createConnectTransport } from '@connectrpc/connect-web'
44
import { createResource } from 'solid-js'
55
import toast from 'solid-toast'
66

dashboard/yarn.lock

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -582,22 +582,20 @@
582582
resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.2.2.tgz#583e50d8a1a1cc81381200d3cb2f34669c6afd35"
583583
integrity sha512-bfaFJwqJ9ApFga2o88OaROSd3pasYRzRGXHJWAE9VUUKdSNSTYxHOqVrNvV54yYPtL6Kt9xkuZa4HNu9it3TaA==
584584

585-
"@bufbuild/connect-web@0.13.0":
586-
version "0.13.0"
587-
resolved "https://registry.yarnpkg.com/@bufbuild/connect-web/-/connect-web-0.13.0.tgz#87301c92d49d3c3f9acb99729c2f7505d739aa4a"
588-
integrity sha512-Ys9VFDWYktD9yFQSLOlkpsD42LonDNMCysLCfjXFuxlupYuf4f7qg0zkT5bESyTfqk4xtRDSSGR3xygaj/ONIQ==
589-
dependencies:
590-
"@bufbuild/connect" "0.13.0"
591-
592-
"@bufbuild/connect@0.13.0":
593-
version "0.13.0"
594-
resolved "https://registry.yarnpkg.com/@bufbuild/connect/-/connect-0.13.0.tgz#97a84a2cac747c7a52d4421a3382d8d165f61c99"
595-
integrity sha512-eZSMbVLyUFtXiZNORgCEvv580xKZeYQdMOWj2i/nxOcpXQcrEzTMTA7SZzWv4k4gveWCOSRoWmYDeOhfWXJv0g==
596-
597-
"@bufbuild/protobuf@1.3.1":
598-
version "1.3.1"
599-
resolved "https://registry.yarnpkg.com/@bufbuild/protobuf/-/protobuf-1.3.1.tgz#c4de66bacbe7ac97fe054e68314aeba6f45177f9"
600-
integrity sha512-BUyJWutgP2S8K/1NphOJokuwDckXS4qI2T1pGZAlkFdZchWae3jm6fCdkcGbLlM1QLOcNFFePd+7Feo4BYGrJQ==
585+
"@bufbuild/protobuf@1.4.1":
586+
version "1.4.1"
587+
resolved "https://registry.yarnpkg.com/@bufbuild/protobuf/-/protobuf-1.4.1.tgz#2a827da66aebe904edca21f7085724154aa7868d"
588+
integrity sha512-4dthhwBGD9nlpY35ic8dMQC5R0dsND2b2xyeVO3qf+hBk8m7Y9dUs+SmMh6rqO2pGLUTKHefGXLDW+z19hBPdQ==
589+
590+
"@connectrpc/connect-web@1.1.2":
591+
version "1.1.2"
592+
resolved "https://registry.yarnpkg.com/@connectrpc/connect-web/-/connect-web-1.1.2.tgz#e862a4027406dc772ead3ae179f058c26b1fcf0f"
593+
integrity sha512-6Osvp4d/5Qvf0dsbUmqgzCPFIong9KBm5G24g2gapPW2huAtyVj+KwdG6453EKCirPZ5qZHY0FywLef57op9YQ==
594+
595+
"@connectrpc/connect@1.1.2":
596+
version "1.1.2"
597+
resolved "https://registry.yarnpkg.com/@connectrpc/connect/-/connect-1.1.2.tgz#d1b5fa1dcec310a8210c1523c99abdc227643f4b"
598+
integrity sha512-oDuKJFRORtzyH4IhZyNgIQ5DKjlDnbP72AH55Aabpc0fwApyus/h4cmYU1KDvahVbqsvUOpd5qUTyMH8IhMmLA==
601599

602600
"@emotion/hash@^0.8.0":
603601
version "0.8.0"

go.mod

Lines changed: 40 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6,53 +6,53 @@ toolchain go1.21.0
66

77
require (
88
code.gitea.io/sdk/gitea v0.16.0
9-
connectrpc.com/connect v1.11.1
10-
github.com/aws/aws-sdk-go v1.45.19
11-
github.com/cert-manager/cert-manager v1.13.1
12-
github.com/docker/cli v24.0.6+incompatible
13-
github.com/docker/docker v24.0.0-rc.2.0.20230718135204-8e51b8b59cb8+incompatible // v25 master@8e51b8b59cb8 (2023-07-18), required by github.com/moby/buildkit@v0.12.2
9+
connectrpc.com/connect v1.12.0
10+
github.com/aws/aws-sdk-go v1.47.0
11+
github.com/cert-manager/cert-manager v1.13.2
12+
github.com/docker/cli v24.0.7+incompatible
13+
github.com/docker/docker v24.0.0-rc.2.0.20230905130451-032797ea4bcb+incompatible // v25 master@032797ea4bcb (2023-09-05), required by github.com/moby/buildkit@v0.12.3
1414
github.com/docker/go-connections v0.4.0
1515
github.com/friendsofgo/errors v0.9.2
1616
github.com/gliderlabs/ssh v0.3.5
17-
github.com/go-git/go-git/v5 v5.9.0
17+
github.com/go-git/go-git/v5 v5.10.0
1818
github.com/go-playground/webhooks/v6 v6.3.0
1919
github.com/go-sql-driver/mysql v1.7.1
2020
github.com/golang/mock v1.6.0
2121
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
2222
github.com/google/wire v0.5.0
23-
github.com/labstack/echo/v4 v4.11.1
23+
github.com/labstack/echo/v4 v4.11.2
2424
github.com/lukesampson/figlet v0.0.0-20190211215653-8a3ef4a6ac42
25-
github.com/moby/buildkit v0.12.2
25+
github.com/moby/buildkit v0.12.3
2626
github.com/motoki317/sc v1.6.0
2727
github.com/ncw/swift v1.0.53
2828
github.com/prometheus/client_golang v1.17.0
29-
github.com/prometheus/common v0.44.0
30-
github.com/regclient/regclient v0.5.2
29+
github.com/prometheus/common v0.45.0
30+
github.com/regclient/regclient v0.5.3
3131
github.com/samber/lo v1.38.1
3232
github.com/shiguredo/websocket v1.6.1
3333
github.com/sirupsen/logrus v1.9.3
3434
github.com/sourcegraph/conc v0.3.0
3535
github.com/spf13/cobra v1.7.0
3636
github.com/spf13/pflag v1.0.5
37-
github.com/spf13/viper v1.16.0
37+
github.com/spf13/viper v1.17.0
3838
github.com/stretchr/testify v1.8.4
39-
github.com/traefik/traefik/v2 v2.10.4
39+
github.com/traefik/traefik/v2 v2.10.5
4040
github.com/volatiletech/null/v8 v8.1.2
4141
github.com/volatiletech/sqlboiler/v4 v4.15.0
4242
github.com/volatiletech/strmangle v0.0.5
4343
github.com/whilp/git-urls v1.0.0
4444
github.com/zeebo/xxh3 v1.0.2
4545
go.mongodb.org/mongo-driver v1.12.1
46-
golang.org/x/crypto v0.13.0
47-
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
48-
golang.org/x/net v0.15.0
49-
golang.org/x/sync v0.3.0
50-
google.golang.org/grpc v1.58.2
46+
golang.org/x/crypto v0.14.0
47+
golang.org/x/exp v0.0.0-20231006140011-7918f672742d
48+
golang.org/x/net v0.17.0
49+
golang.org/x/sync v0.4.0
50+
google.golang.org/grpc v1.59.0
5151
google.golang.org/protobuf v1.31.0
5252
gopkg.in/yaml.v2 v2.4.0
53-
k8s.io/api v0.28.2
54-
k8s.io/apimachinery v0.28.2
55-
k8s.io/client-go v0.28.2
53+
k8s.io/api v0.28.3
54+
k8s.io/apimachinery v0.28.3
55+
k8s.io/client-go v0.28.3
5656
)
5757

5858
require (
@@ -65,18 +65,17 @@ require (
6565
github.com/Microsoft/go-winio v0.6.1 // indirect
6666
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
6767
github.com/acomagu/bufpipe v1.0.4 // indirect
68-
github.com/agext/levenshtein v1.2.3 // indirect
6968
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be // indirect
7069
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
7170
github.com/cloudflare/circl v1.3.3 // indirect
7271
github.com/containerd/console v1.0.3 // indirect
7372
github.com/containerd/containerd v1.7.2 // indirect
7473
github.com/containerd/continuity v0.4.1 // indirect
75-
github.com/containerd/ttrpc v1.2.2 // indirect
7674
github.com/containerd/typeurl/v2 v2.1.1 // indirect
7775
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
7876
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
7977
github.com/davidmz/go-pageant v1.0.2 // indirect
78+
github.com/distribution/reference v0.5.0 // indirect
8079
github.com/docker/distribution v2.8.2+incompatible // indirect
8180
github.com/docker/docker-credential-helpers v0.8.0 // indirect
8281
github.com/docker/go-units v0.5.0 // indirect
@@ -117,11 +116,11 @@ require (
117116
github.com/in-toto/in-toto-golang v0.9.0 // indirect
118117
github.com/inconshreveable/mousetrap v1.1.0 // indirect
119118
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
120-
github.com/jmespath/go-jmespath v0.4.0 // indirect
119+
github.com/jmespath/go-jmespath v0.4.1-0.20220621161143-b0104c826a24 // indirect
121120
github.com/josharian/intern v1.0.0 // indirect
122121
github.com/json-iterator/go v1.1.12 // indirect
123122
github.com/kevinburke/ssh_config v1.2.0 // indirect
124-
github.com/klauspost/compress v1.16.7 // indirect
123+
github.com/klauspost/compress v1.17.0 // indirect
125124
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
126125
github.com/labstack/gommon v0.4.0 // indirect
127126
github.com/magiconair/properties v1.8.7 // indirect
@@ -132,7 +131,6 @@ require (
132131
github.com/mitchellh/copystructure v1.2.0 // indirect
133132
github.com/mitchellh/mapstructure v1.5.0 // indirect
134133
github.com/mitchellh/reflectwalk v1.0.2 // indirect
135-
github.com/moby/locker v1.0.1 // indirect
136134
github.com/moby/patternmatcher v0.6.0 // indirect
137135
github.com/moby/spdystream v0.2.0 // indirect
138136
github.com/moby/sys/signal v0.7.0 // indirect
@@ -148,14 +146,14 @@ require (
148146
github.com/pjbgf/sha1cd v0.3.0 // indirect
149147
github.com/pkg/errors v0.9.1 // indirect
150148
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
149+
github.com/sagikazarmark/locafero v0.3.0 // indirect
150+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
151151
github.com/secure-systems-lab/go-securesystemslib v0.7.0 // indirect
152152
github.com/sergi/go-diff v1.3.1 // indirect
153-
github.com/shibumi/go-pathspec v1.3.0 // indirect
154153
github.com/shopspring/decimal v1.3.1 // indirect
155154
github.com/skeema/knownhosts v1.2.0 // indirect
156-
github.com/spf13/afero v1.9.5 // indirect
155+
github.com/spf13/afero v1.10.0 // indirect
157156
github.com/spf13/cast v1.5.1 // indirect
158-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
159157
github.com/subosito/gotenv v1.6.0 // indirect
160158
github.com/tonistiigi/fsutil v0.0.0-20230629203738-36ef4d8c0dbb // indirect
161159
github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea // indirect
@@ -171,26 +169,26 @@ require (
171169
github.com/xdg-go/scram v1.1.2 // indirect
172170
github.com/xdg-go/stringprep v1.0.4 // indirect
173171
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
174-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.43.0 // indirect
175-
go.opentelemetry.io/otel v1.17.0 // indirect
176-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.17.0 // indirect
177-
go.opentelemetry.io/otel/metric v1.17.0 // indirect
178-
go.opentelemetry.io/otel/sdk v1.17.0 // indirect
179-
go.opentelemetry.io/otel/trace v1.17.0 // indirect
172+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.45.0 // indirect
173+
go.opentelemetry.io/otel v1.19.0 // indirect
174+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 // indirect
175+
go.opentelemetry.io/otel/metric v1.19.0 // indirect
176+
go.opentelemetry.io/otel/sdk v1.19.0 // indirect
177+
go.opentelemetry.io/otel/trace v1.19.0 // indirect
180178
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
181179
go.uber.org/multierr v1.11.0 // indirect
182-
golang.org/x/mod v0.12.0 // indirect
183-
golang.org/x/oauth2 v0.12.0 // indirect
184-
golang.org/x/sys v0.12.0 // indirect
185-
golang.org/x/term v0.12.0 // indirect
180+
golang.org/x/mod v0.13.0 // indirect
181+
golang.org/x/oauth2 v0.13.0 // indirect
182+
golang.org/x/sys v0.13.0 // indirect
183+
golang.org/x/term v0.13.0 // indirect
186184
golang.org/x/text v0.13.0 // indirect
187185
golang.org/x/time v0.3.0 // indirect
188-
golang.org/x/tools v0.13.0 // indirect
186+
golang.org/x/tools v0.14.0 // indirect
189187
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
190188
google.golang.org/appengine v1.6.7 // indirect
191-
google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d // indirect
192-
google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d // indirect
193-
google.golang.org/genproto/googleapis/rpc v0.0.0-20230911183012-2d3300fd4832 // indirect
189+
google.golang.org/genproto v0.0.0-20230913181813-007df8e322eb // indirect
190+
google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb // indirect
191+
google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect
194192
gopkg.in/inf.v0 v0.9.1 // indirect
195193
gopkg.in/ini.v1 v1.67.0 // indirect
196194
gopkg.in/warnings.v0 v0.1.2 // indirect

0 commit comments

Comments
 (0)