Skip to content

Commit

Permalink
chore(deps): bump github.com/spf13/viper from 1.17.0 to 1.18.0 (#415)
Browse files Browse the repository at this point in the history
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from
1.17.0 to 1.18.0.
<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.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>
<li>fix: godot lint issues by <a
href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a
href="https://redirect.github.com/spf13/viper/pull/1657">spf13/viper#1657</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/KaymeKaydex"><code>@​KaymeKaydex</code></a>
made their first contribution in <a
href="https://redirect.github.com/spf13/viper/pull/1684">spf13/viper#1684</a></li>
<li><a href="https://github.com/krakowski"><code>@​krakowski</code></a>
made their first contribution in <a
href="https://redirect.github.com/spf13/viper/pull/1429">spf13/viper#1429</a></li>
<li><a href="https://github.com/linuxsong"><code>@​linuxsong</code></a>
made their first contribution in <a
href="https://redirect.github.com/spf13/viper/pull/1585">spf13/viper#1585</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/spf13/viper/compare/v1.17.0...v1.18.0">https://github.com/spf13/viper/compare/v1.17.0...v1.18.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<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><a
href="https://github.com/spf13/viper/commit/a4a551fd2a1fe510f56a6f591f6643404157b9f5"><code>a4a551f</code></a>
chore: update dependencies</li>
<li>Additional commits viewable in <a
href="https://github.com/spf13/viper/compare/v1.17.0...v1.18.0">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.0)](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>
  • Loading branch information
dependabot[bot] authored Dec 7, 2023
1 parent 3d56771 commit c251dc3
Show file tree
Hide file tree
Showing 30 changed files with 1,997 additions and 658 deletions.
12 changes: 6 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/petar-dambovaliev/aho-corasick v0.0.0-20211021192214-5ab2d9280aa9
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.17.0
github.com/spf13/viper v1.18.0
github.com/stretchr/testify v1.8.4
golang.org/x/tools v0.16.0
)
Expand All @@ -27,7 +27,7 @@ require (
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
Expand All @@ -43,13 +43,13 @@ require (
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/pjbgf/sha1cd v0.3.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/sagikazarmark/locafero v0.3.0 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/skeema/knownhosts v1.2.1 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.10.0 // indirect
github.com/spf13/cast v1.5.1 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
go.uber.org/atomic v1.9.0 // indirect
Expand All @@ -58,7 +58,7 @@ require (
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/oauth2 v0.12.0 // indirect
golang.org/x/oauth2 v0.15.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
Expand Down
95 changes: 13 additions & 82 deletions go.sum

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions vendor/github.com/fsnotify/fsnotify/.cirrus.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor/github.com/fsnotify/fsnotify/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

83 changes: 77 additions & 6 deletions vendor/github.com/fsnotify/fsnotify/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 52 additions & 29 deletions vendor/github.com/fsnotify/fsnotify/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c251dc3

Please sign in to comment.