Skip to content
v1.11.0
Compare
Choose a tag to compare

What's Changed

Exciting New Features 🎉

Enhancements 🚀

Bug Fixes 🐛

Breaking Changes 🛠

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

Full Changelog: v1.10.1...v1.11.0

v1.10.1
Compare
Choose a tag to compare

This is a maintenance release upgrading the Consul dependency fixing CVEs.

v1.10.0
Compare
Choose a tag to compare

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!

v1.9.0
Compare
Choose a tag to compare

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!

v1.8.1
Compare
Choose a tag to compare

This patch releases fixes two minor issues:

  • Replace %s with %w when wrapping errors
  • Fix pflag.StringArray processing
v1.8.0
Compare
Choose a tag to compare

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!

Compare
Choose a tag to compare

This release contains a bugfix for environment variable expansion. See #495 and #940 for details.

13df721
Compare
Choose a tag to compare

This release mostly contains bug and security fixes, but there are a few new features as well:

v1.6.3
59b1917
Compare
Choose a tag to compare

Fixes uninstallable library on clean GOPATH

v1.6.2
4525543
Compare
Choose a tag to compare

This is a patch release fixing a(n edge case) bug introduced in v1.6.0

See #818 and #827 for details