Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging to release-5.6.0: [TT-13098] exp/modcheck: Update go.mod depe…
…ndencies (#6523) [TT-13098] exp/modcheck: Update go.mod dependencies (#6523) ### **User description** Triggered by: titpetric JIRA: https://tyktech.atlassian.net/browse/TT-13098 | IMPORT | VERSION | LATEST | WARNINGS | CVES | |:---|:---|:---|:---|:---| | Masterminds/sprig/v3 | v3.2.3 | v3.3.0 | | | | getkin/kin-openapi | v0.115.0 | v0.127.0 | Held back from upgrade | | | hashicorp/consul/api | v1.29.1 | v1.29.4 | | | | hashicorp/vault/api | v1.14.0 | v1.15.0 | | | | miekg/dns | v1.1.61 | v1.1.62 | | 0 of 3 | | oschwald/maxminddb-golang | v1.13.0 | v1.13.1 | | | | rs/cors | v1.11.0 | v1.11.1 | | 0 of 2 | | golang.org/x/crypto | v0.24.0 | v0.27.0 | | 0 of 10 | | golang.org/x/net | v0.26.0 | v0.29.0 | | 0 of 16 | | golang.org/x/sync | v0.7.0 | v0.8.0 | | | | google.golang.org/grpc | v1.64.0 | v1.66.2 | | 0 of 2 | | go-redsync/redsync/v4 | v4.11.0 | v4.13.0 | | | | redis/go-redis/v9 | v9.5.3 | v9.6.1 | | | | newrelic/go-agent | v2.13.0 +incompatible | v3.34.0+incompatible | Held back from upgrade | | | go.opentelemetry.io/otel | v1.19.0 | v1.30.0 | Held back from upgrade | | | go.opentelemetry.io/otel/trace | v1.19.0 | v1.30.0 | Held back from upgrade | | <details> <summary>Steps performed</summary> ~~~ + go get github.com/Masterminds/sprig/[email protected] go: downloading github.com/Masterminds/sprig/v3 v3.3.0 go: downloading dario.cat/mergo v1.0.1 go: downloading github.com/Masterminds/semver/v3 v3.3.0 go: downloading github.com/huandu/xstrings v1.5.0 go: downloading github.com/shopspring/decimal v1.4.0 go: downloading github.com/spf13/cast v1.7.0 go: downloading golang.org/x/crypto v0.26.0 go: downloading golang.org/x/text v0.17.0 go: downloading golang.org/x/sys v0.23.0 go: added dario.cat/mergo v1.0.1 go: upgraded github.com/Masterminds/semver/v3 v3.2.0 => v3.3.0 go: upgraded github.com/Masterminds/sprig/v3 v3.2.3 => v3.3.0 go: upgraded github.com/huandu/xstrings v1.3.3 => v1.5.0 go: upgraded github.com/shopspring/decimal v1.2.0 => v1.4.0 go: upgraded github.com/spf13/cast v1.6.0 => v1.7.0 go: upgraded golang.org/x/crypto v0.24.0 => v0.26.0 go: upgraded golang.org/x/sync v0.7.0 => v0.8.0 go: upgraded golang.org/x/sys v0.21.0 => v0.23.0 go: upgraded golang.org/x/text v0.16.0 => v0.17.0 + go get github.com/hashicorp/consul/[email protected] go: downloading github.com/hashicorp/consul/api v1.29.4 go: downloading github.com/hashicorp/consul/proto-public v0.6.2 go: upgraded github.com/hashicorp/consul/api v1.29.1 => v1.29.4 + go get github.com/hashicorp/vault/[email protected] go: downloading github.com/hashicorp/vault/api v1.15.0 go: downloading github.com/hashicorp/vault v1.15.0 go: downloading github.com/hashicorp/go-retryablehttp v0.7.7 go: upgraded github.com/hashicorp/go-retryablehttp v0.7.6 => v0.7.7 go: upgraded github.com/hashicorp/vault/api v1.14.0 => v1.15.0 + go get github.com/miekg/[email protected] go: downloading github.com/miekg/dns v1.1.62 go: downloading golang.org/x/net v0.27.0 go: upgraded github.com/miekg/dns v1.1.61 => v1.1.62 go: upgraded golang.org/x/net v0.26.0 => v0.27.0 + go get github.com/oschwald/[email protected] go: downloading github.com/oschwald/maxminddb-golang v1.13.1 go: upgraded github.com/oschwald/maxminddb-golang v1.13.0 => v1.13.1 + go get github.com/rs/[email protected] go: downloading github.com/rs/cors v1.11.1 go: upgraded github.com/rs/cors v1.11.0 => v1.11.1 + go get golang.org/x/[email protected] go: downloading golang.org/x/crypto v0.27.0 go: downloading golang.org/x/text v0.18.0 go: upgraded golang.org/x/crypto v0.26.0 => v0.27.0 go: upgraded golang.org/x/sys v0.23.0 => v0.25.0 go: upgraded golang.org/x/text v0.17.0 => v0.18.0 + go get golang.org/x/[email protected] go: downloading golang.org/x/net v0.29.0 go: upgraded golang.org/x/net v0.27.0 => v0.29.0 + go get golang.org/x/[email protected] + go get google.golang.org/[email protected] go: downloading google.golang.org/grpc v1.66.2 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/golang/glog v1.2.1 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 go: upgraded github.com/cespare/xxhash/v2 v2.2.0 => v2.3.0 go: upgraded google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 => v0.0.0-20240604185151-ef581f913117 go: upgraded google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be => v0.0.0-20240604185151-ef581f913117 go: upgraded google.golang.org/grpc v1.64.0 => v1.66.2 + go get github.com/go-redsync/redsync/[email protected] go: downloading github.com/go-redsync/redsync/v4 v4.13.0 go: downloading github.com/go-redis/redis/v7 v7.4.1 go: upgraded github.com/go-redsync/redsync/v4 v4.11.0 => v4.13.0 + go get github.com/redis/go-redis/[email protected] go: downloading github.com/redis/go-redis/v9 v9.6.1 go: upgraded github.com/redis/go-redis/v9 v9.5.3 => v9.6.1 ~~~ </details> <details> <summary>go mod tidy output</summary> ``` === RUN TestLint === RUN TestLint/InvalidJSON === RUN TestLint/WrongType === RUN TestLint/FieldTypo === RUN TestLint/Empty === RUN TestLint/Default === RUN TestLint/OldMonitor === RUN TestLint/NullObject === RUN TestLint/MissingPath === RUN TestLint/ExtraPort === RUN TestLint/BadHost === RUN TestLint/BadLogLevel === RUN TestLint/BadStorageType === RUN TestLint/BadPolicySource === RUN TestLint/MalformedDnsCacheEntry === RUN TestLint/BadDnsCacheTTL === RUN TestLint/ExtraDnsCacheCheckInterval === RUN TestLint/InvalidDnsCacheMultipleIPsHandleStrategy --- PASS: TestLint (0.06s) --- PASS: TestLint/InvalidJSON (0.00s) --- PASS: TestLint/WrongType (0.00s) --- PASS: TestLint/FieldTypo (0.00s) --- PASS: TestLint/Empty (0.00s) --- PASS: TestLint/Default (0.00s) --- PASS: TestLint/OldMonitor (0.00s) --- PASS: TestLint/NullObject (0.00s) --- PASS: TestLint/MissingPath (0.00s) --- PASS: TestLint/ExtraPort (0.00s) --- PASS: TestLint/BadHost (0.01s) --- PASS: TestLint/BadLogLevel (0.02s) --- PASS: TestLint/BadStorageType (0.00s) --- PASS: TestLint/BadPolicySource (0.00s) --- PASS: TestLint/MalformedDnsCacheEntry (0.00s) --- PASS: TestLint/BadDnsCacheTTL (0.00s) --- PASS: TestLint/ExtraDnsCacheCheckInterval (0.00s) --- PASS: TestLint/InvalidDnsCacheMultipleIPsHandleStrategy (0.00s) PASS ok github.com/TykTechnologies/tyk/cli/linter 0.118s === RUN TestXTykGateway_Lint --- PASS: TestXTykGateway_Lint (0.01s) PASS ok github.com/TykTechnologies/tyk/apidef/oas 0.052s ``` </details> ___ ### **PR Type** enhancement, dependencies ___ ### **Description** - Updated multiple Go module dependencies to their latest versions in `go.mod`. - Corresponding updates made to `go.sum` to reflect new dependency versions. - Improvements in dependency management and potential security enhancements. ___ ### **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> </dd></summary> <hr> go.mod <li>Updated <code>github.com/Masterminds/sprig/v3</code> from v3.2.3 to v3.3.0.<br> <li> Updated <code>github.com/hashicorp/consul/api</code> from v1.29.1 to v1.29.4.<br> <li> Updated <code>github.com/hashicorp/vault/api</code> from v1.14.0 to v1.15.0.<br> <li> Updated <code>golang.org/x/crypto</code> from v0.24.0 to v0.27.0. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6523/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6">+23/-24</a> </td> </tr> <tr> <td> <details> <summary><strong>go.sum</strong><dd><code>Update Go module checksums for dependency updates</code> </dd></summary> <hr> go.sum <li>Updated checksums for <code>github.com/Masterminds/sprig/v3</code> to v3.3.0.<br> <li> Updated checksums for <code>github.com/hashicorp/consul/api</code> to v1.29.4.<br> <li> Updated checksums for <code>github.com/hashicorp/vault/api</code> to v1.15.0.<br> <li> Updated checksums for <code>golang.org/x/crypto</code> to v0.27.0. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6523/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63">+52/-59</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions Co-authored-by: titpetric <[email protected]>
- Loading branch information