Skip to content

Commit 978ef67

Browse files
Bump github.com/spf13/viper from 1.19.0 to 1.20.1 in /go-libs (#397)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.19.0 to 1.20.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/spf13/viper/releases">github.com/spf13/viper's releases</a>.</em></p> <blockquote> <h2>v1.20.1</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Bug Fixes 🐛</h3> <ul> <li>Backport config type fixes to 1.20.x by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/2005">spf13/viper#2005</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/spf13/viper/compare/v1.20.0...v1.20.1">https://github.com/spf13/viper/compare/v1.20.0...v1.20.1</a></p> <h2>v1.20.0</h2> <!-- raw HTML omitted --> <blockquote> <p>[!WARNING] This release includes a few minor breaking changes. Read the <a href="https://github.com/spf13/viper/blob/master/UPGRADE.md#v120x">upgrade guide</a> for details.</p> </blockquote> <h2>What's Changed</h2> <h3>Exciting New Features 🎉</h3> <ul> <li>New encoding layer by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1869">spf13/viper#1869</a></li> </ul> <h3>Enhancements 🚀</h3> <ul> <li>Drop Go 1.20 support by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1846">spf13/viper#1846</a></li> <li>Drop slog shim by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1848">spf13/viper#1848</a></li> <li>Replace file searching API with a finder by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1849">spf13/viper#1849</a></li> <li>Finder feature flag by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1852">spf13/viper#1852</a></li> <li>Allow setting options on the global Viper instance by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1856">spf13/viper#1856</a></li> <li>Add experimental flag for bind struct by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1854">spf13/viper#1854</a></li> <li>Make the remote package a separate module by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1860">spf13/viper#1860</a></li> <li>Add decoder hook option by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1872">spf13/viper#1872</a></li> <li>Encoder improvements by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1885">spf13/viper#1885</a></li> <li>Get uint8 by <a href="https://github.com/martinconic"><code>@​martinconic</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1894">spf13/viper#1894</a></li> </ul> <h3>Bug Fixes 🐛</h3> <ul> <li>Fix missing config type when reading from a buffer by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1857">spf13/viper#1857</a></li> <li>fix: do not allow setting dependencies to nil values by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1871">spf13/viper#1871</a></li> <li>feat: copy keydelim from parent chart in viper.Sub() by <a href="https://github.com/obs-gh-alexlew"><code>@​obs-gh-alexlew</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1887">spf13/viper#1887</a></li> </ul> <h3>Breaking Changes 🛠</h3> <ul> <li>Drop encoding formats: HCL, Java properties, INI by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1870">spf13/viper#1870</a></li> </ul> <h3>Dependency Updates ⬆️</h3> <ul> <li>chore: update mapstructure by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1723">spf13/viper#1723</a></li> <li>chore: update crypt by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1834">spf13/viper#1834</a></li> <li>build(deps): bump github/codeql-action from 3.25.7 to 3.25.8 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1853">spf13/viper#1853</a></li> <li>Revert to go-difflib and go-spew releases by <a href="https://github.com/skitt"><code>@​skitt</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1861">spf13/viper#1861</a></li> <li>build(deps): bump actions/dependency-review-action from 4.3.2 to 4.3.3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1862">spf13/viper#1862</a></li> <li>build(deps): bump github/codeql-action from 3.25.8 to 3.25.10 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1865">spf13/viper#1865</a></li> <li>build(deps): bump actions/checkout from 4.1.6 to 4.1.7 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1864">spf13/viper#1864</a></li> <li>chore: update crypt by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1866">spf13/viper#1866</a></li> <li>build(deps): bump github/codeql-action from 3.25.10 to 3.25.11 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1876">spf13/viper#1876</a></li> <li>build(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 in /remote by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1878">spf13/viper#1878</a></li> <li>build(deps): bump actions/setup-go from 5.0.1 to 5.0.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1879">spf13/viper#1879</a></li> <li>build(deps): bump actions/dependency-review-action from 4.3.3 to 4.3.4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1881">spf13/viper#1881</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/spf13/viper/commit/9568cfcfd660a1c1c6c762f335ae79f370488417"><code>9568cfc</code></a> fix: config type check when loading any config</li> <li><a href="https://github.com/spf13/viper/commit/fd05140cd675b256b5076759e38403874fc5826d"><code>fd05140</code></a> fix(config): get config type from v.configType or config file ext</li> <li><a href="https://github.com/spf13/viper/commit/c038295114ebabab9d57440f76025cfa73d7df3e"><code>c038295</code></a> docs: add update instructions for 1.20</li> <li><a href="https://github.com/spf13/viper/commit/9c07e0f0633cae75a540fc606c6ebb3bece61826"><code>9c07e0f</code></a> build: disable unused linters</li> <li><a href="https://github.com/spf13/viper/commit/48112d6a050e8a0af0a0aa2ae0d29834f603154b"><code>48112d6</code></a> ci: add Go 1.24 to the test matrix</li> <li><a href="https://github.com/spf13/viper/commit/66e3e2877d2aa0b521a39f28f3340181e5603741"><code>66e3e28</code></a> build(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6</li> <li><a href="https://github.com/spf13/viper/commit/17b96ac0d54073bdbd05364a52195e6277c86b16"><code>17b96ac</code></a> New Logo</li> <li><a href="https://github.com/spf13/viper/commit/8b223a45cef1badfd02317591a316095fb15a5d2"><code>8b223a4</code></a> build(deps): bump github.com/spf13/cast from 1.7.0 to 1.7.1</li> <li><a href="https://github.com/spf13/viper/commit/91fd3639d7b10935d3e1308d350a7f727834561e"><code>91fd363</code></a> chore: update afero</li> <li><a href="https://github.com/spf13/viper/commit/e75c48f185d3a75e447bd67f80fa153a88a9c958"><code>e75c48f</code></a> Fix issues reported by testifylint</li> <li>Additional commits viewable in <a href="https://github.com/spf13/viper/compare/v1.19.0...v1.20.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/spf13/viper&package-manager=go_modules&previous-version=1.19.0&new-version=1.20.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent ab504b6 commit 978ef67

File tree

2 files changed

+71
-178
lines changed

2 files changed

+71
-178
lines changed

go-libs/go.mod

Lines changed: 23 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,57 +11,52 @@ require (
1111
github.com/sourcegraph/go-diff v0.7.0
1212
github.com/spf13/cobra v1.9.1
1313
github.com/spf13/pflag v1.0.6
14-
github.com/spf13/viper v1.19.0
14+
github.com/spf13/viper v1.20.1
1515
github.com/stretchr/testify v1.10.0
1616
golang.org/x/crypto v0.32.0
1717
golang.org/x/oauth2 v0.29.0
1818
)
1919

2020
require (
21-
cloud.google.com/go/auth v0.4.2 // indirect
22-
cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect
23-
cloud.google.com/go/compute/metadata v0.3.0 // indirect
21+
cloud.google.com/go/auth v0.13.0 // indirect
22+
cloud.google.com/go/auth/oauth2adapt v0.2.6 // indirect
23+
cloud.google.com/go/compute/metadata v0.6.0 // indirect
2424
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2525
github.com/felixge/httpsnoop v1.0.4 // indirect
26-
github.com/fsnotify/fsnotify v1.7.0 // indirect
27-
github.com/go-logr/logr v1.4.1 // indirect
26+
github.com/fsnotify/fsnotify v1.8.0 // indirect
27+
github.com/go-logr/logr v1.4.2 // indirect
2828
github.com/go-logr/stdr v1.2.2 // indirect
29-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
30-
github.com/golang/protobuf v1.5.4 // indirect
31-
github.com/google/s2a-go v0.1.7 // indirect
32-
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
33-
github.com/hashicorp/hcl v1.0.0 // indirect
29+
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
30+
github.com/google/s2a-go v0.1.8 // indirect
31+
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
32+
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
3433
github.com/inconshreveable/mousetrap v1.1.0 // indirect
35-
github.com/magiconair/properties v1.8.7 // indirect
3634
github.com/mattn/go-colorable v0.1.13 // indirect
3735
github.com/mattn/go-isatty v0.0.20 // indirect
38-
github.com/mitchellh/mapstructure v1.5.0 // indirect
39-
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
36+
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
4037
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
4138
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
42-
github.com/sagikazarmark/locafero v0.4.0 // indirect
43-
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
39+
github.com/sagikazarmark/locafero v0.7.0 // indirect
4440
github.com/sourcegraph/conc v0.3.0 // indirect
45-
github.com/spf13/afero v1.11.0 // indirect
46-
github.com/spf13/cast v1.6.0 // indirect
41+
github.com/spf13/afero v1.12.0 // indirect
42+
github.com/spf13/cast v1.7.1 // indirect
4743
github.com/subosito/gotenv v1.6.0 // indirect
48-
go.opencensus.io v0.24.0 // indirect
49-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
50-
go.opentelemetry.io/otel v1.24.0 // indirect
51-
go.opentelemetry.io/otel/metric v1.24.0 // indirect
52-
go.opentelemetry.io/otel/trace v1.24.0 // indirect
44+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 // indirect
45+
go.opentelemetry.io/otel v1.29.0 // indirect
46+
go.opentelemetry.io/otel/metric v1.29.0 // indirect
47+
go.opentelemetry.io/otel/trace v1.29.0 // indirect
5348
go.uber.org/multierr v1.11.0 // indirect
5449
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
5550
golang.org/x/mod v0.17.0 // indirect
5651
golang.org/x/net v0.33.0 // indirect
5752
golang.org/x/sys v0.29.0 // indirect
5853
golang.org/x/term v0.28.0 // indirect
5954
golang.org/x/text v0.21.0 // indirect
60-
golang.org/x/time v0.5.0 // indirect
61-
google.golang.org/api v0.182.0 // indirect
62-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240521202816-d264139d666e // indirect
63-
google.golang.org/grpc v1.64.1 // indirect
64-
google.golang.org/protobuf v1.34.1 // indirect
55+
golang.org/x/time v0.8.0 // indirect
56+
google.golang.org/api v0.215.0 // indirect
57+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241223144023-3abc09e42ca8 // indirect
58+
google.golang.org/grpc v1.67.3 // indirect
59+
google.golang.org/protobuf v1.36.1 // indirect
6560
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
6661
gopkg.in/ini.v1 v1.67.0 // indirect
6762
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)