Sourced from github.com/spf13/viper's releases.
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
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 š
- feat!: hide struct binding behind a feature flag by
@āsagikazarmarkin spf13/viper#1715Full Changelog: https://github.com/spf13/viper/compare/v1.18.1...v1.18.2
ab3a50c fix!: hide struct binding behind a feature flag9154b90 build(deps): bump actions/setup-go from 4.1.0 to 5.0.008e4a00 build(deps): bump github/codeql-action from 2.22.8 to 2.22.9