[PR #760] [CLOSED] Bump github.com/spf13/viper from 1.7.0 to 1.17.0 in /tools #1864

Closed
opened 2026-03-07 22:13:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hibiken/asynq/pull/760
Author: @dependabot[bot]
Created: 10/9/2023
Status: Closed

Base: masterHead: dependabot/go_modules/tools/github.com/spf13/viper-1.17.0


📝 Commits (1)

  • 0512819 Bump github.com/spf13/viper from 1.7.0 to 1.17.0 in /tools

📊 Changes

2 files changed (+306 additions, -49 deletions)

View changed files

📝 tools/go.mod (+20 -16)
📝 tools/go.sum (+286 -33)

📄 Description

Bumps github.com/spf13/viper from 1.7.0 to 1.17.0.

Release notes

Sourced from github.com/spf13/viper's releases.

v1.17.0

Major changes

Highlighting some of the changes for better visibility.

Please share your feedback in the Discussion forum. Thanks! ❤️

Minimum Go version: 1.19

Viper now requires Go 1.19

This change ensures we can stay up to date with modern practices and dependencies.

log/slog support [BREAKING]

Viper v1.11.0 added an experimental Logger interface to allow custom implementations (besides jwalterweatherman).

In addition, it also exposed an experimental WithLogger function allowing to set a custom logger.

This release deprecates that interface in favor of log/slog released in Go 1.21.

[!WARNING] WithLogger accepts an *slog.Logger from now on.

To preserve backwards compatibility with older Go versions, prior to Go 1.21 Viper accepts a *golang.org/x/exp/slog.Logger.

The experimental flag is removed.

New finder implementation [BREAKING]

As of this release, Viper uses a new library to look for files, called locafero.

The new library is better covered by tests and has been built from scratch as a general purpose file finder library.

The implementation is experimental and is hidden behind a finder build tag.

[!WARNING] The io/fs based implementation (that used to be hidden behind a finder build tag) has been removed.

What's Changed

Exciting New Features 🎉

Enhancements 🚀

... (truncated)

Commits
  • f62f86a refactor: make use of strings.Cut
  • 94632fa chore: Use pip3 explicitly to install yamllint
  • 3f6cadc chore: Fix copy-paste error for yamllint target
  • 287507c docs: add set subset KV example
  • f1cb226 chore(deps): update crypt
  • c292b55 test: refactor asserts
  • 3d006fe refactor: replace interface{} with any
  • 8a6dc5d build(deps): bump github/codeql-action from 2.21.8 to 2.21.9
  • 96c5c00 chore: remove deprecated build tags
  • 44911d2 build(deps): bump github/codeql-action from 2.21.7 to 2.21.8
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

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)

Note

