Skip to content

v1.8.0

Compare
Choose a tag to compare
@sagikazarmark sagikazarmark released this 16 Jun 01:22
· 318 commits to master since this release
v1.8.0

This is a maintenance release primarily containing fixes and improvements. The most prominent change is the etcd update to 3.5.0. Thanks to proper Go modules support, the dependency graph became much smaller.

Changes

Added

  • Allow BindEnv to register multiple environment variables
  • Support for accessing slices
  • Experimental WASM support: Viper compiles on WASM
  • INI load options

Changed

  • Ensure BindPFlag detects a nil flag parameter

Fixed

  • Merging a key into a nil target
  • Panics during saving INI files

Security

  • Updated etcd to 3.5 which should make a lot of false positive vulnerability reports disappear

In addition to the above changes, this release comes with tons of minor improvements, documentation changes an dependency updates. Find more details in the 1.8.0 milestone.

Many thanks to everyone who contributed to this release!