fix(deps): update module github.com/knadh/koanf/v2 to v2.2.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| github.com/knadh/koanf/v2 | v2.0.1 -> v2.2.0 |
Release Notes
knadh/koanf (github.com/knadh/koanf/v2)
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 https://github.com/knadh/koanf/pull/332
- Fix typos by @NathanBaulch in https://github.com/knadh/koanf/pull/336
- adds urfave/cli/v2 flag parser by @joicemjoseph in https://github.com/knadh/koanf/pull/330
- Bump golang.org/x/net from 0.23.0 to 0.36.0 in /providers/consul by @dependabot in https://github.com/knadh/koanf/pull/342
- Added support for Azure Keyvault by @arawin1979 in https://github.com/knadh/koanf/pull/343
- Bump golang.org/x/crypto from 0.21.0 to 0.35.0 in /providers/vault by @dependabot in https://github.com/knadh/koanf/pull/348
- Bump golang.org/x/crypto from 0.17.0 to 0.35.0 in /providers/nats by @dependabot in https://github.com/knadh/koanf/pull/347
- Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in /examples by @dependabot in https://github.com/knadh/koanf/pull/346
- Bump golang.org/x/net from 0.23.0 to 0.36.0 in /providers/vault by @dependabot in https://github.com/knadh/koanf/pull/344
- Upgrade min Go version and deps across all providers and parsers by @knadh in https://github.com/knadh/koanf/pull/349
New Contributors
- @NathanBaulch made their first contribution in https://github.com/knadh/koanf/pull/336
- @joicemjoseph made their first contribution in https://github.com/knadh/koanf/pull/330
- @arawin1979 made their first contribution in https://github.com/knadh/koanf/pull/343
Full Changelog: https://github.com/knadh/koanf/compare/v2.1.2...v2.2.0
v2.1.2
What's Changed
- chore: Update godoc URL in README by @rhnvrm in https://github.com/knadh/koanf/pull/279
- Add support for parser TOML v2 spec by @knadh in https://github.com/knadh/koanf/pull/286
- Bump golang.org/x/net from 0.17.0 to 0.23.0 in /providers/consul by @dependabot in https://github.com/knadh/koanf/pull/289
- Bump golang.org/x/net from 0.17.0 to 0.23.0 in /providers/vault by @dependabot in https://github.com/knadh/koanf/pull/288
- Bump golang.org/x/net from 0.17.0 to 0.23.0 in /examples by @dependabot in https://github.com/knadh/koanf/pull/290
- Bump golang.org/x/net from 0.17.0 to 0.23.0 in /providers/etcd by @dependabot in https://github.com/knadh/koanf/pull/287
- upgrade toml v2 package to 2.2.2 by @GreyXor in https://github.com/knadh/koanf/pull/292
- Bump github.com/hashicorp/go-retryablehttp from 0.7.2 to 0.7.7 in /providers/vault by @dependabot in https://github.com/knadh/koanf/pull/301
- Upgrade fsnotify lib in file provider. by @knadh in https://github.com/knadh/koanf/pull/302
- Bump github.com/hashicorp/go-retryablehttp from 0.7.2 to 0.7.7 in /examples by @dependabot in https://github.com/knadh/koanf/pull/303
- Add
Unwatch()to file provider. by @knadh in https://github.com/knadh/koanf/pull/306 - docs: Improve marshal section by @bersace in https://github.com/knadh/koanf/pull/311
- fix(basicflag): option not apply by @qianlongzt in https://github.com/knadh/koanf/pull/322
- Fix incorrect unflatten in env provider. Closes #319. by @knadh in https://github.com/knadh/koanf/pull/324
- fix: update file watch to trigger callback after symbolic link changes by @jondavidnd1 in https://github.com/knadh/koanf/pull/326
- Update mapstructure to a stable version by @StefMa in https://github.com/knadh/koanf/pull/331
New Contributors
- @bersace made their first contribution in https://github.com/knadh/koanf/pull/311
- @qianlongzt made their first contribution in https://github.com/knadh/koanf/pull/322
- @jondavidnd1 made their first contribution in https://github.com/knadh/koanf/pull/326
- @StefMa made their first contribution in https://github.com/knadh/koanf/pull/331
Full Changelog: https://github.com/knadh/koanf/compare/v2.1.1...v2.1.2
v2.1.1
What's Changed
- fix: run submodule tests by @rhnvrm in https://github.com/knadh/koanf/pull/276
- Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 in /examples by @dependabot in https://github.com/knadh/koanf/pull/282
- Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 in /providers/etcd by @dependabot in https://github.com/knadh/koanf/pull/281
- Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 in /providers/nats by @dependabot in https://github.com/knadh/koanf/pull/280
- feat: add ParserEnvWithValue by @tlipoca9 in https://github.com/knadh/koanf/pull/284
- Fix map unflattening no-delimiter behaviour by @knadh in https://github.com/knadh/koanf/pull/278
New Contributors
- @tlipoca9 made their first contribution in https://github.com/knadh/koanf/pull/284
Full Changelog: https://github.com/knadh/koanf/compare/v2.1.0...v2.1.1
v2.1.0
Important
https://github.com/mitchellh/mapstructure/issues/349#issuecomment-1860372162 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
- fix: retract v2.0.2 by @rhnvrm in https://github.com/knadh/koanf/pull/270
Full Changelog: https://github.com/knadh/koanf/compare/v2.0.2...v2.1.0
v2.0.2
Important
https://github.com/mitchellh/mapstructure/issues/349#issuecomment-1860372162 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 https://github.com/knadh/koanf/pull/213
- feat: add flag to optionally fetch secret metadata by @Thunderbottom in https://github.com/knadh/koanf/pull/219
- chore: change WithMeta to ExcludeMeta for backwards compatibility by @Thunderbottom in https://github.com/knadh/koanf/pull/220
- typos and little clearer code by @GreyXor in https://github.com/knadh/koanf/pull/222
- Fixed a nil panic issue in vault provider by @wangkang in https://github.com/knadh/koanf/pull/224
- Not use deprecated io/ioutil by @tchssk in https://github.com/knadh/koanf/pull/226
- Proposal: support Vault auth method by @missedone in https://github.com/knadh/koanf/pull/229
- Add parameterstore provider by @tchssk in https://github.com/knadh/koanf/pull/227
- feat: optional support net/http transport by @missedone in https://github.com/knadh/koanf/pull/232
- breaking change: #233 return error struct to avoid panic at runtime by @missedone in https://github.com/knadh/koanf/pull/234
- Bump github.com/nats-io/nkeys from 0.4.4 to 0.4.6 in /providers/nats by @dependabot in https://github.com/knadh/koanf/pull/246
- Bump golang.org/x/net from 0.7.0 to 0.17.0 in /providers/etcd by @dependabot in https://github.com/knadh/koanf/pull/248
- Bump golang.org/x/net from 0.7.0 to 0.17.0 in /providers/vault by @dependabot in https://github.com/knadh/koanf/pull/247
- Bump github.com/nats-io/nats-server/v2 from 2.9.15 to 2.9.23 in /providers/nats by @dependabot in https://github.com/knadh/koanf/pull/241
- Bump google.golang.org/grpc from 1.53.0 to 1.56.3 in /providers/etcd by @dependabot in https://github.com/knadh/koanf/pull/243
- fix: typo by @testwill in https://github.com/knadh/koanf/pull/251
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /providers/vault by @dependabot in https://github.com/knadh/koanf/pull/261
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /providers/nats by @dependabot in https://github.com/knadh/koanf/pull/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 https://github.com/knadh/koanf/pull/259 - Parser: KDL by @dezren39 in https://github.com/knadh/koanf/pull/266
- Parser: KDL kdl-go dependency update by @dezren39 in https://github.com/knadh/koanf/pull/267
New Contributors
- @TECHNOFAB11 made their first contribution in https://github.com/knadh/koanf/pull/213
- @GreyXor made their first contribution in https://github.com/knadh/koanf/pull/222
- @wangkang made their first contribution in https://github.com/knadh/koanf/pull/224
- @tchssk made their first contribution in https://github.com/knadh/koanf/pull/226
- @missedone made their first contribution in https://github.com/knadh/koanf/pull/229
- @testwill made their first contribution in https://github.com/knadh/koanf/pull/251
- @dezren39 made their first contribution in https://github.com/knadh/koanf/pull/266
Full Changelog: https://github.com/knadh/koanf/compare/v2.0.1...v2.0.2
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):
- 1 additional dependency was updated
- The
godirective was updated for compatibility reasons
Details:
| Package | Change |
|---|---|
go |
1.20 -> 1.23.0 |
github.com/knadh/koanf/maps |
v0.1.1 -> v0.1.2 |