Commit 620ed4f
build(deps): Bump github.com/spf13/viper from 1.19.0 to 1.20.1 (#2431)
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 />
[](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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tac0turtle <you@example.com>1 parent 333ca81 commit 620ed4f
12 files changed
+117
-169
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
| |||
268 | 267 | | |
269 | 268 | | |
270 | 269 | | |
271 | | - | |
272 | | - | |
| 270 | + | |
273 | 271 | | |
274 | 272 | | |
275 | 273 | | |
| |||
279 | 277 | | |
280 | 278 | | |
281 | 279 | | |
282 | | - | |
283 | | - | |
| 280 | + | |
| 281 | + | |
284 | 282 | | |
285 | | - | |
| 283 | + | |
286 | 284 | | |
287 | 285 | | |
288 | 286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
284 | | - | |
| 283 | + | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
431 | 429 | | |
432 | 430 | | |
433 | 431 | | |
| |||
806 | 804 | | |
807 | 805 | | |
808 | 806 | | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
| 807 | + | |
| 808 | + | |
813 | 809 | | |
814 | 810 | | |
815 | 811 | | |
| |||
864 | 860 | | |
865 | 861 | | |
866 | 862 | | |
867 | | - | |
868 | | - | |
| 863 | + | |
| 864 | + | |
869 | 865 | | |
870 | | - | |
871 | | - | |
| 866 | + | |
| 867 | + | |
872 | 868 | | |
873 | 869 | | |
874 | 870 | | |
| |||
877 | 873 | | |
878 | 874 | | |
879 | 875 | | |
880 | | - | |
881 | | - | |
| 876 | + | |
| 877 | + | |
882 | 878 | | |
883 | 879 | | |
884 | 880 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
| |||
268 | 267 | | |
269 | 268 | | |
270 | 269 | | |
271 | | - | |
272 | | - | |
| 270 | + | |
273 | 271 | | |
274 | 272 | | |
275 | 273 | | |
| |||
279 | 277 | | |
280 | 278 | | |
281 | 279 | | |
282 | | - | |
283 | | - | |
| 280 | + | |
| 281 | + | |
284 | 282 | | |
285 | | - | |
| 283 | + | |
286 | 284 | | |
287 | 285 | | |
288 | 286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
284 | | - | |
| 283 | + | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
431 | 429 | | |
432 | 430 | | |
433 | 431 | | |
| |||
806 | 804 | | |
807 | 805 | | |
808 | 806 | | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
| 807 | + | |
| 808 | + | |
813 | 809 | | |
814 | 810 | | |
815 | 811 | | |
| |||
864 | 860 | | |
865 | 861 | | |
866 | 862 | | |
867 | | - | |
868 | | - | |
| 863 | + | |
| 864 | + | |
869 | 865 | | |
870 | | - | |
871 | | - | |
| 866 | + | |
| 867 | + | |
872 | 868 | | |
873 | 869 | | |
874 | 870 | | |
| |||
877 | 873 | | |
878 | 874 | | |
879 | 875 | | |
880 | | - | |
881 | | - | |
| 876 | + | |
| 877 | + | |
882 | 878 | | |
883 | 879 | | |
884 | 880 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | | - | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
109 | | - | |
| 108 | + | |
110 | 109 | | |
111 | 110 | | |
112 | 111 | | |
| |||
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
141 | | - | |
142 | | - | |
| 140 | + | |
143 | 141 | | |
144 | 142 | | |
145 | | - | |
146 | | - | |
| 143 | + | |
| 144 | + | |
147 | 145 | | |
148 | | - | |
| 146 | + | |
149 | 147 | | |
150 | 148 | | |
151 | 149 | | |
| |||
171 | 169 | | |
172 | 170 | | |
173 | 171 | | |
174 | | - | |
175 | 172 | | |
176 | 173 | | |
177 | 174 | | |
0 commit comments