Skip to content

Commit

Permalink
Merging to release-5.3.9: [TT-13741] [release-5.3] exp/modcheck: Upda…
Browse files Browse the repository at this point in the history
…te go.mod dependencies (#6795)

[TT-13741] [release-5.3] exp/modcheck: Update go.mod dependencies (#6795)

### **User description**
Triggered by: titpetric
JIRA: https://tyktech.atlassian.net/browse/TT-13741

| IMPORT | VERSION | LATEST | WARNINGS | CVES |
|:---|:---|:---|:---|:---|
| getkin/kin-openapi | v0.115.0 | v0.128.0 | Held back from upgrade | |
| golang-jwt/jwt/v4 | v4.5.0 | v4.5.1 | | 0 of 1 |
| hashicorp/consul/api | v1.29.4 | v1.30.0 | | |
| pires/go-proxyproto | v0.7.0 | v0.8.0 | | 0 of 1 |
| robertkrimen/otto | v0.4.0 | v0.5.1 | | |
| stretchr/testify | v1.9.0 | v1.10.0 | | |
| valyala/fasthttp | v1.55.0 | v1.58.0 | | 0 of 1 |
| golang.org/x/crypto | v0.27.0 | v0.31.0 | | 0 of 11 |
| golang.org/x/net | v0.29.0 | v0.33.0 | | 0 of 17 |
| golang.org/x/sync | v0.8.0 | v0.10.0 | | |
| google.golang.org/grpc | v1.66.2 | v1.69.2 | | 0 of 2 |
| google.golang.org/protobuf | v1.34.2 | v1.36.0 | | 0 of 2 |
| redis/go-redis/v9 | v9.6.1 | v9.7.0 | | |
| newrelic/go-agent | v2.13.0 +incompatible | v3.35.1+incompatible |
Held back from upgrade | |
| go.opentelemetry.io/otel | v1.32.0 | v1.33.0 | Held back from upgrade
| |
| go.opentelemetry.io/otel/trace | v1.32.0 | v1.33.0 | Held back from
upgrade | |
| go.uber.org/mock | v0.4.0 | v0.5.0 | | |

<details>
  <summary>Steps performed</summary>

  ~~~
  + go get github.com/golang-jwt/jwt/[email protected]
go: upgraded github.com/golang-jwt/jwt/v4 v4.5.0 => v4.5.1
+ go get github.com/hashicorp/consul/[email protected]
go: upgraded github.com/hashicorp/consul/api v1.29.4 => v1.30.0
+ go get github.com/pires/[email protected]
go: upgraded github.com/pires/go-proxyproto v0.7.0 => v0.8.0
+ go get github.com/robertkrimen/[email protected]
go: upgraded github.com/robertkrimen/otto v0.4.0 => v0.5.1
+ go get github.com/stretchr/[email protected]
go: upgraded github.com/stretchr/testify v1.9.0 => v1.10.0
+ go get github.com/valyala/[email protected]
go: upgraded github.com/andybalholm/brotli v1.1.0 => v1.1.1
go: upgraded github.com/klauspost/compress v1.17.9 => v1.17.11
go: upgraded github.com/valyala/fasthttp v1.55.0 => v1.58.0
go: upgraded golang.org/x/crypto v0.27.0 => v0.29.0
go: upgraded golang.org/x/net v0.29.0 => v0.31.0
go: upgraded golang.org/x/sync v0.8.0 => v0.9.0
go: upgraded golang.org/x/text v0.18.0 => v0.20.0
+ go get golang.org/x/[email protected]
go: upgraded golang.org/x/crypto v0.29.0 => v0.31.0
go: upgraded golang.org/x/sync v0.9.0 => v0.10.0
go: upgraded golang.org/x/sys v0.27.0 => v0.28.0
go: upgraded golang.org/x/text v0.20.0 => v0.21.0
+ go get golang.org/x/[email protected]
go: upgraded golang.org/x/net v0.31.0 => v0.33.0
+ go get golang.org/x/[email protected]
+ go get google.golang.org/[email protected]
go: downloading google.golang.org/genproto/googleapis/rpc
v0.0.0-20241015192408-796eee8c2d53
go: downloading google.golang.org/genproto/googleapis/api
v0.0.0-20241015192408-796eee8c2d53
go: upgraded google.golang.org/genproto/googleapis/api
v0.0.0-20240604185151-ef581f913117 => v0.0.0-20241015192408-796eee8c2d53
go: upgraded google.golang.org/genproto/googleapis/rpc
v0.0.0-20240604185151-ef581f913117 => v0.0.0-20241015192408-796eee8c2d53
go: upgraded google.golang.org/grpc v1.66.2 => v1.69.2
go: upgraded google.golang.org/protobuf v1.34.2 => v1.35.1
+ go get google.golang.org/[email protected]
go: upgraded google.golang.org/protobuf v1.35.1 => v1.36.0
+ go get github.com/redis/go-redis/[email protected]
go: upgraded github.com/redis/go-redis/v9 v9.6.1 => v9.7.0
+ go get go.uber.org/[email protected]
go: upgraded go.uber.org/mock v0.4.0 => v0.5.0
  ~~~
</details>

<details>
  <summary>go mod tidy output</summary>

  ```
  
  ```
</details>


___

### **PR Type**
dependencies


___

### **Description**
- Updated several dependencies in `go.mod` to their latest versions,
including `github.com/golang-jwt/jwt/v4`,
`github.com/hashicorp/consul/api`, `github.com/pires/go-proxyproto`,
`github.com/robertkrimen/otto`, `github.com/stretchr/testify`,
`github.com/valyala/fasthttp`, `golang.org/x/crypto`,
`golang.org/x/net`, `golang.org/x/sync`, `google.golang.org/grpc`, and
`google.golang.org/protobuf`.
- Addressed potential CVEs and improved security by upgrading vulnerable
dependencies.
- Updated `go.sum` to reflect the changes in `go.mod`, ensuring
integrity and consistency of the dependency graph.
- Enhanced compatibility and performance by using the latest versions of
libraries.



___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Dependencies</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>go.mod</strong><dd><code>Update Go module dependencies
to latest versions</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

go.mod

<li>Updated multiple dependencies to their latest versions.<br> <li>
Improved security by addressing potential CVEs in dependencies.<br> <li>
Enhanced compatibility and performance with updated libraries.<br>


</details>


  </td>
<td><a
href="https://github.com/TykTechnologies/tyk/pull/6795/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6">+19/-19</a>&nbsp;
</td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>go.sum</strong><dd><code>Update dependency checksums in
go.sum</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; </dd></summary>
<hr>

go.sum

<li>Updated checksums for the newly updated dependencies.<br> <li>
Ensured consistency and integrity of dependency versions.<br>


</details>


  </td>
<td><a
href="https://github.com/TykTechnologies/tyk/pull/6795/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63">+42/-40</a>&nbsp;
</td>

</tr>
</table></td></tr></tr></tbody></table>

___

> 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull
request to receive relevant information

Co-authored-by: titpetric <[email protected]>
  • Loading branch information
buger and titpetric authored Dec 20, 2024
1 parent 023aa16 commit 77f821f
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 59 deletions.
38 changes: 19 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ require (
github.com/go-jose/go-jose/v3 v3.0.3
github.com/gocraft/health v0.0.0-20170925182251-8675af27fef0
github.com/gofrs/uuid v4.4.0+incompatible
github.com/golang-jwt/jwt/v4 v4.5.0
github.com/golang-jwt/jwt/v4 v4.5.1
github.com/golang/protobuf v1.5.4
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/mux v1.8.1
github.com/gorilla/websocket v1.5.3
github.com/hashicorp/consul/api v1.29.4
github.com/hashicorp/consul/api v1.30.0
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/go-version v1.7.0
github.com/hashicorp/vault/api v1.15.0
Expand All @@ -53,23 +53,23 @@ require (
github.com/openzipkin/zipkin-go v0.4.3
github.com/oschwald/maxminddb-golang v1.13.1
github.com/paulbellamy/ratecounter v0.2.0
github.com/pires/go-proxyproto v0.7.0
github.com/pires/go-proxyproto v0.8.0
github.com/pmylund/go-cache v2.1.0+incompatible
github.com/robertkrimen/otto v0.4.0
github.com/robertkrimen/otto v0.5.1
github.com/rs/cors v1.11.1
github.com/sirupsen/logrus v1.9.3
github.com/spf13/afero v1.11.0
github.com/stretchr/testify v1.9.0 // test
github.com/stretchr/testify v1.10.0 // test
github.com/uber/jaeger-client-go v2.30.1-0.20220110192849-8d8e8fcfd04d+incompatible
github.com/valyala/fasthttp v1.55.0 // test
github.com/valyala/fasthttp v1.58.0 // test
github.com/vmihailenco/msgpack v4.0.4+incompatible
github.com/xeipuuv/gojsonschema v1.2.0
golang.org/x/crypto v0.27.0
golang.org/x/net v0.29.0
golang.org/x/sync v0.8.0
google.golang.org/grpc v1.66.2
golang.org/x/crypto v0.31.0
golang.org/x/net v0.33.0
golang.org/x/sync v0.10.0
google.golang.org/grpc v1.69.2
google.golang.org/grpc/examples v0.0.0-20220317213542-f95b001a48df // test
google.golang.org/protobuf v1.34.2
google.golang.org/protobuf v1.36.0
gopkg.in/vmihailenco/msgpack.v2 v2.9.2
gopkg.in/xmlpath.v2 v2.0.0-20150820204837-860cbeca3ebc
gopkg.in/yaml.v3 v3.0.1
Expand All @@ -78,7 +78,7 @@ require (
require (
github.com/TykTechnologies/exp/pkg/limiters v0.0.0-20231219151617-0c4f9315fe5c
github.com/go-redsync/redsync/v4 v4.13.0
github.com/redis/go-redis/v9 v9.6.1
github.com/redis/go-redis/v9 v9.7.0
)

require (
Expand All @@ -92,7 +92,7 @@ require (
github.com/newrelic/go-agent v2.13.0+incompatible
go.opentelemetry.io/otel v1.32.0
go.opentelemetry.io/otel/trace v1.32.0
go.uber.org/mock v0.4.0
go.uber.org/mock v0.5.0
)

require (
Expand All @@ -105,7 +105,7 @@ require (
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/andybalholm/brotli v1.1.1 // indirect
github.com/armon/go-metrics v0.4.1 // indirect
github.com/asyncapi/converter-go v0.3.0 // indirect
github.com/asyncapi/parser-go v0.4.2 // indirect
Expand Down Expand Up @@ -167,7 +167,7 @@ require (
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.2 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/klauspost/compress v1.17.11 // indirect
github.com/lonelycode/go-uuid v0.0.0-20141202165402-ed3ca8a15a93 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
Expand Down Expand Up @@ -214,13 +214,13 @@ require (
go.uber.org/zap v1.27.0 // indirect
golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 // indirect
golang.org/x/mod v0.18.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/text v0.18.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.22.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 // indirect
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect
gopkg.in/sourcemap.v1 v1.0.5 // indirect
Expand Down
Loading

0 comments on commit 77f821f

Please sign in to comment.