Releases: knadh/koanf
v2.3.2
v2.3.1
What's Changed
- providers/cliflagv3: Set the flags if they have a default value by @xescugc in #382
- fix panic in dotenv parser when callback function is not provided by @nilsocket in #387
- Bump golang.org/x/crypto from 0.40.0 to 0.45.0 in /providers/kiln by @dependabot[bot] in #391
- Bump golang.org/x/crypto from 0.37.0 to 0.45.0 in /providers/nats by @dependabot[bot] in #390
- refactor
interface{}toanyby @nilsocket in #385 - fix: pass event to callback instead of nil when file changes detected by @josepdcs in #384
New Contributors
- @xescugc made their first contribution in #382
- @nilsocket made their first contribution in #387
- @josepdcs made their first contribution in #384
Full Changelog: v2.3.0...v2.3.1
v2.3.0
What's Changed
- feat: add provider for kiln by @Thunderbottom in #369
- Fix rendering of header and add it to the table of contents by @remyzandwijk in #373
- Bump github.com/go-viper/mapstructure/v2 from 2.0.0-alpha.1 to 2.4.0 in /examples by @dependabot[bot] in #375
- feat: add HUML parser support by @rhnvrm in #374
- Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.4.0 in /tests by @dependabot[bot] in #376
- Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.4.0 in /providers/cliflagv3 by @dependabot[bot] in #378
- Bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 in /providers/cliflagv2 by @dependabot[bot] in #380
- Add thread safety to resolve race conditions in Issues #305 and #335 by @rhnvrm in #377
- fix: bump mapstructure version by @rostislaved in #381
New Contributors
- @remyzandwijk made their first contribution in #373
- @rostislaved made their first contribution in #381
Full Changelog: v2.2.2...v2.3.0
v2.2.2
What's Changed
- Replace yaml package with go.yaml.in/yaml/v3 by @devhaozi in #365
- Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 in /providers/cliflagv2 by @dependabot[bot] in #366
- Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 by @dependabot[bot] in #367
- feat: config to override env vars by @nickajacks1 in #341
New Contributors
- @devhaozi made their first contribution in #365
- @nickajacks1 made their first contribution in #341
Full Changelog: v2.2.1...v2.2.2
v2.2.1
What's Changed
- Bump github.com/nats-io/nats-server/v2 from 2.9.23 to 2.10.27 in /providers/nats by @dependabot in #350
- Bump golang.org/x/net from 0.36.0 to 0.38.0 in /providers/consul by @dependabot in #351
- Bump golang.org/x/net from 0.37.0 to 0.38.0 in /examples by @dependabot in #353
- changing cliflagv2 to support variadic forcedinclude parameter by @kooroo in #357
- adds urfave/cli/v3 parser by @n0cloud in #361
- add toggle to split nats kv on "." delimiter by @nickchomey in #355
New Contributors
- @kooroo made their first contribution in #357
- @n0cloud made their first contribution in #361
- @nickchomey made their first contribution in #355
Full Changelog: v2.2.0...v2.2.1
v2.2.0
This release sets the min required Go version to v1.23.0
An increasing number of important updates to various deps, including golang.org/x/*, require go >= 1.23.0. It is now untenable
to maintain support for older Go versions. This does not break existing installations, just that further updates will only be available to newer Go versions.
What's Changed
- Update CI by @StefMa in #332
- Fix typos by @NathanBaulch in #336
- adds urfave/cli/v2 flag parser by @joicemjoseph in #330
- Bump golang.org/x/net from 0.23.0 to 0.36.0 in /providers/consul by @dependabot in #342
- Added support for Azure Keyvault by @arawin1979 in #343
- Bump golang.org/x/crypto from 0.21.0 to 0.35.0 in /providers/vault by @dependabot in #348
- Bump golang.org/x/crypto from 0.17.0 to 0.35.0 in /providers/nats by @dependabot in #347
- Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in /examples by @dependabot in #346
- Bump golang.org/x/net from 0.23.0 to 0.36.0 in /providers/vault by @dependabot in #344
- Upgrade min Go version and deps across all providers and parsers by @knadh in #349
New Contributors
- @NathanBaulch made their first contribution in #336
- @joicemjoseph made their first contribution in #330
- @arawin1979 made their first contribution in #343
Full Changelog: v2.1.2...v2.2.0
v2.1.2
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
- @bersace made their first contribution in #311
- @qianlongzt made their first contribution in #322
- @jondavidnd1 made their first contribution in #326
- @StefMa made their first contribution in #331
Full Changelog: v2.1.1...v2.1.2
v2.1.1
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
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
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
- @TECHNOFAB11 made their first contribution in #213
- @GreyXor made their first contribution in #222
- @wangkang made their first contribution in #224
- @tchssk made their first contribution in #226
- @missedone made their first contribution in #229
- @testwill made their first contribution in #251
- @dezren39 made their first contribution in #266
Full Changelog: v2.0.1...v2.0.2