Automatic rebases have been disabled on this pull request as it has been open for over 30 days.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hibiken/asynq/pull/760 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 10/9/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/go_modules/tools/github.com/spf13/viper-1.17.0` --- ### 📝 Commits (1) - [`0512819`](https://github.com/hibiken/asynq/commit/0512819f09ca8dcb4ea2dbeeb381a36eb5cdfc1e) Bump github.com/spf13/viper from 1.7.0 to 1.17.0 in /tools ### 📊 Changes **2 files changed** (+306 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `tools/go.mod` (+20 -16) 📝 `tools/go.sum` (+286 -33) </details> ### 📄 Description Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.7.0 to 1.17.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.17.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>Minimum Go version: 1.19</h3> <p>Viper now requires Go 1.19</p> <p>This change ensures we can stay up to date with modern practices and dependencies.</p> <h3><code>log/slog</code> support <strong>[BREAKING]</strong></h3> <p>Viper <a href="https://github.com/spf13/viper/releases/tag/v1.11.0">v1.11.0</a> added an experimental <code>Logger</code> interface to allow custom implementations (besides <a href="https://github.com/spf13/jwalterweatherman">jwalterweatherman</a>).</p> <p>In addition, it also exposed an experimental <code>WithLogger</code> function allowing to set a custom logger.</p> <p>This release deprecates that interface in favor of <a href="https://pkg.go.dev/log/slog">log/slog</a> released in Go 1.21.</p> <blockquote> <p>[!WARNING] <code>WithLogger</code> accepts an <a href="https://pkg.go.dev/log/slog#Logger">*slog.Logger</a> from now on.</p> </blockquote> <p>To preserve backwards compatibility with older Go versions, prior to Go 1.21 Viper accepts a <a href="https://pkg.go.dev/golang.org/x/exp/slog#Logger">*golang.org/x/exp/slog.Logger</a>.</p> <p>The experimental flag is removed.</p> <h3>New finder implementation <strong>[BREAKING]</strong></h3> <p>As of this release, Viper uses a new library to look for files, called <a href="https://github.com/sagikazarmark/locafero">locafero</a>.</p> <p>The new library is better covered by tests and has been built from scratch as a general purpose file finder library.</p> <p>The implementation is experimental and is hidden behind a <code>finder</code> build tag.</p> <blockquote> <p>[!WARNING] The <code>io/fs</code> based implementation (that used to be hidden behind a <code>finder</code> build tag) has been removed.</p> </blockquote> <h2>What's Changed</h2> <h3>Exciting New Features 🎉</h3> <ul> <li>Add NATS support by <a href="https://github.com/hooksie1"><code>@​hooksie1</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1590">spf13/viper#1590</a></li> <li>Add slog support by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1627">spf13/viper#1627</a></li> </ul> <h3>Enhancements 🚀</h3> <ul> <li>chore: add local development environment using nix by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1572">spf13/viper#1572</a></li> <li>feat: add func GetEnvPrefix by <a href="https://github.com/baruchiro"><code>@​baruchiro</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1565">spf13/viper#1565</a></li> <li>Improve dev env by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1575">spf13/viper#1575</a></li> <li>fix: code optimization by <a href="https://github.com/testwill"><code>@​testwill</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1557">spf13/viper#1557</a></li> <li>test: remove not needed testutil.Setenv by <a href="https://github.com/alexandear"><code>@​alexandear</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1610">spf13/viper#1610</a></li> <li>new finder library based on afero by <a href="https://github.com/sagikazarmark"><code>@​sagikazarmark</code></a> in <a href="https://redirect.github.com/spf13/viper/pull/1625">spf13/viper#1625</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/f62f86a84b8395051efe0e490a29f3f89830a3ed"><code>f62f86a</code></a> refactor: make use of <code>strings.Cut</code></li> <li><a href="https://github.com/spf13/viper/commit/94632fa21e01819de78bf0c931eb3cbdd1d426b4"><code>94632fa</code></a> chore: Use pip3 explicitly to install yamllint</li> <li><a href="https://github.com/spf13/viper/commit/3f6cadcbeb9f193f8483c9edf6c6114ca7a20056"><code>3f6cadc</code></a> chore: Fix copy-paste error for yamllint target</li> <li><a href="https://github.com/spf13/viper/commit/287507c0b5a13320f9b616e458ab7f3aadab1603"><code>287507c</code></a> docs: add set subset KV example</li> <li><a href="https://github.com/spf13/viper/commit/f1cb2262bbda4cc549e617f41ba963409f23871c"><code>f1cb226</code></a> chore(deps): update crypt</li> <li><a href="https://github.com/spf13/viper/commit/c292b55050aadcf08f9094033eb14d241f5002c5"><code>c292b55</code></a> test: refactor asserts</li> <li><a href="https://github.com/spf13/viper/commit/3d006fe361ca4ea1ec973e39ce40f98aa3d2f2c9"><code>3d006fe</code></a> refactor: replace interface{} with any</li> <li><a href="https://github.com/spf13/viper/commit/8a6dc5d43ce8b58288ec5b1db9ce83ab32580549"><code>8a6dc5d</code></a> build(deps): bump github/codeql-action from 2.21.8 to 2.21.9</li> <li><a href="https://github.com/spf13/viper/commit/96c5c0083fb4a0e42282fbf04b626ca6792d8885"><code>96c5c00</code></a> chore: remove deprecated build tags</li> <li><a href="https://github.com/spf13/viper/commit/44911d2cacff57448929c13f7346a1ea6ab13591"><code>44911d2</code></a> build(deps): bump github/codeql-action from 2.21.7 to 2.21.8</li> <li>Additional commits viewable in <a href="https://github.com/spf13/viper/compare/v1.7.0...v1.17.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.7.0&new-version=1.17.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 22:13:36 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#1864
No description provided.