-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update module github.com/knadh/koanf to v2 #147
base: master
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: go.sum
|
5195305
to
6648b48
Compare
6648b48
to
f32c5e3
Compare
f32c5e3
to
bd1f6cb
Compare
|
03f8a1d
to
e3b2ac8
Compare
e3b2ac8
to
16fc64d
Compare
This PR contains the following updates:
v1.5.0
->v2.1.1
Release Notes
knadh/koanf (github.com/knadh/koanf)
v2.1.1
Compare Source
What's Changed
New Contributors
Full Changelog: knadh/koanf@v2.1.0...v2.1.1
v2.1.0
Compare Source
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
Full Changelog: knadh/koanf@v2.0.2...v2.1.0
v2.0.2
Compare Source
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
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/259New Contributors
Full Changelog: knadh/koanf@v2.0.1...v2.0.2
v2.0.1
Compare Source
What's Changed
New Contributors
Full Changelog: knadh/koanf@v2.0.0...v2.0.1
v2.0.0
Compare Source
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?
github.com/knadh/koanf/v2
.go get github.com/knadh/koanf/providers/s3
,go get github.com/knadh/koanf/parsers/json
etc.Full Changelog: knadh/koanf@v1.5.0...v2.0.0
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.