Skip to content

Commit cfd99d4

Browse files
committed
bump to 1.26
1 parent 3703ae8 commit cfd99d4

4 files changed

Lines changed: 78 additions & 23 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.25 AS build
1+
FROM --platform=$BUILDPLATFORM golang:1.26 AS build
22
ARG COMMIT_SHA
33
ARG VERSION
44
ARG TARGETPLATFORM

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ LDFLAGS=(
2828
"-X 'main.BuildTimestamp=${BUILD_TIMESTAMP}'"
2929
)
3030
if [ "$BUILD_TYPE" != "test" ]; then
31-
GOEXPERIMENT=greenteagc CGO_ENABLED=1 go build -trimpath -ldflags="-w -s ${LDFLAGS[*]}" -tags="gc_opt poll_opt re2_cgo" -o output/bin/${RUN_NAME}
31+
CGO_ENABLED=1 go build -trimpath -ldflags="-w -s ${LDFLAGS[*]}" -tags="gc_opt poll_opt re2_cgo" -o output/bin/${RUN_NAME}
3232
else
3333
go build -trimpath -gcflags="all=-N -l ${LDFLAGS[*]}" -o output/bin/${RUN_NAME}
3434
fi

go.mod

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,58 @@
11
module github.com/PBH-BTN/trunker
22

3-
go 1.24.9
3+
go 1.26
44

55
require (
66
github.com/DataDog/zstd v1.5.7
77
github.com/apache/rocketmq-client-go/v2 v2.1.2
88
github.com/bits-and-blooms/bloom/v3 v3.7.1
99
github.com/bytedance/gg v1.1.0
1010
github.com/bytedance/gopkg v0.1.3
11-
github.com/bytedance/sonic v1.14.2
11+
github.com/bytedance/sonic v1.15.0
1212
github.com/cilium/ebpf v0.20.0
1313
github.com/cilium/fake v0.7.0
1414
github.com/cloudwego/frugal v0.3.1
15-
github.com/cloudwego/gopkg v0.1.8
16-
github.com/cloudwego/hertz v0.10.3
17-
github.com/cloudwego/kitex v0.15.4
15+
github.com/cloudwego/gopkg v0.1.10
16+
github.com/cloudwego/hertz v0.10.4
17+
github.com/cloudwego/kitex v0.16.1
1818
github.com/cloudwego/netpoll v0.7.2
1919
github.com/cristalhq/bencode v0.4.0
2020
github.com/gofrs/flock v0.13.0
2121
github.com/hertz-contrib/limiter v0.0.0-20221008063035-ad27db7cc386
2222
github.com/hertz-contrib/monitor-prometheus v0.1.3
2323
github.com/hertz-contrib/websocket v0.2.0
2424
github.com/hitoshi44/go-uid64 v0.2.0
25+
github.com/lesismal/nbio v1.6.8
2526
github.com/lestrrat-go/choose v0.0.0-20220106133416-f26c14db9cd7
2627
github.com/libp2p/go-buffer-pool v0.1.0
2728
github.com/panjf2000/gnet/v2 v2.9.7
2829
github.com/prometheus/client_golang v1.23.2
29-
github.com/redis/go-redis/v9 v9.17.2
30+
github.com/redis/go-redis/v9 v9.18.0
3031
github.com/shamaton/msgpack/v2 v2.4.0
3132
github.com/stretchr/testify v1.11.1
3233
github.com/thinkeridea/go-extend v1.3.2
3334
github.com/wasilibs/go-re2 v1.10.0
3435
github.com/xxjwxc/gowp v0.0.0-20240929033016-5be68d222389
3536
github.com/zhangyunhao116/fastrand v0.5.0
36-
golang.org/x/exp v0.0.0-20251219203646-944ab1f22d93
37-
golang.org/x/text v0.33.0
37+
golang.org/x/exp v0.0.0-20260218203240-3dfff04db8fa
38+
golang.org/x/text v0.34.0
3839
gopkg.in/yaml.v3 v3.0.1
3940
gorm.io/datatypes v1.2.7
4041
gorm.io/driver/mysql v1.6.0
4142
gorm.io/gorm v1.31.1
4243
)
4344

