github spf13/viper v1.18.0

latest releases: v1.18.2, v1.18.1
4 months ago

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 🐛

  • Implement viper.BindStruct for automatic unmarshalling from environment variables by @krakowski in #1429
  • fix isPathShadowedInFlatMap type cast bug by @linuxsong in #1585

Dependency Updates ⬆️

Other Changes

New Contributors

Full Changelog: v1.17.0...v1.18.0

Don't miss a new viper release

NewReleases is sending notifications on new releases.