Skip to content

Update module github.com/spf13/viper to v1.21.0 - autoclosed#243

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-spf13-viper-1.x
Closed

Update module github.com/spf13/viper to v1.21.0 - autoclosed#243
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-spf13-viper-1.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 7, 2022

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
github.com/spf13/viper v1.7.1v1.21.0 age confidence

Release Notes

spf13/viper (github.com/spf13/viper)

v1.21.0

Compare Source

What's Changed

Enhancements 🚀
Bug Fixes 🐛
Dependency Updates ⬆️
Other Changes

New Contributors

Full Changelog: spf13/viper@v1.20.0...v1.21.0

v1.20.1

Compare Source

What's Changed

Bug Fixes 🐛

Full Changelog: spf13/viper@v1.20.0...v1.20.1

v1.20.0

Compare Source

[!WARNING]
This release includes a few minor breaking changes. Read the upgrade guide for details.

What's Changed

Exciting New Features 🎉
Enhancements 🚀
Bug Fixes 🐛
Breaking Changes 🛠
Dependency Updates ⬆️
Other Changes

New Contributors

Full Changelog: spf13/viper@v1.19.0...v1.20.0

v1.19.0

Compare Source

What's Changed

Bug Fixes 🐛
Dependency Updates ⬆️
Other Changes

New Contributors

Full Changelog: spf13/viper@v1.18.1...v1.19.0

v1.18.2

Compare Source

tl;dr Skip 1.18.0 and 1.18.1 and upgrade to this version instead.

This release fixes a regression that appears in rare circumstances when using Unmarshal or UnmarshalExact to decode values onto pointers with multiple indirection (eg. pointer to a pointer, etc). The change was introduced in 1.18.0 as a means to resolve a long-standing bug when decoding environment variables to structs.

The feature is now disabled by default and can be enabled using the viper_bind_struct build tag. It's also considered experimental at this point, so breaking changes may be introduced in the future.

What's Changed

Bug Fixes 🐛

Full Changelog: spf13/viper@v1.18.1...v1.18.2

v1.18.1

Compare Source

What's Changed

Bug Fixes 🐛

Full Changelog: spf13/viper@v1.18.0...v1.18.1

v1.18.0

Compare Source

Major changes

Highlighting some of the changes for better visibility.

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

AutomaticEnv works with Unmarshal

Previously, environment variables that weren't bound manually or had no defaults could not be mapped by Unmarshal. (The problem is explained in details in this issue: #​761)

#​1429 introduced a solution that solves that issue.

What's Changed

Enhancements 🚀
Bug Fixes 🐛
Dependency Updates ⬆️
Other Changes

New Contributors

Full Changelog: spf13/viper@v1.17.0...v1.18.0

v1.17.0

Compare Source

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 🚀
Breaking Changes 🛠
Dependency Updates ⬆️
Other Changes

New Contributors

Full Changelog: spf13/viper@v1.16.0...v1.17.0

v1.16.0

Compare Source

What's Changed

Enhancements 🚀
Bug Fixes 🐛
Dependency Updates ⬆️
Other Changes

New Contributors

Full Changelog: spf13/viper@v1.15.0...v1.16.0

v1.15.0

Compare Source

What's Changed

Exciting New Features 🎉
Enhancements 🚀
Breaking Changes 🛠
Dependency Updates ⬆️
  • bui

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov
Copy link

codecov bot commented Mar 7, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.85%. Comparing base (b1e154c) to head (0ff953f).

Current head 0ff953f differs from pull request most recent head 1faca12

Please upload reports for the commit 1faca12 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #243      +/-   ##
==========================================
+ Coverage   40.58%   42.85%   +2.26%     
==========================================
  Files          18       18              
  Lines         441      518      +77     
==========================================
+ Hits          179      222      +43     
- Misses        242      275      +33     
- Partials       20       21       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.10.1 Update module github.com/spf13/viper to v1.11.0 Apr 25, 2022
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 0ff953f to 0d1520d Compare April 25, 2022 00:30
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 0d1520d to 73ea92d Compare June 18, 2022 16:19
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.11.0 Update module github.com/spf13/viper to v1.12.0 Jun 18, 2022
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 73ea92d to da88c08 Compare September 25, 2022 20:05
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.12.0 Update module github.com/spf13/viper to v1.13.0 Sep 25, 2022
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.13.0 Update module github.com/spf13/viper to v1.14.0 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from da88c08 to 83b4e4d Compare November 20, 2022 10:58
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.14.0 Update module github.com/spf13/viper to v1.15.0 Mar 16, 2023
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 83b4e4d to 0f07ef7 Compare March 16, 2023 11:52
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 0f07ef7 to 52eec99 Compare March 24, 2023 22:01
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.15.0 Update module github.com/spf13/viper to v1.16.0 May 30, 2023
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 52eec99 to 27dabf1 Compare May 30, 2023 13:27
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.16.0 Update module github.com/spf13/viper to v1.17.0 Oct 6, 2023
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 27dabf1 to 7a3b9fb Compare October 6, 2023 16:28
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 7a3b9fb to 25ffaa5 Compare December 6, 2023 16:31
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.17.0 Update module github.com/spf13/viper to v1.18.0 Dec 6, 2023
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 25ffaa5 to dbc560d Compare December 8, 2023 17:16
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.18.0 Update module github.com/spf13/viper to v1.18.1 Dec 8, 2023
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from dbc560d to 90254e3 Compare December 18, 2023 21:24
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.18.1 Update module github.com/spf13/viper to v1.18.2 Dec 18, 2023
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 90254e3 to 1faca12 Compare June 2, 2024 11:21
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.18.2 Update module github.com/spf13/viper to v1.19.0 Jun 2, 2024
@coderabbitai
Copy link

coderabbitai bot commented Jun 2, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate
Copy link
Contributor Author

renovate bot commented Jun 4, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.14 -> 1.23.0

@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.19.0 Update module github.com/spf13/viper to v1.19.0 - autoclosed Dec 18, 2024
@renovate renovate bot closed this Dec 18, 2024
@renovate renovate bot deleted the renovate/github.com-spf13-viper-1.x branch December 18, 2024 12:46
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.19.0 - autoclosed Update module github.com/spf13/viper to v1.19.0 Dec 18, 2024
@renovate renovate bot reopened this Dec 18, 2024
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 4c401d4 to 1faca12 Compare December 18, 2024 17:09
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 1faca12 to 089b8d5 Compare March 15, 2025 16:41
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.19.0 Update module github.com/spf13/viper to v1.20.0 Mar 15, 2025
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 089b8d5 to 33d1c2a Compare March 26, 2025 18:33
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.20.0 Update module github.com/spf13/viper to v1.20.1 Mar 26, 2025
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 33d1c2a to 4adfce1 Compare April 8, 2025 15:45
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 4adfce1 to 5502a79 Compare May 7, 2025 10:11
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 5502a79 to 75dddb6 Compare August 10, 2025 12:31
@renovate renovate bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 75dddb6 to 9bf1428 Compare September 8, 2025 17:27
@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.20.1 Update module github.com/spf13/viper to v1.21.0 Sep 8, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Dec 15, 2025

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.14 -> 1.23.0

@renovate renovate bot changed the title Update module github.com/spf13/viper to v1.21.0 Update module github.com/spf13/viper to v1.21.0 - autoclosed Mar 19, 2026
@renovate renovate bot closed this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants