Releases: spf13/viper
v1.9.0
This is a maintenance release primarily containing minor fixes and improvements.
Changes
Added
- Experimental new encoding layer
- Add support for tfvarsfiles
Fixed
- Writing hidden files with no extension
- InConfigprocessing paths
In addition to the above changes, this release comes with tons of minor improvements, documentation changes an dependency updates.
Many thanks to everyone who contributed to this release!
v1.8.1
This patch releases fixes two minor issues:
- Replace %swith%wwhen wrapping errors
- Fix pflag.StringArrayprocessing
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 BindPFlagdetects 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!
v1.7.1
v1.7.0
This release mostly contains bug and security fixes, but there are a few new features as well:
- The unmaintained github.com/xordataexchange/crypt has been replaced with github.com/bketelsen/crypt
- Added firestore support as a remote config source (thanks @alxmsl)
Release v1.6.3
Fixes uninstallable library on clean GOPATH
Fix extensionless config lookup
Fix config path lookup
This is a patch release fixing a bug introduced in v1.6.0
v1.6.0
Changes
Added
- Global UnmarshalExactmethod
- StringReplacerinterface for custom environment key replacing logic
- GolangCI Lint
- INI support
- Key delimiter made configurable
- Support for config files without extensions
Changed
- Moved to GitHub actions build from Travis
Fixed
- IsSetno longer returns true when an unset key has a flags bound
- SafeWriteConfigAsworks as expected
Happy Holidays!
v1.5.0
Documentation and other fixes