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.
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/spf13/viper](https://github.com/spf13/viper) | require | patch | `v1.18.0` -> `v1.18.2` |
---
### Release Notes
<details>
<summary>spf13/viper (github.com/spf13/viper)</summary>
### [`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 [@​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 [@​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
</details>
---
### 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.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNi43MS4wIiwidXBkYXRlZEluVmVyIjoiMzcuMzMuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
CSRBot
scheduled this pull request to auto merge when all checks succeed 2023-12-09 01:03:58 +01:00
CSRBot
changed title from chore(deps): update module github.com/spf13/viper to v1.18.1 to chore(deps): update module github.com/spf13/viper to v1.18.22023-12-18 21:06:05 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v1.18.0->v1.18.2Release Notes
spf13/viper (github.com/spf13/viper)
v1.18.2Compare 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
UnmarshalorUnmarshalExactto 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_structbuild 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.1Compare Source
What's Changed
Bug Fixes 🐛
Full Changelog: https://github.com/spf13/viper/compare/v1.18.0...v1.18.1
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.
This PR has been generated by Renovate Bot.
f4ad74d97eto84f8e9830f84f8e9830fto5cded3fb215cded3fb21to18322c8e2fchore(deps): update module github.com/spf13/viper to v1.18.1to chore(deps): update module github.com/spf13/viper to v1.18.218322c8e2fto7756f35648