Skip to content

Commit

Permalink
Update dependencies where possible and move to go1.23 (#531)
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Schade <[email protected]>
  • Loading branch information
tjons authored Aug 21, 2024
1 parent b3d565e commit 78c5bd3
Show file tree
Hide file tree
Showing 3 changed files with 237 additions and 136 deletions.
72 changes: 72 additions & 0 deletions changelog/v0.26.0/upgrade-golang.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
changelog:
- type: BREAKING_CHANGE
issueLink: https://github.com/solo-io/gloo/issues/9819
description: >
Upgrade project dependencies across the board. May present issues for users due to our requirements, so marked as breaking.
resolvesIssue: false
- type: DEPENDENCY_BUMP
description: Bumped the go version for go.mod
dependencyOwner: golang
dependencyRepo: go
dependencyTag: v1.23.0
- type: NON_USER_FACING
description: >
Bump dependencies to support Kubernetes 1.31
issueLink: https://github.com/solo-io/gloo/issues/9683
resolvesIssue: false
- type: DEPENDENCY_BUMP
dependencyOwner: onsi
dependencyRepo: ginkgo/v2
dependencyTag: v2.19.0
- type: DEPENDENCY_BUMP
dependencyOwner: onsi
dependencyRepo: gomega
dependencyTag: v1.33.1
- type: DEPENDENCY_BUMP
dependencyOwner: google
dependencyRepo: pubsub
dependencyTag: v1.33.0
- type: DEPENDENCY_BUMP
dependencyOwner: google
dependencyRepo: storage
dependencyTag: v1.30.1
- type: DEPENDENCY_BUMP
dependencyOwner: golang
dependencyRepo: protobuf
dependencyTag: v1.5.4
- type: DEPENDENCY_BUMP
dependencyOwner: spf13
dependencyRepo: cobra
dependencyTag: v1.8.1
- type: DEPENDENCY_BUMP
dependencyOwner: uber
dependencyRepo: zap
dependencyTag: v1.26.0
- type: DEPENDENCY_BUMP
dependencyOwner: golang
dependencyRepo: x/mod
dependencyTag: v0.20.0
- type: DEPENDENCY_BUMP
dependencyOwner: golang
dependencyRepo: x/oauth2
dependencyTag: v0.21.0
- type: DEPENDENCY_BUMP
dependencyOwner: golang
dependencyRepo: x/sync
dependencyTag: v0.8.0
- type: DEPENDENCY_BUMP
dependencyOwner: golang
dependencyRepo: x/tools
dependencyTag: v0.22.0
- type: DEPENDENCY_BUMP
dependencyOwner: google
dependencyRepo: api
dependencyTag: v0.126.0
- type: DEPENDENCY_BUMP
dependencyOwner: google
dependencyRepo: grpc
dependencyTag: v1.65.0
- type: DEPENDENCY_BUMP
dependencyOwner: google
dependencyRepo: protobuf
dependencyTag: v1.34.2
85 changes: 42 additions & 43 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/solo-io/go-utils

go 1.19
go 1.23.0

require (
cloud.google.com/go/pubsub v1.30.0
cloud.google.com/go/storage v1.28.1
cloud.google.com/go/pubsub v1.33.0
cloud.google.com/go/storage v1.30.1
contrib.go.opencensus.io/exporter/prometheus v0.1.0
github.com/Masterminds/semver/v3 v3.1.1
github.com/Netflix/go-expect v0.0.0-20180928190340-9d1f4485533b
Expand All @@ -15,7 +15,7 @@ require (
github.com/go-git/go-git/v5 v5.4.1
github.com/gogo/protobuf v1.3.2
github.com/golang/mock v1.6.0
github.com/golang/protobuf v1.5.3
github.com/golang/protobuf v1.5.4
github.com/google/go-github/v32 v32.0.0
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
github.com/hashicorp/go-multierror v1.0.0
Expand All @@ -25,8 +25,8 @@ require (
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/hashstructure v1.0.0
github.com/mitchellh/mapstructure v1.5.0
github.com/onsi/ginkgo/v2 v2.11.0
github.com/onsi/gomega v1.27.10
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
github.com/palantir/go-baseapp v0.2.3
github.com/palantir/go-githubapp v0.5.0
github.com/pelletier/go-toml v1.9.3
Expand All @@ -35,53 +35,53 @@ require (
github.com/rs/zerolog v1.18.0
github.com/sirupsen/logrus v1.9.3
github.com/spf13/afero v1.6.0
github.com/spf13/cobra v1.7.0
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
github.com/yuin/goldmark v1.4.13
go.opencensus.io v0.24.0
go.uber.org/zap v1.25.0
go.uber.org/zap v1.26.0
goji.io v2.0.2+incompatible
golang.org/x/mod v0.10.0
golang.org/x/oauth2 v0.8.0
golang.org/x/sync v0.2.0
golang.org/x/tools v0.9.3
google.golang.org/api v0.114.0
google.golang.org/grpc v1.54.0
google.golang.org/protobuf v1.30.0
golang.org/x/mod v0.20.0
golang.org/x/oauth2 v0.21.0
golang.org/x/sync v0.8.0
golang.org/x/tools v0.22.0
google.golang.org/api v0.126.0
google.golang.org/grpc v1.65.0
google.golang.org/protobuf v1.34.2
gopkg.in/AlecAivazis/survey.v1 v1.8.2
gopkg.in/src-d/go-git.v4 v4.10.0
gopkg.in/yaml.v2 v2.4.0
)

require (
cloud.google.com/go v0.110.0 // indirect
cloud.google.com/go/compute v1.19.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v0.13.0 // indirect
github.com/Microsoft/go-winio v0.5.1 // indirect
cloud.google.com/go v0.110.7 // indirect
cloud.google.com/go/compute/metadata v0.3.0 // indirect
cloud.google.com/go/iam v1.1.1 // indirect
github.com/Microsoft/go-winio v0.6.0 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 // indirect
github.com/acomagu/bufpipe v1.0.3 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bluekeyes/hatpear v0.1.1 // indirect
github.com/bradleyfalzon/ghinstallation v1.1.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/emirpasic/gods v1.12.0 // indirect
github.com/form3tech-oss/jwt-go v3.2.3+incompatible // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-git/gcfg v1.5.0 // indirect
github.com/go-git/go-billy/v5 v5.3.1 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/go-github/v29 v29.0.3 // indirect
github.com/google/go-querystring v1.0.0 // indirect
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/pprof v0.0.0-20240525223248-4bfdf5a9a2af // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
github.com/googleapis/gax-go/v2 v2.7.1 // indirect
github.com/googleapis/gax-go/v2 v2.11.0 // indirect
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
Expand All @@ -94,13 +94,13 @@ require (
github.com/kr/pty v1.1.5 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.14 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/onsi/ginkgo v1.16.5 // indirect
github.com/prometheus/client_golang v1.16.0 // indirect
github.com/prometheus/client_model v0.4.0 // indirect
github.com/prometheus/common v0.44.0 // indirect
github.com/prometheus/procfs v0.10.1 // indirect
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.55.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/rs/xid v1.2.1 // indirect
Expand All @@ -109,20 +109,19 @@ require (
github.com/shurcooL/githubv4 v0.0.0-20191127044304-8f68eb5628d0 // indirect
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f // indirect
github.com/src-d/gcfg v1.4.0 // indirect
github.com/stretchr/testify v1.8.2 // indirect
github.com/xanzy/ssh-agent v0.3.0 // indirect
github.com/zenazn/goji v0.9.1-0.20160507202103-64eb34159fe5 // indirect
go.uber.org/goleak v1.2.1 // indirect
go.uber.org/goleak v1.3.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/crypto v0.26.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/sys v0.24.0 // indirect
golang.org/x/text v0.17.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect
google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect
gopkg.in/src-d/go-billy.v4 v4.2.1 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
Loading

0 comments on commit 78c5bd3

Please sign in to comment.