1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-09-16 09:26:25 +02:00

chore(deps): update module github.com/spf13/viper to v1.21.0 (#7334)

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [github.com/spf13/viper](https://redirect.github.com/spf13/viper) |
`v1.20.1` -> `v1.21.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fviper/v1.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspf13%2fviper/v1.20.1/v1.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>spf13/viper (github.com/spf13/viper)</summary>

###
[`v1.21.0`](https://redirect.github.com/spf13/viper/releases/tag/v1.21.0)

[Compare
Source](https://redirect.github.com/spf13/viper/compare/v1.20.1...v1.21.0)

<!-- Release notes generated using configuration in .github/release.yml
at v1.21.0 -->

#### What's Changed

##### Enhancements 🚀

- Add support for flags pflag.BoolSlice, pflag.UintSlice and
pflag.Float64Slice by
[@&#8203;nmvalera](https://redirect.github.com/nmvalera) in
[#&#8203;2015](https://redirect.github.com/spf13/viper/pull/2015)
- feat: use maintained yaml library by
[@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in
[#&#8203;2040](https://redirect.github.com/spf13/viper/pull/2040)

##### Bug Fixes 🐛

- fix(config): get config type from v.configType or config file ext by
[@&#8203;GuillaumeBAECHLER](https://redirect.github.com/GuillaumeBAECHLER)
in [#&#8203;2003](https://redirect.github.com/spf13/viper/pull/2003)
- fix: config type check when loading any config by
[@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in
[#&#8203;2007](https://redirect.github.com/spf13/viper/pull/2007)

##### Dependency Updates ⬆️

- Update dependencies by
[@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in
[#&#8203;1993](https://redirect.github.com/spf13/viper/pull/1993)
- build(deps): bump github.com/spf13/cast from 1.7.1 to 1.8.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2017](https://redirect.github.com/spf13/viper/pull/2017)
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4
by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2013](https://redirect.github.com/spf13/viper/pull/2013)
- build(deps): bump github.com/sagikazarmark/locafero from 0.8.0 to
0.9.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2008](https://redirect.github.com/spf13/viper/pull/2008)
- build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 in /remote by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2016](https://redirect.github.com/spf13/viper/pull/2016)
- build(deps): bump github.com/spf13/cast from 1.8.0 to 1.9.2 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2020](https://redirect.github.com/spf13/viper/pull/2020)
- build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to
2.3.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2028](https://redirect.github.com/spf13/viper/pull/2028)
- build(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to
2.4.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2035](https://redirect.github.com/spf13/viper/pull/2035)
- build(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2036](https://redirect.github.com/spf13/viper/pull/2036)
- build(deps): bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2012](https://redirect.github.com/spf13/viper/pull/2012)
- build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2052](https://redirect.github.com/spf13/viper/pull/2052)
- build(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to
2.4.0 in /remote by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2048](https://redirect.github.com/spf13/viper/pull/2048)
- build(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2056](https://redirect.github.com/spf13/viper/pull/2056)
- chore: update dependencies by
[@&#8203;sagikazarmark](https://redirect.github.com/sagikazarmark) in
[#&#8203;2057](https://redirect.github.com/spf13/viper/pull/2057)

##### Other Changes

- Update update guide with `mapstructure` package replacement. by
[@&#8203;aldas](https://redirect.github.com/aldas) in
[#&#8203;2004](https://redirect.github.com/spf13/viper/pull/2004)
- refactor: use the built-in max/min to simplify the code by
[@&#8203;yingshanghuangqiao](https://redirect.github.com/yingshanghuangqiao)
in [#&#8203;2029](https://redirect.github.com/spf13/viper/pull/2029)

#### New Contributors

-
[@&#8203;GuillaumeBAECHLER](https://redirect.github.com/GuillaumeBAECHLER)
made their first contribution in
[#&#8203;2003](https://redirect.github.com/spf13/viper/pull/2003)
- [@&#8203;aldas](https://redirect.github.com/aldas) made their first
contribution in
[#&#8203;2004](https://redirect.github.com/spf13/viper/pull/2004)
- [@&#8203;nmvalera](https://redirect.github.com/nmvalera) made their
first contribution in
[#&#8203;2015](https://redirect.github.com/spf13/viper/pull/2015)
-
[@&#8203;yingshanghuangqiao](https://redirect.github.com/yingshanghuangqiao)
made their first contribution in
[#&#8203;2029](https://redirect.github.com/spf13/viper/pull/2029)
- [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) made their
first contribution in
[#&#8203;2046](https://redirect.github.com/spf13/viper/pull/2046)
- [@&#8203;spacez320](https://redirect.github.com/spacez320) made their
first contribution in
[#&#8203;2050](https://redirect.github.com/spf13/viper/pull/2050)

**Full Changelog**:
<https://github.com/spf13/viper/compare/v1.20.0...v1.21.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
This commit is contained in:
renovate[bot]
2025-09-09 09:37:14 +02:00
committed by GitHub
parent d0b6f18584
commit 4368300317
2 changed files with 9 additions and 6 deletions

View File

@@ -189,10 +189,10 @@ require (
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
github.com/sourcegraph/go-diff v0.7.0 // indirect
github.com/spf13/afero v1.15.0 // indirect
github.com/spf13/cast v1.9.2 // indirect
github.com/spf13/cast v1.10.0 // indirect
github.com/spf13/cobra v1.10.1 // indirect
github.com/spf13/pflag v1.0.10 // indirect
github.com/spf13/viper v1.20.1 // indirect
github.com/spf13/viper v1.21.0 // indirect
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
github.com/stbenjam/no-sprintf-host-port v0.2.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
@@ -224,6 +224,7 @@ require (
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
go.yaml.in/yaml/v2 v2.4.2 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/crypto v0.41.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20250819193227-8b4c13bb791b // indirect
golang.org/x/mod v0.28.0 // indirect

View File

@@ -437,16 +437,16 @@ github.com/sourcegraph/go-diff v0.7.0 h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCp
github.com/sourcegraph/go-diff v0.7.0/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs=
github.com/spf13/afero v1.15.0 h1:b/YBCLWAJdFWJTN9cLhiXXcD7mzKn9Dm86dNnfyQw1I=
github.com/spf13/afero v1.15.0/go.mod h1:NC2ByUVxtQs4b3sIUphxK0NioZnmxgyCrfzeuq8lxMg=
github.com/spf13/cast v1.9.2 h1:SsGfm7M8QOFtEzumm7UZrZdLLquNdzFYfIbEXntcFbE=
github.com/spf13/cast v1.9.2/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
github.com/spf13/cast v1.10.0 h1:h2x0u2shc1QuLHfxi+cTJvs30+ZAHOGRic8uyGTDWxY=
github.com/spf13/cast v1.10.0/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s=
github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.20.1 h1:ZMi+z/lvLyPSCoNtFCpqjy0S4kPbirhpTMwl8BkW9X4=
github.com/spf13/viper v1.20.1/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4=
github.com/spf13/viper v1.21.0 h1:x5S+0EU27Lbphp4UKm1C+1oQO+rKx36vfCoaVebLFSU=
github.com/spf13/viper v1.21.0/go.mod h1:P0lhsswPGWD/1lZJ9ny3fYnVqxiegrlNrEmgLjbTCAY=
github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0=
github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I=
github.com/stbenjam/no-sprintf-host-port v0.2.0 h1:i8pxvGrt1+4G0czLr/WnmyH7zbZ8Bg8etvARQ1rpyl4=
@@ -537,6 +537,8 @@ go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8=
go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
go.yaml.in/yaml/v2 v2.4.2 h1:DzmwEr2rDGHl7lsFgAHxmNz/1NlQ7xLIrlN2h5d1eGI=
go.yaml.in/yaml/v2 v2.4.2/go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU=
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=