Skip to content

Commit 3181018

Browse files
appleboyclaude
andcommitted
chore(deps): upgrade gin to v1.12.0 and update CI Go versions
Upgrade github.com/gin-gonic/gin from v1.11.0 to v1.12.0 and update GitHub Actions test matrix to only support Go 1.25 and 1.26. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 77e1bcb commit 3181018

3 files changed

Lines changed: 85 additions & 69 deletions

File tree

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest]
16-
go: [1.24, 1.25, 1.26]
16+
go: [1.25, 1.26]
1717
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
1818
runs-on: ${{ matrix.os }}
1919

go.mod

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
module github.com/gin-contrib/sessions
22

3-
go 1.24.0
3+
go 1.25.0
44

55
require (
66
github.com/antonlindstrom/pgstore v0.0.0-20220421113606-e3a6e3fed12a
77
github.com/boj/redistore v1.4.1
88
github.com/bradfitz/gomemcache v0.0.0-20250403215159-8d39553ac7cf
99
github.com/bradleypeabody/gorilla-sessions-memcache v0.0.0-20240916143655-c0e34fd2f304
10-
github.com/gin-gonic/gin v1.10.1
10+
github.com/gin-gonic/gin v1.12.0
1111
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
1212
github.com/gomodule/redigo v1.9.2
1313
github.com/gorilla/context v1.1.2
@@ -23,22 +23,24 @@ require (
2323
)
2424

2525
require (
26-
github.com/bytedance/sonic v1.13.2 // indirect
27-
github.com/bytedance/sonic/loader v0.2.4 // indirect
28-
github.com/cloudwego/base64x v0.1.5 // indirect
29-
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
30-
github.com/gin-contrib/sse v1.0.0 // indirect
26+
github.com/bytedance/gopkg v0.1.3 // indirect
27+
github.com/bytedance/sonic v1.15.0 // indirect
28+
github.com/bytedance/sonic/loader v0.5.0 // indirect
29+
github.com/cloudwego/base64x v0.1.6 // indirect
30+
github.com/gabriel-vasile/mimetype v1.4.12 // indirect
31+
github.com/gin-contrib/sse v1.1.0 // indirect
3132
github.com/go-playground/locales v0.14.1 // indirect
3233
github.com/go-playground/universal-translator v0.18.1 // indirect
33-
github.com/go-playground/validator/v10 v10.26.0 // indirect
34+
github.com/go-playground/validator/v10 v10.30.1 // indirect
3435
github.com/goccy/go-json v0.10.5 // indirect
36+
github.com/goccy/go-yaml v1.19.2 // indirect
3537
github.com/golang/snappy v1.0.0 // indirect
3638
github.com/gorilla/securecookie v1.1.2 // indirect
3739
github.com/jinzhu/inflection v1.0.0 // indirect
3840
github.com/jinzhu/now v1.1.5 // indirect
3941
github.com/json-iterator/go v1.1.12 // indirect
4042
github.com/klauspost/compress v1.18.0 // indirect
41-
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
43+
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
4244
github.com/leodido/go-urn v1.4.0 // indirect
4345
github.com/lib/pq v1.10.9 // indirect
4446
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -47,19 +49,21 @@ require (
4749
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4850
github.com/modern-go/reflect2 v1.0.2 // indirect
4951
github.com/montanaflynn/stats v0.7.1 // indirect
50-
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
52+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
53+
github.com/quic-go/qpack v0.6.0 // indirect
54+
github.com/quic-go/quic-go v0.59.0 // indirect
5155
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
52-
github.com/ugorji/go/codec v1.2.12 // indirect
56+
github.com/ugorji/go/codec v1.3.1 // indirect
5357
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
54-
github.com/xdg-go/scram v1.1.2 // indirect
58+
github.com/xdg-go/scram v1.2.0 // indirect
5559
github.com/xdg-go/stringprep v1.0.4 // indirect
5660
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
57-
golang.org/x/arch v0.16.0 // indirect
58-
golang.org/x/crypto v0.45.0 // indirect
59-
golang.org/x/net v0.47.0 // indirect
60-
golang.org/x/sync v0.18.0 // indirect
61-
golang.org/x/sys v0.38.0 // indirect
62-
golang.org/x/text v0.31.0 // indirect
63-
google.golang.org/protobuf v1.36.6 // indirect
64-
gopkg.in/yaml.v3 v3.0.1 // indirect
61+
go.mongodb.org/mongo-driver/v2 v2.5.0 // indirect
62+
golang.org/x/arch v0.22.0 // indirect
63+
golang.org/x/crypto v0.48.0 // indirect
64+
golang.org/x/net v0.51.0 // indirect
65+
golang.org/x/sync v0.19.0 // indirect
66+
golang.org/x/sys v0.41.0 // indirect
67+
golang.org/x/text v0.34.0 // indirect
68+
google.golang.org/protobuf v1.36.10 // indirect
6569
)

0 commit comments

Comments
 (0)