Sourced from github.com/spf13/viper's releases.
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 parameterFixed
- 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!
faa8ba0
chore: update gotestsum65ee986
chore(lint): fix gofumpt04ef5fa
chore: update golangci-lintacd965b
Add ini load options argument5f4d053
chore(deps): update dependenciesdd57ae6
chore(deps): update etcdcdb5e59
Fix merging a key into a nil target36be6bf
feat: make sure Viper compiles on WASM727a41c
doc: add a note about concurent Get/Set to godoccb41ae0
doc: discuss concurrency in README