Skip to content

Commit 73ac1be

Browse files
chore(deps): Bump github.com/spf13/viper from 1.17.0 to 1.18.1 (#73)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.17.0 to 1.18.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.18.1</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Bug Fixes 🐛</h3> <ul> <li>Merge missing struct keys inside UnmarshalExact by <a href="https://github.com/krakowski"><code>@​krakowski</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1704">spf13/viper#1704</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/spf13/viper/compare/v1.18.0...v1.18.1">https://github.com/spf13/viper/compare/v1.18.0...v1.18.1</a></p> <h2>v1.18.0</h2> <h2>Major changes</h2> <p>Highlighting some of the changes for better visibility.</p> <p>Please share your feedback in the Discussion forum. Thanks! ❤️</p> <h3><code>AutomaticEnv</code> works with <code>Unmarshal</code></h3> <p>Previously, environment variables that weren't bound manually or had no defaults could not be mapped by <code>Unmarshal</code>. (The problem is explained in details in this issue: <a href="https://redirect.github.com/spf13/viper/issues/761">#761</a>)</p> <p><a href="https://redirect.github.com/spf13/viper/issues/1429">#1429</a> introduced a solution that solves that issue.</p> <h2>What's Changed</h2> <h3>Enhancements 🚀</h3> <ul> <li>chore: rename files according to enabled build tags by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1642">spf13/viper#1642</a></li> <li>test: replace ifs with asserts to simplify tests by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1656">spf13/viper#1656</a></li> <li>ci: enable test shuffle and fix tests by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1643">spf13/viper#1643</a></li> <li>fix: gocritic lint issues by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1696">spf13/viper#1696</a></li> </ul> <h3>Bug Fixes 🐛</h3> <ul> <li>Implement viper.BindStruct for automatic unmarshalling from environment variables by <a href="https://github.com/krakowski"><code>@​krakowski</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1429">spf13/viper#1429</a></li> <li>fix isPathShadowedInFlatMap type cast bug by <a href="https://github.com/linuxsong"><code>@​linuxsong</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1585">spf13/viper#1585</a></li> </ul> <h3>Dependency Updates ⬆️</h3> <ul> <li>build(deps): bump github/codeql-action from 2.21.9 to 2.22.3 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1661">spf13/viper#1661</a></li> <li>build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1659">spf13/viper#1659</a></li> <li>build(deps): bump actions/checkout from 4.1.0 to 4.1.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1663">spf13/viper#1663</a></li> <li>build(deps): bump actions/github-script from 6.4.1 to 7.0.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1686">spf13/viper#1686</a></li> <li>build(deps): bump github/codeql-action from 2.22.3 to 2.22.8 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1688">spf13/viper#1688</a></li> <li>build(deps): bump github.com/spf13/afero from 1.10.0 to 1.11.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1692">spf13/viper#1692</a></li> <li>build(deps): bump actions/dependency-review-action from 3.1.0 to 3.1.4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1690">spf13/viper#1690</a></li> <li>build(deps): bump cachix/install-nix-action from 23 to 24 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1689">spf13/viper#1689</a></li> <li>build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1672">spf13/viper#1672</a></li> <li>build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1691">spf13/viper#1691</a></li> <li>build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1668">spf13/viper#1668</a></li> <li>chore: update dependencies by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1694">spf13/viper#1694</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/1701">spf13/viper#1701</a></li> </ul> <h3>Other Changes</h3> <ul> <li>Add info about multiple hosts for remote config by <a href="https://github.com/KaymeKaydex"><code>@​KaymeKaydex</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1684">spf13/viper#1684</a></li> <li>refactor: drop fsonitfy wrapper by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1693">spf13/viper#1693</a></li> <li>Note Get* behavior on parse failure by <a href="https://github.com/scop"><code>@​scop</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1687">spf13/viper#1687</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/fb6eb1e8e9fbaa424b113248af35f048c5d86dea"><code>fb6eb1e</code></a> fix: merge missing struct keys inside UnmarshalExact</li> <li><a href="https://github.com/spf13/viper/commit/f5fcb4a104f76357c270c3944c26a2e2c8a06fdf"><code>f5fcb4a</code></a> chore: update crypt</li> <li><a href="https://github.com/spf13/viper/commit/f7363633d1c17fd98cd70783fabc133c41d3f40e"><code>f736363</code></a> fix isPathShadowedInFlatMap type cast bug (<a href="https://redirect.github.com/spf13/viper/issues/1585">#1585</a>)</li> <li><a href="https://github.com/spf13/viper/commit/36a38682ba4fe1bb823952e52c461c297bb1767e"><code>36a3868</code></a> Review changes</li> <li><a href="https://github.com/spf13/viper/commit/f0c4ccd6cd7527b198aecc6d50b3ffd6d06e36d1"><code>f0c4ccd</code></a> fix: gocritic lint issues</li> <li><a href="https://github.com/spf13/viper/commit/3a23b80b1120cd3e6aaf21d91784fce81b8054df"><code>3a23b80</code></a> ci: enable test shuffle; fix tests</li> <li><a href="https://github.com/spf13/viper/commit/73dfb94c57ad48bcdf3d40b7f47d69c2962d800d"><code>73dfb94</code></a> feat: make Unmarshal work with AutomaticEnv</li> <li><a href="https://github.com/spf13/viper/commit/6ea31ae4ca569f048d53a06e91574f1ebe4b0225"><code>6ea31ae</code></a> refactor: move all settings code to a getter</li> <li><a href="https://github.com/spf13/viper/commit/c4dcd31f68e5d77ce447c0091dd1ca6d7e169807"><code>c4dcd31</code></a> fix: godot lint issues</li> <li><a href="https://github.com/spf13/viper/commit/4c9b2a26ae1de051cce83f4aea2527dfa8c00c53"><code>4c9b2a2</code></a> Note Get* behavior on parse failure</li> <li>Additional commits viewable in <a href="https://github.com/spf13/viper/compare/v1.17.0...v1.18.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.17.0&new-version=1.18.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 will merge this PR once CI passes on it, as requested by @edgarrmondragon. [//]: # (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: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
1 parent feac237 commit 73ac1be

File tree

3 files changed

+32
-378
lines changed

3 files changed

+32
-378
lines changed

go.mod

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.19
44

55
require (
66
github.com/spf13/cobra v1.8.0
7-
github.com/spf13/viper v1.17.0
7+
github.com/spf13/viper v1.18.1
88
gocloud.dev v0.35.0
99
)
1010

@@ -48,25 +48,25 @@ require (
4848
github.com/magiconair/properties v1.8.7 // indirect
4949
github.com/mitchellh/mapstructure v1.5.0 // indirect
5050
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
51-
github.com/sagikazarmark/locafero v0.3.0 // indirect
51+
github.com/sagikazarmark/locafero v0.4.0 // indirect
5252
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
5353
github.com/sourcegraph/conc v0.3.0 // indirect
54-
github.com/spf13/afero v1.10.0 // indirect
55-
github.com/spf13/cast v1.5.1 // indirect
54+
github.com/spf13/afero v1.11.0 // indirect
55+
github.com/spf13/cast v1.6.0 // indirect
5656
github.com/spf13/pflag v1.0.5 // indirect
5757
github.com/subosito/gotenv v1.6.0 // indirect
5858
go.opencensus.io v0.24.0 // indirect
5959
go.uber.org/multierr v1.11.0 // indirect
60-
golang.org/x/crypto v0.15.0 // indirect
60+
golang.org/x/crypto v0.16.0 // indirect
6161
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
62-
golang.org/x/net v0.18.0 // indirect
63-
golang.org/x/oauth2 v0.14.0 // indirect
62+
golang.org/x/net v0.19.0 // indirect
63+
golang.org/x/oauth2 v0.15.0 // indirect
6464
golang.org/x/sync v0.5.0 // indirect
65-
golang.org/x/sys v0.14.0 // indirect
65+
golang.org/x/sys v0.15.0 // indirect
6666
golang.org/x/text v0.14.0 // indirect
67-
golang.org/x/time v0.4.0 // indirect
67+
golang.org/x/time v0.5.0 // indirect
6868
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
69-
google.golang.org/api v0.151.0 // indirect
69+
google.golang.org/api v0.153.0 // indirect
7070
google.golang.org/appengine v1.6.8 // indirect
7171
google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f // indirect
7272
google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f // indirect

0 commit comments

Comments
 (0)