Skip to content

Releases: spf13/viper

v1.10.1

15 Dec 13:11
v1.10.1
Compare
Choose a tag to compare

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

v1.10.0

12 Dec 03:05
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

19 Sep 23:26
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

25 Jun 11:58
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

16 Jun 01:22
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!

v1.7.1

31 Jul 21:40
Compare
Choose a tag to compare

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

v1.7.0

09 May 09:56
13df721
Compare
Choose a tag to compare

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

Release v1.6.3

09 Apr 18:22
v1.6.3
59b1917
Compare
Choose a tag to compare

Fixes uninstallable library on clean GOPATH

Fix extensionless config lookup

16 Jan 18:31
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

Fix config path lookup

06 Dec 16:30
Compare
Choose a tag to compare

This is a patch release fixing a bug introduced in v1.6.0