chore(deps): update module github.com/spf13/viper to v1.19.0 #11

Open
renovate wants to merge 1 commits from renovate/github.com-spf13-viper-1.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
github.com/spf13/viper require minor v1.15.0 -> v1.19.0

Release Notes

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

v1.19.0

Compare Source

What's Changed

Bug Fixes 🐛
Dependency Updates ⬆️
Other Changes

New Contributors

Full Changelog: https://github.com/spf13/viper/compare/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: https://github.com/spf13/viper/compare/v1.18.1...v1.18.2

v1.18.1

Compare Source

What's Changed

Bug Fixes 🐛

Full Changelog: https://github.com/spf13/viper/compare/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: https://github.com/spf13/viper/compare/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](https://pkg.go.dev/log/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: https://github.com/spf13/viper/compare/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: https://github.com/spf13/viper/compare/v1.15.0...v1.16.0


Configuration

📅 Schedule: 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/spf13/viper](https://github.com/spf13/viper) | require | minor | `v1.15.0` -> `v1.19.0` | --- ### Release Notes <details> <summary>spf13/viper (github.com/spf13/viper)</summary> ### [`v1.19.0`](https://github.com/spf13/viper/releases/tag/v1.19.0) [Compare Source](https://github.com/spf13/viper/compare/v1.18.2...v1.19.0) <!-- Release notes generated using configuration in .github/release.yml at v1.19.0 --> #### What's Changed ##### Bug Fixes 🐛 - fix!: hide struct binding behind a feature flag by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1720 ##### Dependency Updates ⬆️ - build(deps): bump github/codeql-action from 2.22.8 to 2.22.9 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1705 - build(deps): bump actions/setup-go from 4.1.0 to 5.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1703 - build(deps): bump github/codeql-action from 2.22.9 to 3.22.11 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1713 - build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.1.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1711 - build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1722 - build(deps): bump github/codeql-action from 3.22.11 to 3.23.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1734 - build(deps): bump actions/dependency-review-action from 3.1.4 to 3.1.5 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1731 - build(deps): bump mheap/github-action-required-labels from 5.1.0 to 5.2.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1743 - build(deps): bump github/codeql-action from 3.23.0 to 3.23.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1742 - build(deps): bump actions/dependency-review-action from 3.1.5 to 4.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1739 - build(deps): bump cachix/install-nix-action from 24 to 25 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1737 - build(deps): bump github/codeql-action from 3.23.2 to 3.24.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1751 - build(deps): bump github/codeql-action from 3.24.0 to 3.24.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1760 - build(deps): bump actions/dependency-review-action from 4.0.0 to 4.1.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1761 - build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1757 - build(deps): bump mheap/github-action-required-labels from 5.2.0 to 5.3.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1759 - build(deps): bump github/codeql-action from 3.24.1 to 3.24.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1763 - build(deps): bump github.com/sagikazarmark/crypt from 0.17.0 to 0.18.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1774 - build(deps): bump github/codeql-action from 3.24.3 to 3.24.5 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1770 - build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1776 - build(deps): bump github/codeql-action from 3.24.5 to 3.24.6 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1775 - build(deps): bump cachix/install-nix-action from 25 to 26 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1778 - build(deps): bump actions/dependency-review-action from 4.1.0 to 4.1.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1767 - build(deps): bump github/codeql-action from 3.24.6 to 3.24.9 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1790 - build(deps): bump mheap/github-action-required-labels from 5.3.0 to 5.4.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1789 - build(deps): bump actions/checkout from 4.1.1 to 4.1.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1780 - build(deps): bump actions/dependency-review-action from 4.1.3 to 4.2.4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1793 - chore: upgrade crypt by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1794 - build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1788 - build(deps): bump actions/dependency-review-action from 4.2.4 to 4.2.5 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1796 - build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1804 - build(deps): bump github/codeql-action from 3.24.9 to 3.25.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1806 - build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1807 - build(deps): bump actions/checkout from 4.1.2 to 4.1.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1808 - build(deps): bump actions/checkout from 4.1.3 to 4.1.4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1813 - build(deps): bump github/codeql-action from 3.25.1 to 3.25.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1811 - build(deps): bump mheap/github-action-required-labels from 5.4.0 to 5.4.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1817 - build(deps): bump actions/dependency-review-action from 4.2.5 to 4.3.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1821 - build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1822 - build(deps): bump actions/setup-go from 5.0.0 to 5.0.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1824 - build(deps): bump github/codeql-action from 3.25.2 to 3.25.4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1828 - build(deps): bump golangci/golangci-lint-action from 4.0.0 to 6.0.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1829 - build(deps): bump github/codeql-action from 3.25.4 to 3.25.7 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1844 - build(deps): bump cachix/install-nix-action from 26 to 27 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1833 - build(deps): bump actions/checkout from 4.1.4 to 4.1.6 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1835 ##### Other Changes - Update links to Golang Modules documentation by [@&#8203;tobb10001](https://github.com/tobb10001) in https://github.com/spf13/viper/pull/1758 - chore: add Go 1.22 support by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1762 - fix [#&#8203;1700](https://github.com/spf13/viper/issues/1700): update tests to use local viper instance by [@&#8203;smukk9](https://github.com/smukk9) in https://github.com/spf13/viper/pull/1791 - Update references to bketelsen/crypt by [@&#8203;skitt](https://github.com/skitt) in https://github.com/spf13/viper/pull/1842 #### New Contributors - [@&#8203;tobb10001](https://github.com/tobb10001) made their first contribution in https://github.com/spf13/viper/pull/1758 - [@&#8203;smukk9](https://github.com/smukk9) made their first contribution in https://github.com/spf13/viper/pull/1791 - [@&#8203;skitt](https://github.com/skitt) made their first contribution in https://github.com/spf13/viper/pull/1842 **Full Changelog**: https://github.com/spf13/viper/compare/v1.18.1...v1.19.0 ### [`v1.18.2`](https://github.com/spf13/viper/releases/tag/v1.18.2) [Compare Source](https://github.com/spf13/viper/compare/v1.18.1...v1.18.2) **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 🐛 - feat!: hide struct binding behind a feature flag by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1715 **Full Changelog**: https://github.com/spf13/viper/compare/v1.18.1...v1.18.2 ### [`v1.18.1`](https://github.com/spf13/viper/releases/tag/v1.18.1) [Compare Source](https://github.com/spf13/viper/compare/v1.18.0...v1.18.1) <!-- Release notes generated using configuration in .github/release.yml at v1.18.1 --> #### What's Changed ##### Bug Fixes 🐛 - Merge missing struct keys inside UnmarshalExact by [@&#8203;krakowski](https://github.com/krakowski) in https://github.com/spf13/viper/pull/1704 **Full Changelog**: https://github.com/spf13/viper/compare/v1.18.0...v1.18.1 ### [`v1.18.0`](https://github.com/spf13/viper/releases/tag/v1.18.0) [Compare Source](https://github.com/spf13/viper/compare/v1.17.0...v1.18.0) #### 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: [#&#8203;761](https://github.com/spf13/viper/issues/761)) [#&#8203;1429](https://github.com/spf13/viper/issues/1429) introduced a solution that solves that issue. #### What's Changed ##### Enhancements 🚀 - chore: rename files according to enabled build tags by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/spf13/viper/pull/1642 - test: replace ifs with asserts to simplify tests by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/spf13/viper/pull/1656 - ci: enable test shuffle and fix tests by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/spf13/viper/pull/1643 - fix: gocritic lint issues by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/spf13/viper/pull/1696 ##### Bug Fixes 🐛 - Implement viper.BindStruct for automatic unmarshalling from environment variables by [@&#8203;krakowski](https://github.com/krakowski) in https://github.com/spf13/viper/pull/1429 - fix isPathShadowedInFlatMap type cast bug by [@&#8203;linuxsong](https://github.com/linuxsong) in https://github.com/spf13/viper/pull/1585 ##### Dependency Updates ⬆️ - build(deps): bump github/codeql-action from 2.21.9 to 2.22.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1661 - build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1659 - build(deps): bump actions/checkout from 4.1.0 to 4.1.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1663 - build(deps): bump actions/github-script from 6.4.1 to 7.0.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1686 - build(deps): bump github/codeql-action from 2.22.3 to 2.22.8 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1688 - build(deps): bump github.com/spf13/afero from 1.10.0 to 1.11.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1692 - build(deps): bump actions/dependency-review-action from 3.1.0 to 3.1.4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1690 - build(deps): bump cachix/install-nix-action from 23 to 24 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1689 - build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1672 - build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1691 - build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1668 - chore: update dependencies by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1694 - chore: update crypt by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1701 ##### Other Changes - Add info about multiple hosts for remote config by [@&#8203;KaymeKaydex](https://github.com/KaymeKaydex) in https://github.com/spf13/viper/pull/1684 - refactor: drop fsonitfy wrapper by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1693 - Note Get\* behavior on parse failure by [@&#8203;scop](https://github.com/scop) in https://github.com/spf13/viper/pull/1687 - fix: godot lint issues by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/spf13/viper/pull/1657 #### New Contributors - [@&#8203;KaymeKaydex](https://github.com/KaymeKaydex) made their first contribution in https://github.com/spf13/viper/pull/1684 - [@&#8203;krakowski](https://github.com/krakowski) made their first contribution in https://github.com/spf13/viper/pull/1429 - [@&#8203;linuxsong](https://github.com/linuxsong) made their first contribution in https://github.com/spf13/viper/pull/1585 **Full Changelog**: https://github.com/spf13/viper/compare/v1.17.0...v1.18.0 ### [`v1.17.0`](https://github.com/spf13/viper/releases/tag/v1.17.0) [Compare Source](https://github.com/spf13/viper/compare/v1.16.0...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](https://github.com/spf13/viper/releases/tag/v1.11.0) added an experimental `Logger` interface to allow custom implementations (besides [jwalterweatherman](https://github.com/spf13/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](https://pkg.go.dev/log/slog) released in Go 1.21. > \[!WARNING] > `WithLogger` accepts an [\*slog.Logger](https://pkg.go.dev/log/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](https://pkg.go.dev/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](https://github.com/sagikazarmark/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 🎉 - Add NATS support by [@&#8203;hooksie1](https://github.com/hooksie1) in https://github.com/spf13/viper/pull/1590 - Add slog support by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1627 ##### Enhancements 🚀 - chore: add local development environment using nix by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1572 - feat: add func GetEnvPrefix by [@&#8203;baruchiro](https://github.com/baruchiro) in https://github.com/spf13/viper/pull/1565 - Improve dev env by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1575 - fix: code optimization by [@&#8203;testwill](https://github.com/testwill) in https://github.com/spf13/viper/pull/1557 - test: remove not needed testutil.Setenv by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/spf13/viper/pull/1610 - new finder library based on afero by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1625 - refactor: make use of `strings.Cut` by [@&#8203;scop](https://github.com/scop) in https://github.com/spf13/viper/pull/1650 ##### Breaking Changes 🛠 - feat: drop support for Go 1.17 by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1574 ##### Dependency Updates ⬆️ - build(deps): bump mheap/github-action-required-labels from 4 to 5 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1563 - build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1558 - build(deps): bump cachix/install-nix-action from 21 to 22 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1573 - build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1586 - chore: upgrade crypt by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1589 - build(deps): bump actions/checkout from 3.5.3 to 4.0.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1616 - build(deps): bump github/codeql-action from 2.21.2 to 2.21.5 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1615 - build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1614 - build(deps): bump actions/dependency-review-action from 3.0.6 to 3.0.8 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1605 - build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1604 - build(deps): bump actions/setup-go from 4.0.1 to 4.1.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1593 - build(deps): bump github.com/subosito/gotenv from 1.4.2 to 1.6.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1603 - build(deps): bump cachix/install-nix-action from 22 to 23 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1620 - chore(deps): update crypt by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1621 - build(deps): bump actions/dependency-review-action from 3.0.8 to 3.1.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1623 - Bump minimum Go version to 1.19 by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1626 - build(deps): bump github/codeql-action from 2.21.5 to 2.21.6 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1632 - build(deps): bump github/codeql-action from 2.21.6 to 2.21.7 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1634 - build(deps): bump actions/checkout from 4.0.0 to 4.1.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1641 - build(deps): bump github.com/spf13/afero from 1.9.5 to 1.10.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1640 - build(deps): bump github/codeql-action from 2.21.7 to 2.21.8 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1638 - build(deps): bump github/codeql-action from 2.21.8 to 2.21.9 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1648 - chore(deps): update crypt by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1652 ##### Other Changes - \[StepSecurity] ci: Harden GitHub Actions by [@&#8203;step-security-bot](https://github.com/step-security-bot) in https://github.com/spf13/viper/pull/1592 - Add Vitess to list of projects using Viper by [@&#8203;systay](https://github.com/systay) in https://github.com/spf13/viper/pull/1619 - docs: fix typos in comments by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/spf13/viper/pull/1609 - ci: add Go 1.21 to the test matrix by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1622 - Remove usages of deprecated io/ioutil; simplify viper tests by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/spf13/viper/pull/1631 - chore: remove deprecated build tags by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/spf13/viper/pull/1630 - refactor: replace 'interface{}' with 'any' by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/spf13/viper/pull/1646 - test: refactor asserts by [@&#8203;alexandear](https://github.com/alexandear) in https://github.com/spf13/viper/pull/1644 - docs: add set subset KV example by [@&#8203;yhliyr](https://github.com/yhliyr) in https://github.com/spf13/viper/pull/1647 - Make deps fixes by [@&#8203;bersace](https://github.com/bersace) in https://github.com/spf13/viper/pull/1628 #### New Contributors - [@&#8203;goldeneggg](https://github.com/goldeneggg) made their first contribution in https://github.com/spf13/viper/pull/1561 - [@&#8203;baruchiro](https://github.com/baruchiro) made their first contribution in https://github.com/spf13/viper/pull/1565 - [@&#8203;testwill](https://github.com/testwill) made their first contribution in https://github.com/spf13/viper/pull/1557 - [@&#8203;step-security-bot](https://github.com/step-security-bot) made their first contribution in https://github.com/spf13/viper/pull/1592 - [@&#8203;systay](https://github.com/systay) made their first contribution in https://github.com/spf13/viper/pull/1619 - [@&#8203;alexandear](https://github.com/alexandear) made their first contribution in https://github.com/spf13/viper/pull/1609 - [@&#8203;hooksie1](https://github.com/hooksie1) made their first contribution in https://github.com/spf13/viper/pull/1590 - [@&#8203;yhliyr](https://github.com/yhliyr) made their first contribution in https://github.com/spf13/viper/pull/1647 - [@&#8203;bersace](https://github.com/bersace) made their first contribution in https://github.com/spf13/viper/pull/1628 - [@&#8203;scop](https://github.com/scop) made their first contribution in https://github.com/spf13/viper/pull/1650 **Full Changelog**: https://github.com/spf13/viper/compare/v1.16.0...v1.17.0 ### [`v1.16.0`](https://github.com/spf13/viper/releases/tag/v1.16.0) [Compare Source](https://github.com/spf13/viper/compare/v1.15.0...v1.16.0) <!-- Release notes generated using configuration in .github/release.yml at v1.16.0 --> #### What's Changed ##### Enhancements 🚀 - Sub parent inheritance by [@&#8203;TaylorOno](https://github.com/TaylorOno) in https://github.com/spf13/viper/pull/1056 - fix: fix typo by [@&#8203;yquansah](https://github.com/yquansah) in https://github.com/spf13/viper/pull/1523 - ci: add Go 1.20 to build matrix by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in https://github.com/spf13/viper/pull/1506 - extend v.find() to handle stringToInt value types with stringToInt pflag [#&#8203;1435](https://github.com/spf13/viper/issues/1435) by [@&#8203;vorishirne](https://github.com/vorishirne) in https://github.com/spf13/viper/pull/1462 - add:viper: allow to disable internal log messages by [@&#8203;burgesQ](https://github.com/burgesQ) in https://github.com/spf13/viper/pull/1483 - Allow ConfigParseError to unwrap by [@&#8203;andig](https://github.com/andig) in https://github.com/spf13/viper/pull/1433 ##### Bug Fixes 🐛 - fix: time.Duration slice type conversion by [@&#8203;UrbanskiDawid](https://github.com/UrbanskiDawid) in https://github.com/spf13/viper/pull/1498 ##### Dependency Updates ⬆️ - build(deps): bump mheap/github-action-required-labels from 3 to 4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1533 - build(deps): bump actions/setup-go from 3 to 4 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1526 - build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1519 - build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.0.7 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1516 - build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1515 - build(deps): bump github.com/spf13/afero from 1.9.3 to 1.9.5 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1518 - build(deps): bump github.com/sagikazarmark/crypt from 0.9.0 to 0.10.0 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1550 - build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1551 - build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1553 - build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.7 to 2.0.8 by [@&#8203;dependabot](https://github.com/dependabot) in https://github.com/spf13/viper/pull/1555 ##### Other Changes - Update main image to better handle dark background by [@&#8203;Deleplace](https://github.com/Deleplace) in https://github.com/spf13/viper/pull/1532 #### New Contributors - [@&#8203;UrbanskiDawid](https://github.com/UrbanskiDawid) made their first contribution in https://github.com/spf13/viper/pull/1498 - [@&#8203;TaylorOno](https://github.com/TaylorOno) made their first contribution in https://github.com/spf13/viper/pull/1056 - [@&#8203;yquansah](https://github.com/yquansah) made their first contribution in https://github.com/spf13/viper/pull/1523 - [@&#8203;Azanul](https://github.com/Azanul) made their first contribution in https://github.com/spf13/viper/pull/1544 - [@&#8203;Deleplace](https://github.com/Deleplace) made their first contribution in https://github.com/spf13/viper/pull/1532 - [@&#8203;cfabianski](https://github.com/cfabianski) made their first contribution in https://github.com/spf13/viper/pull/1552 - [@&#8203;vorishirne](https://github.com/vorishirne) made their first contribution in https://github.com/spf13/viper/pull/1462 - [@&#8203;burgesQ](https://github.com/burgesQ) made their first contribution in https://github.com/spf13/viper/pull/1483 - [@&#8203;andig](https://github.com/andig) made their first contribution in https://github.com/spf13/viper/pull/1433 **Full Changelog**: https://github.com/spf13/viper/compare/v1.15.0...v1.16.0 </details> --- ### Configuration 📅 **Schedule**: 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
renovate added the
renovate
label 2024-09-15 02:01:14 +02:00
renovate added 1 commit 2024-09-15 02:01:14 +02:00
chore(deps): update module github.com/spf13/viper to v1.19.0
Some checks failed
renovate/artifacts Artifact file update failure
2f878924e1
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/spf13/viper v1.19.0
go: downloading golang.org/x/sys v0.18.0
go: downloading golang.org/x/term v0.18.0
go: downloading golang.org/x/net v0.23.0
go: downloading google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9
go: downloading go.uber.org/multierr v1.9.0
go: downloading golang.org/x/crypto v0.21.0
go: downloading github.com/golang/protobuf v1.5.3
go: downloading google.golang.org/protobuf v1.33.0
go: downloading github.com/fsnotify/fsnotify v1.7.0
go: downloading github.com/sagikazarmark/locafero v0.4.0
go: downloading github.com/sagikazarmark/slog-shim v0.1.0
go: downloading github.com/spf13/afero v1.11.0
go: downloading github.com/spf13/cast v1.6.0
go: downloading golang.org/x/tools v0.13.0
go: downloading golang.org/x/mod v0.12.0
go: downloading golang.org/x/exp v0.0.0-20230905200255-921286631fa9
go: downloading google.golang.org/grpc v1.62.1
go: downloading github.com/sourcegraph/conc v0.3.0
go: downloading github.com/subosito/gotenv v1.6.0
go: downloading github.com/pelletier/go-toml/v2 v2.2.2
go: downloading github.com/klauspost/compress v1.17.2
go: downloading github.com/mattn/go-isatty v0.0.17
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240311132316-a219d84964c2
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240314234333-6e1732d8331c
go: gitea.ocram85.com/OCram85/caddy-gitea imports
	gitea.orcram85.com/OCram85/caddy-gitea/pkg/gitea: cannot find module providing package gitea.orcram85.com/OCram85/caddy-gitea/pkg/gitea

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: go.sum ``` Command failed: go get -d -t ./... go: -d flag is deprecated. -d=true is a no-op go: downloading github.com/spf13/viper v1.19.0 go: downloading golang.org/x/sys v0.18.0 go: downloading golang.org/x/term v0.18.0 go: downloading golang.org/x/net v0.23.0 go: downloading google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 go: downloading go.uber.org/multierr v1.9.0 go: downloading golang.org/x/crypto v0.21.0 go: downloading github.com/golang/protobuf v1.5.3 go: downloading google.golang.org/protobuf v1.33.0 go: downloading github.com/fsnotify/fsnotify v1.7.0 go: downloading github.com/sagikazarmark/locafero v0.4.0 go: downloading github.com/sagikazarmark/slog-shim v0.1.0 go: downloading github.com/spf13/afero v1.11.0 go: downloading github.com/spf13/cast v1.6.0 go: downloading golang.org/x/tools v0.13.0 go: downloading golang.org/x/mod v0.12.0 go: downloading golang.org/x/exp v0.0.0-20230905200255-921286631fa9 go: downloading google.golang.org/grpc v1.62.1 go: downloading github.com/sourcegraph/conc v0.3.0 go: downloading github.com/subosito/gotenv v1.6.0 go: downloading github.com/pelletier/go-toml/v2 v2.2.2 go: downloading github.com/klauspost/compress v1.17.2 go: downloading github.com/mattn/go-isatty v0.0.17 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240311132316-a219d84964c2 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240314234333-6e1732d8331c go: gitea.ocram85.com/OCram85/caddy-gitea imports gitea.orcram85.com/OCram85/caddy-gitea/pkg/gitea: cannot find module providing package gitea.orcram85.com/OCram85/caddy-gitea/pkg/gitea ```
Some checks failed
renovate/artifacts Artifact file update failure
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/github.com-spf13-viper-1.x:renovate/github.com-spf13-viper-1.x
git checkout renovate/github.com-spf13-viper-1.x
Sign in to join this conversation.
No description provided.