Skip to content

Releases: knadh/koanf

v2.1.2

06 Nov 08:54
f13d85e
Compare
Choose a tag to compare

What's Changed

  • chore: Update godoc URL in README by @rhnvrm in #279
  • Add support for parser TOML v2 spec by @knadh in #286
  • Bump golang.org/x/net from 0.17.0 to 0.23.0 in /providers/consul by @dependabot in #289
  • Bump golang.org/x/net from 0.17.0 to 0.23.0 in /providers/vault by @dependabot in #288
  • Bump golang.org/x/net from 0.17.0 to 0.23.0 in /examples by @dependabot in #290
  • Bump golang.org/x/net from 0.17.0 to 0.23.0 in /providers/etcd by @dependabot in #287
  • upgrade toml v2 package to 2.2.2 by @GreyXor in #292
  • Bump github.com/hashicorp/go-retryablehttp from 0.7.2 to 0.7.7 in /providers/vault by @dependabot in #301
  • Upgrade fsnotify lib in file provider. by @knadh in #302
  • Bump github.com/hashicorp/go-retryablehttp from 0.7.2 to 0.7.7 in /examples by @dependabot in #303
  • Add Unwatch() to file provider. by @knadh in #306
  • docs: Improve marshal section by @bersace in #311
  • fix(basicflag): option not apply by @qianlongzt in #322
  • Fix incorrect unflatten in env provider. Closes #319. by @knadh in #324
  • fix: update file watch to trigger callback after symbolic link changes by @jondavidnd1 in #326
  • Update mapstructure to a stable version by @StefMa in #331

New Contributors

Full Changelog: v2.1.1...v2.1.2

v2.1.1

03 Apr 07:18
5c37bab
Compare
Choose a tag to compare

What's Changed

  • fix: run submodule tests by @rhnvrm in #276
  • Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 in /examples by @dependabot in #282
  • Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 in /providers/etcd by @dependabot in #281
  • Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 in /providers/nats by @dependabot in #280
  • feat: add ParserEnvWithValue by @tlipoca9 in #284
  • Fix map unflattening no-delimiter behaviour by @knadh in #278

New Contributors

Full Changelog: v2.1.0...v2.1.1

v2.1.0

06 Feb 10:02
6c6c498
Compare
Choose a tag to compare

Important

mitchellh/mapstructure#349 (comment) is discontinued and koanf has switched to using the fork github.com/go-viper/mapstructure/v2.

If you are referencing the mapstructure lib in your code (custom DecoderConfig), you have to switch the paths to the above forked version of mapstructure lib.

github.com/mitchellh/mapstructure -> github.com/go-viper/mapstructure/v2

What's Changed

Full Changelog: v2.0.2...v2.1.0

v2.0.2

02 Feb 12:17
Compare
Choose a tag to compare

Important

mitchellh/mapstructure#349 (comment) is discontinued and koanf has switched to using the fork github.com/go-viper/mapstructure/v2.

If you are referencing the mapstructure lib in your code (custom DecoderConfig), you have to switch the paths to the above forked version of koanf.

github.com/mitchellh/mapstructure => github.com/go-viper/mapstructure/v2

What's Changed

  • feat: add nats provider by @TECHNOFAB11 in #213
  • feat: add flag to optionally fetch secret metadata by @Thunderbottom in #219
  • chore: change WithMeta to ExcludeMeta for backwards compatibility by @Thunderbottom in #220
  • typos and little clearer code by @GreyXor in #222
  • Fixed a nil panic issue in vault provider by @wangkang in #224
  • Not use deprecated io/ioutil by @tchssk in #226
  • Proposal: support Vault auth method by @missedone in #229
  • Add parameterstore provider by @tchssk in #227
  • feat: optional support net/http transport by @missedone in #232
  • breaking change: #233 return error struct to avoid panic at runtime by @missedone in #234
  • Bump github.com/nats-io/nkeys from 0.4.4 to 0.4.6 in /providers/nats by @dependabot in #246
  • Bump golang.org/x/net from 0.7.0 to 0.17.0 in /providers/etcd by @dependabot in #248
  • Bump golang.org/x/net from 0.7.0 to 0.17.0 in /providers/vault by @dependabot in #247
  • Bump github.com/nats-io/nats-server/v2 from 2.9.15 to 2.9.23 in /providers/nats by @dependabot in #241
  • Bump google.golang.org/grpc from 1.53.0 to 1.56.3 in /providers/etcd by @dependabot in #243
  • fix: typo by @testwill in #251
  • Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /providers/vault by @dependabot in #261
  • Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /providers/nats by @dependabot in #260
  • Add optional Opt{} param that takes a koanf instance to match posflag's default value behaviour in basic flag. Closes #255. by @knadh in #259
  • Parser: KDL by @dezren39 in #266
  • Parser: KDL kdl-go dependency update by @dezren39 in #267

New Contributors

Full Changelog: v2.0.1...v2.0.2

v2.0.1

18 Apr 05:15
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

20 Feb 15:06
Compare
Choose a tag to compare

This is a major breaking change that ends koanf v1 (v1.5.0) and moves to v2. Continued usage of v1 is unaffected. While koanf does not bundle external dependencies into its core thereby avoiding them in the build, a go get would still pull them and go.mod, bringing in unnecessary references as all the providers and parsers were "sub" packages of the main module.

This PR upgrades koanf to v2 and separates every single provider and parser package into its own module, go.mod, and release tag (eg: providers/yaml/v0.1.0). That is, one-repository, many modules. This removes references to all indirect dependencies in the main koanf package significantly de-cluttering it.

What changes?

  • Going forward, koanf references should change to github.com/knadh/koanf/v2.
  • The required parsers and providers should be installed explicitly as they do not come bundled with the main koanf package anymore. Eg: go get github.com/knadh/koanf/providers/s3, go get github.com/knadh/koanf/parsers/json etc.
  • That's all. There is no change in functionality.

Full Changelog: v1.5.0...v2.0.0

v1.5.0

19 Jan 05:56
Compare
Choose a tag to compare

What's Changed

  • Add Set(key, val) shorthand for Merge(). by @knadh in #192

Full Changelog: v1.4.5...v1.5.0

v1.4.5

05 Jan 04:51
7c73646
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.4.4...v1.4.5

v1.4.4

21 Oct 11:39
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.4.3...v1.4.4

v1.4.2

17 Jun 14:55
c956b0d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.4.1...v1.4.2