Skip to content

Commit 638c28d

Browse files
committed
chore: update Go version to 1.23 and refresh dependencies
- Remove support for Go 1.22 in GitHub Actions workflow - Update Go version in `go.mod` to 1.23.0 - Update dependencies in `go.mod` to newer versions Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
1 parent 24b7d1e commit 638c28d

3 files changed

Lines changed: 73 additions & 74 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.22, 1.23, 1.24]
16+
go: [1.23, 1.24]
1717
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
1818
runs-on: ${{ matrix.os }}
1919

go.mod

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

3-
go 1.22
3+
go 1.23.0
44

55
require (
66
github.com/antonlindstrom/pgstore v0.0.0-20220421113606-e3a6e3fed12a
7-
github.com/boj/redistore v1.4.0
8-
github.com/bradfitz/gomemcache v0.0.0-20230905024940-24af94b03874
9-
github.com/bradleypeabody/gorilla-sessions-memcache v0.0.0-20181103040241-659414f458e1
7+
github.com/boj/redistore v1.4.1
8+
github.com/bradfitz/gomemcache v0.0.0-20250403215159-8d39553ac7cf
9+
github.com/bradleypeabody/gorilla-sessions-memcache v0.0.0-20240916143655-c0e34fd2f304
1010
github.com/gin-gonic/gin v1.10.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
14-
github.com/gorilla/sessions v1.3.0
14+
github.com/gorilla/sessions v1.4.0
1515
github.com/kidstuff/mongostore v0.0.0-20181113001930-e650cd85ee4b
1616
github.com/laziness-coders/mongostore v0.0.14
1717
github.com/memcachier/mc v2.0.1+incompatible
@@ -23,43 +23,43 @@ require (
2323
)
2424

2525
require (
26-
github.com/bytedance/sonic v1.11.6 // indirect
27-
github.com/bytedance/sonic/loader v0.1.1 // indirect
28-
github.com/cloudwego/base64x v0.1.4 // indirect
29-
github.com/cloudwego/iasm v0.2.0 // indirect
30-
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
31-
github.com/gin-contrib/sse v0.1.0 // indirect
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
3231
github.com/go-playground/locales v0.14.1 // indirect
3332
github.com/go-playground/universal-translator v0.18.1 // indirect
34-
github.com/go-playground/validator/v10 v10.20.0 // indirect
35-
github.com/goccy/go-json v0.10.2 // indirect
36-
github.com/golang/snappy v0.0.4 // indirect
33+
github.com/go-playground/validator/v10 v10.26.0 // indirect
34+
github.com/goccy/go-json v0.10.5 // indirect
35+
github.com/golang/snappy v1.0.0 // indirect
3736
github.com/gorilla/securecookie v1.1.2 // indirect
3837
github.com/jinzhu/inflection v1.0.0 // indirect
3938
github.com/jinzhu/now v1.1.5 // indirect
4039
github.com/json-iterator/go v1.1.12 // indirect
41-
github.com/klauspost/compress v1.17.7 // indirect
42-
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
40+
github.com/klauspost/compress v1.18.0 // indirect
41+
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
4342
github.com/leodido/go-urn v1.4.0 // indirect
4443
github.com/lib/pq v1.10.9 // indirect
4544
github.com/mattn/go-isatty v0.0.20 // indirect
4645
github.com/mattn/go-sqlite3 v1.14.22 // indirect
46+
github.com/memcachier/mc/v3 v3.0.3 // indirect
4747
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4848
github.com/modern-go/reflect2 v1.0.2 // indirect
4949
github.com/montanaflynn/stats v0.7.1 // indirect
50-
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
50+
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
5151
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
5252
github.com/ugorji/go/codec v1.2.12 // indirect
5353
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
5454
github.com/xdg-go/scram v1.1.2 // indirect
5555
github.com/xdg-go/stringprep v1.0.4 // indirect
5656
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
57-
golang.org/x/arch v0.8.0 // indirect
58-
golang.org/x/crypto v0.31.0 // indirect
59-
golang.org/x/net v0.33.0 // indirect
60-
golang.org/x/sync v0.10.0 // indirect
61-
golang.org/x/sys v0.28.0 // indirect
62-
golang.org/x/text v0.21.0 // indirect
63-
google.golang.org/protobuf v1.34.1 // indirect
57+
golang.org/x/arch v0.16.0 // indirect
58+
golang.org/x/crypto v0.37.0 // indirect
59+
golang.org/x/net v0.38.0 // indirect
60+
golang.org/x/sync v0.13.0 // indirect
61+
golang.org/x/sys v0.32.0 // indirect
62+
golang.org/x/text v0.24.0 // indirect
63+
google.golang.org/protobuf v1.36.6 // indirect
6464
gopkg.in/yaml.v3 v3.0.1 // indirect
6565
)

0 commit comments

Comments
 (0)