Skip to content

Update module github.com/spf13/viper to v1.21.0#6

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-spf13-viper-1.x
Open

Update module github.com/spf13/viper to v1.21.0#6
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-spf13-viper-1.x

Conversation

@renovate

@renovate renovate Bot commented Oct 24, 2022

Copy link
Copy Markdown

ℹ️ 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.8.1v1.21.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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 🛠

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from bd9bec6 to fe1b441 Compare November 6, 2022 14:31
@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 6, 2022
@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 fe1b441 to bacd832 Compare March 16, 2023 12:05
@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 Jun 1, 2023
@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from bacd832 to 49d0cb2 Compare June 1, 2023 07:58
@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 7, 2023
@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 49d0cb2 to 7aae133 Compare October 7, 2023 05:49
@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 7, 2023
@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 7aae133 to 02c4dac Compare December 7, 2023 05:49
@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 9, 2023
@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 02c4dac to 37e6404 Compare December 9, 2023 08:21
@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 37e6404 to cfd7b07 Compare December 19, 2023 08:44
@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 19, 2023
@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from cfd7b07 to eaec427 Compare June 4, 2024 05:30
@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 4, 2024
@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from eaec427 to baee538 Compare March 16, 2025 03:43
@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 16, 2025
@renovate

renovate Bot commented Mar 16, 2025

Copy link
Copy Markdown
Author

ℹ 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):

  • 10 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.19 -> 1.23.0
github.com/stretchr/testify v1.7.0 -> v1.11.1
github.com/fsnotify/fsnotify v1.4.9 -> v1.9.0
github.com/spf13/afero v1.6.0 -> v1.15.0
github.com/spf13/cast v1.3.1 -> v1.10.0
github.com/spf13/pflag v1.0.5 -> v1.0.10
github.com/subosito/gotenv v1.2.0 -> v1.6.0
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c -> v0.16.0
golang.org/x/sys v0.0.0-20211110154304-99a53858aa08 -> v0.29.0
golang.org/x/text v0.3.6 -> v0.28.0
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b -> v3.0.1

@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from baee538 to 5b97f61 Compare March 29, 2025 03:40
@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 29, 2025
@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 5b97f61 to f816a3e Compare April 11, 2025 20:21
@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from f816a3e to 37a6e24 Compare May 10, 2025 12:21
@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 37a6e24 to 0cd7733 Compare August 14, 2025 20:06
@renovate renovate Bot force-pushed the renovate/github.com-spf13-viper-1.x branch from 0cd7733 to ca89ed5 Compare September 9, 2025 19:34
@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 9, 2025
@renovate

renovate Bot commented Dec 18, 2025

Copy link
Copy Markdown
Author

ℹ️ 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):

  • 10 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.19 -> 1.23.0
github.com/stretchr/testify v1.7.0 -> v1.11.1
github.com/fsnotify/fsnotify v1.4.9 -> v1.9.0
github.com/spf13/afero v1.6.0 -> v1.15.0
github.com/spf13/cast v1.3.1 -> v1.10.0
github.com/spf13/pflag v1.0.5 -> v1.0.10
github.com/subosito/gotenv v1.2.0 -> v1.6.0
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c -> v0.16.0
golang.org/x/sys v0.0.0-20211110154304-99a53858aa08 -> v0.29.0
golang.org/x/text v0.3.6 -> v0.28.0
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b -> v3.0.1

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