Skip to content

Commit 185b7d3

Browse files
fix(deps): update module github.com/spf13/viper to v1.21.0 (#521)
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/) | --- ### 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**: <spf13/viper@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**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, 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/infratographer/x). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent a5b57e4 commit 185b7d3

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

go.mod

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ require (
3232
github.com/pressly/goose/v3 v3.25.0
3333
github.com/spf13/cobra v1.10.1
3434
github.com/spf13/pflag v1.0.10
35-
github.com/spf13/viper v1.20.1
35+
github.com/spf13/viper v1.21.0
3636
github.com/testcontainers/testcontainers-go v0.38.0
3737
github.com/testcontainers/testcontainers-go/modules/postgres v0.38.0
3838
github.com/vektah/gqlparser/v2 v2.5.30
@@ -236,7 +236,7 @@ require (
236236
github.com/rogpeppe/go-internal v1.14.1 // indirect
237237
github.com/ryancurrah/gomodguard v1.4.1 // indirect
238238
github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect
239-
github.com/sagikazarmark/locafero v0.7.0 // indirect
239+
github.com/sagikazarmark/locafero v0.11.0 // indirect
240240
github.com/sanposhiho/wastedassign/v2 v2.1.0 // indirect
241241
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
242242
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
@@ -247,7 +247,7 @@ require (
247247
github.com/sivchari/containedctx v1.0.3 // indirect
248248
github.com/sonatard/noctx v0.4.0 // indirect
249249
github.com/sosodev/duration v1.3.1 // indirect
250-
github.com/sourcegraph/conc v0.3.0 // indirect
250+
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
251251
github.com/sourcegraph/go-diff v0.7.0 // indirect
252252
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
253253
github.com/stbenjam/no-sprintf-host-port v0.2.0 // indirect
@@ -284,6 +284,7 @@ require (
284284
go.augendre.info/fatcontext v0.8.0 // indirect
285285
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
286286
go.uber.org/automaxprocs v1.6.0 // indirect
287+
go.yaml.in/yaml/v3 v3.0.4 // indirect
287288
golang.org/x/arch v0.20.0 // indirect
288289
golang.org/x/exp/typeparams v0.0.0-20250620022241-b7579e27df2b // indirect
289290
golang.org/x/mod v0.27.0 // indirect
@@ -301,7 +302,7 @@ require (
301302
github.com/beorn7/perks v1.0.1 // indirect
302303
github.com/cenkalti/backoff/v5 v5.0.3
303304
github.com/cespare/xxhash/v2 v2.3.0 // indirect
304-
github.com/fsnotify/fsnotify v1.8.0 // indirect
305+
github.com/fsnotify/fsnotify v1.9.0 // indirect
305306
github.com/gin-contrib/sse v1.1.0 // indirect
306307
github.com/go-logr/logr v1.4.3 // indirect
307308
github.com/go-logr/stdr v1.2.2 // indirect
@@ -328,8 +329,8 @@ require (
328329
github.com/prometheus/common v0.65.0 // indirect
329330
github.com/prometheus/procfs v0.16.1 // indirect
330331
github.com/sirupsen/logrus v1.9.3 // indirect
331-
github.com/spf13/afero v1.14.0 // indirect
332-
github.com/spf13/cast v1.7.1 // indirect
332+
github.com/spf13/afero v1.15.0 // indirect
333+
github.com/spf13/cast v1.10.0 // indirect
333334
github.com/stretchr/testify v1.11.1
334335
github.com/subosito/gotenv v1.6.0 // indirect
335336
github.com/ugorji/go/codec v1.3.0 // indirect

go.sum

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ github.com/firefart/nonamedreturns v1.0.6 h1:vmiBcKV/3EqKY3ZiPxCINmpS431OcE1S47A
199199
github.com/firefart/nonamedreturns v1.0.6/go.mod h1:R8NisJnSIpvPWheCq0mNRXJok6D8h7fagJTF8EMEwCo=
200200
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
201201
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
202-
github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/8M=
203-
github.com/fsnotify/fsnotify v1.8.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
202+
github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k=
203+
github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
204204
github.com/fzipp/gocyclo v0.6.0 h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo=
205205
github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA=
206206
github.com/gabriel-vasile/mimetype v1.4.10 h1:zyueNbySn/z8mJZHLt6IPw0KoZsiQNszIpU+bX4+ZK0=
@@ -574,8 +574,8 @@ github.com/ryancurrah/gomodguard v1.4.1 h1:eWC8eUMNZ/wM/PWuZBv7JxxqT5fiIKSIyTvjb
574574
github.com/ryancurrah/gomodguard v1.4.1/go.mod h1:qnMJwV1hX9m+YJseXEBhd2s90+1Xn6x9dLz11ualI1I=
575575
github.com/ryanrolds/sqlclosecheck v0.5.1 h1:dibWW826u0P8jNLsLN+En7+RqWWTYrjCB9fJfSfdyCU=
576576
github.com/ryanrolds/sqlclosecheck v0.5.1/go.mod h1:2g3dUjoS6AL4huFdv6wn55WpLIDjY7ZgUR4J8HOO/XQ=
577-
github.com/sagikazarmark/locafero v0.7.0 h1:5MqpDsTGNDhY8sGp0Aowyf0qKsPrhewaLSsFaodPcyo=
578-
github.com/sagikazarmark/locafero v0.7.0/go.mod h1:2za3Cg5rMaTMoG/2Ulr9AwtFaIppKXTRYnozin4aB5k=
577+
github.com/sagikazarmark/locafero v0.11.0 h1:1iurJgmM9G3PA/I+wWYIOw/5SyBtxapeHDcg+AAIFXc=
578+
github.com/sagikazarmark/locafero v0.11.0/go.mod h1:nVIGvgyzw595SUSUE6tvCp3YYTeHs15MvlmU87WwIik=
579579
github.com/sanposhiho/wastedassign/v2 v2.1.0 h1:crurBF7fJKIORrV85u9UUpePDYGWnwvv3+A96WvwXT0=
580580
github.com/sanposhiho/wastedassign/v2 v2.1.0/go.mod h1:+oSmSC+9bQ+VUAxA66nBb0Z7N8CK7mscKTDYC6aIek4=
581581
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 h1:KRzFb2m7YtdldCEkzs6KqmJw4nqEVZGK7IN2kJkjTuQ=
@@ -602,22 +602,22 @@ github.com/sonatard/noctx v0.4.0 h1:7MC/5Gg4SQ4lhLYR6mvOP6mQVSxCrdyiExo7atBs27o=
602602
github.com/sonatard/noctx v0.4.0/go.mod h1:64XdbzFb18XL4LporKXp8poqZtPKbCrqQ402CV+kJas=
603603
github.com/sosodev/duration v1.3.1 h1:qtHBDMQ6lvMQsL15g4aopM4HEfOaYuhWBw3NPTtlqq4=
604604
github.com/sosodev/duration v1.3.1/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg=
605-
github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo=
606-
github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0=
605+
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 h1:+jumHNA0Wrelhe64i8F6HNlS8pkoyMv5sreGx2Ry5Rw=
606+
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8/go.mod h1:3n1Cwaq1E1/1lhQhtRK2ts/ZwZEhjcQeJQ1RuC6Q/8U=
607607
github.com/sourcegraph/go-diff v0.7.0 h1:9uLlrd5T46OXs5qpp8L/MTltk0zikUGi0sNNyCpA8G0=
608608
github.com/sourcegraph/go-diff v0.7.0/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs=
609-
github.com/spf13/afero v1.14.0 h1:9tH6MapGnn/j0eb0yIXiLjERO8RB6xIVZRDCX7PtqWA=
610-
github.com/spf13/afero v1.14.0/go.mod h1:acJQ8t0ohCGuMN3O+Pv0V0hgMxNYDlvdk+VTfyZmbYo=
611-
github.com/spf13/cast v1.7.1 h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y=
612-
github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
609+
github.com/spf13/afero v1.15.0 h1:b/YBCLWAJdFWJTN9cLhiXXcD7mzKn9Dm86dNnfyQw1I=
610+
github.com/spf13/afero v1.15.0/go.mod h1:NC2ByUVxtQs4b3sIUphxK0NioZnmxgyCrfzeuq8lxMg=
611+
github.com/spf13/cast v1.10.0 h1:h2x0u2shc1QuLHfxi+cTJvs30+ZAHOGRic8uyGTDWxY=
612+
github.com/spf13/cast v1.10.0/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
613613
github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s=
614614
github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0=
615615
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
616616
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
617617
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
618618
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
619-
github.com/spf13/viper v1.20.1 h1:ZMi+z/lvLyPSCoNtFCpqjy0S4kPbirhpTMwl8BkW9X4=
620-
github.com/spf13/viper v1.20.1/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4=
619+
github.com/spf13/viper v1.21.0 h1:x5S+0EU27Lbphp4UKm1C+1oQO+rKx36vfCoaVebLFSU=
620+
github.com/spf13/viper v1.21.0/go.mod h1:P0lhsswPGWD/1lZJ9ny3fYnVqxiegrlNrEmgLjbTCAY=
621621
github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0=
622622
github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I=
623623
github.com/stbenjam/no-sprintf-host-port v0.2.0 h1:i8pxvGrt1+4G0czLr/WnmyH7zbZ8Bg8etvARQ1rpyl4=
@@ -761,6 +761,8 @@ go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
761761
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
762762
go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8=
763763
go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
764+
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
765+
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
764766
golang.org/x/arch v0.20.0 h1:dx1zTU0MAE98U+TQ8BLl7XsJbgze2WnNKF/8tGp/Q6c=
765767
golang.org/x/arch v0.20.0/go.mod h1:bdwinDaKcfZUGpH09BB7ZmOfhalA8lQdzl62l8gGWsk=
766768
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=

0 commit comments

Comments
 (0)