fix(deps): update module github.com/knadh/koanf/parsers/toml to v2 #215
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.1.0
->v2.1.0
Release Notes
knadh/koanf (github.com/knadh/koanf/parsers/toml)
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.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 becomes conflicted, 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.