What's Changed
Exciting New Features 🎉
- Experimental yaml v3 library support by @sagikazarmark in #1273
- Experimental toml v2 support by @sagikazarmark in #1274
- Experimental logger by @sagikazarmark in #1275
Enhancements 🚀
- Remove unnecessary operand by @steviebps in #1213
- Improve encoding layer by @sagikazarmark in #1167
- Allow merging configs with different types of leaf values by @illarion in #1181
Bug Fixes 🐛
- Disable race detector on windows by @sagikazarmark in #1269
Breaking Changes 🛠
- Drop Go 1.14 support by @sagikazarmark in #1327
Dependency Updates ⬆️
- build(deps): bump github.com/spf13/afero from 1.6.0 to 1.7.0 by @dependabot in #1265
- build(deps): bump github.com/spf13/afero from 1.7.0 to 1.7.1 by @dependabot in #1271
- build(deps): bump github.com/spf13/afero from 1.7.1 to 1.8.0 by @dependabot in #1281
- build(deps): bump gopkg.in/ini.v1 from 1.66.2 to 1.66.3 by @dependabot in #1287
- build(deps): bump github.com/spf13/afero from 1.8.0 to 1.8.1 by @dependabot in #1291
- build(deps): bump actions/github-script from 5 to 6 by @dependabot in #1295
- build(deps): bump actions/checkout from 2 to 3 by @dependabot in #1304
- build(deps): bump github.com/magiconair/properties from 1.8.5 to 1.8.6 by @dependabot in #1299
- build(deps): bump gopkg.in/ini.v1 from 1.66.3 to 1.66.4 by @dependabot in #1293
- build(deps): bump github.com/spf13/afero from 1.8.1 to 1.8.2 by @dependabot in #1311
- build(deps): bump actions/setup-go from 2 to 3 by @dependabot in #1319
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.0-beta.6 to 2.0.0-beta.7 by @dependabot in #1320
- build(deps): bump github.com/pelletier/go-toml/v2 from 2.0.0-beta.7 to 2.0.0-beta.8 by @dependabot in #1322
- Update crypt by @sagikazarmark in #1325
New Contributors
- @steviebps made their first contribution in #1213
- @illarion made their first contribution in #1181
Full Changelog: v1.10.1...v1.11.0
This is a maintenance release primarily containing minor fixes and improvements.
Changes
Added
- Experimental finder based on io/fs
- Tests are executed on Windows
- Tests are executed on Go 1.17
- Logger interface to decouple Viper from JWW
In addition to the above changes, this release comes with minor improvements, documentation changes an dependency updates.
Many thanks to everyone who contributed to this release!
This is a maintenance release primarily containing minor fixes and improvements.
Changes
Added
- Experimental new encoding layer
- Add support for
tfvars
files
Fixed
- Writing hidden files with no extension
InConfig
processing 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!
This patch releases fixes two minor issues:
- Replace
%s
with%w
when wrapping errors - Fix
pflag.StringArray
processing
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!
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)