4445
require (
45-
filippo.io/edwards25519 v1.1.0 // indirect
46+
filippo.io/edwards25519 v1.2.0 // indirect
4647
github.com/beorn7/perks v1.0.1 // indirect
4748
github.com/bits-and-blooms/bitset v1.24.4 // indirect
4849
github.com/bufbuild/protocompile v0.14.1 // indirect
49-
github.com/bytedance/sonic/loader v0.4.0 // indirect
50+
github.com/bytedance/sonic/loader v0.5.0 // indirect
5051
github.com/c9s/goprocinfo v0.0.0-20210130143923-c95fcf8c64a8 // indirect
5152
github.com/cespare/xxhash/v2 v2.3.0 // indirect
5253
github.com/cloudwego/base64x v0.1.6 // indirect
5354
github.com/cloudwego/configmanager v0.2.3 // indirect
54-
github.com/cloudwego/dynamicgo v0.7.2 // indirect
55+
github.com/cloudwego/dynamicgo v0.8.0 // indirect
5556
github.com/cloudwego/fastpb v0.0.6 // indirect
5657
github.com/cloudwego/localsession v0.2.1 // indirect
5758
github.com/cloudwego/runtimex v0.1.1 // indirect
@@ -64,26 +65,28 @@ require (
6465
github.com/go-sql-driver/mysql v1.9.3 // indirect
6566
github.com/golang/mock v1.6.0 // indirect
6667
github.com/golang/protobuf v1.5.4 // indirect
67-
github.com/google/pprof v0.0.0-20260106004452-d7df1bf2cac7 // indirect
68+
github.com/google/pprof v0.0.0-20260202012954-cb029daf43ef // indirect
6869
github.com/google/uuid v1.6.0 // indirect
6970
github.com/iancoleman/strcase v0.3.0 // indirect
70-
github.com/jhump/protoreflect v1.17.0 // indirect
71+
github.com/jhump/protoreflect v1.18.0 // indirect
72+
github.com/jhump/protoreflect/v2 v2.0.0-beta.2 // indirect
7173
github.com/jinzhu/inflection v1.0.0 // indirect
7274
github.com/jinzhu/now v1.1.5 // indirect
7375
github.com/json-iterator/go v1.1.12 // indirect
7476
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
7577
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
7678
github.com/modern-go/reflect2 v1.0.2 // indirect
7779
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
78-
github.com/nyaruka/phonenumbers v1.6.8 // indirect
79-
github.com/panjf2000/ants/v2 v2.11.4 // indirect
80+
github.com/nyaruka/phonenumbers v1.6.10 // indirect
81+
github.com/panjf2000/ants/v2 v2.11.5 // indirect
8082
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
83+
github.com/petermattis/goid v0.0.0-20260113132338-7c7de50cc741 // indirect
8184
github.com/pkg/errors v0.9.1 // indirect
8285
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
8386
github.com/prometheus/client_model v0.6.2 // indirect
8487
github.com/prometheus/common v0.67.5 // indirect
85-
github.com/prometheus/procfs v0.19.2 // indirect
86-
github.com/sirupsen/logrus v1.9.3 // indirect
88+
github.com/prometheus/procfs v0.20.0 // indirect
89+
github.com/sirupsen/logrus v1.9.4 // indirect
8790
github.com/tetratelabs/wazero v1.11.0 // indirect
8891
github.com/tidwall/gjson v1.18.0 // indirect
8992
github.com/tidwall/match v1.2.0 // indirect
@@ -96,11 +99,11 @@ require (
9699
go.uber.org/multierr v1.11.0 // indirect
97100
go.uber.org/zap v1.27.1 // indirect
98101
go.yaml.in/yaml/v2 v2.4.3 // indirect
99-
golang.org/x/arch v0.23.0 // indirect
100-
golang.org/x/net v0.48.0 // indirect
102+
golang.org/x/arch v0.24.0 // indirect
103+
golang.org/x/net v0.50.0 // indirect
101104
golang.org/x/sync v0.19.0 // indirect
102-
golang.org/x/sys v0.40.0 // indirect
103-
google.golang.org/genproto/googleapis/rpc v0.0.0-20251222181119-0a764e51fe1b // indirect
105+
golang.org/x/sys v0.41.0 // indirect
106+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260226221140-a57be14db171 // indirect
104107
google.golang.org/grpc v1.74.2 // indirect
105108
google.golang.org/protobuf v1.36.11 // indirect
106109
gopkg.in/eapache/queue.v1 v1.1.0 // indirect

0 commit comments

Comments
 (0)