Skip to content

Commit

Permalink
chore(deps): bump github.com/spf13/viper from 1.17.0 to 1.18.1 (#83)
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.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-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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 11, 2023
1 parent cd1f717 commit 1ac3777
Show file tree
Hide file tree
Showing 33 changed files with 1,793 additions and 671 deletions.
12 changes: 6 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/google/go-querystring v1.0.0 // indirect
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00
github.com/sourcegraph/go-diff v0.6.1
github.com/spf13/viper v1.17.0
github.com/spf13/viper v1.18.1
github.com/stretchr/testify v1.8.4
golang.org/x/oauth2 v0.15.0
)
Expand All @@ -22,7 +22,7 @@ require (

require (
github.com/launchdarkly/api-client-go/v7 v7.1.1 // 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/sourcegraph/conc v0.3.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
Expand All @@ -35,10 +35,10 @@ require (
github.com/Masterminds/semver/v3 v3.2.0 // indirect
github.com/bmatcuk/doublestar/v4 v4.6.1 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-git/go-git/v5 v5.10.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/google/uuid v1.4.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.4 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
Expand All @@ -61,8 +61,8 @@ require (
github.com/pkg/errors v0.9.1
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/shopspring/decimal v1.2.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/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/wacul/ptr v1.0.0 // indirect
Expand Down
96 changes: 13 additions & 83 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 1ac3777

Please sign in to comment.