Skip to content

Update module github.com/knadh/koanf/providers/env to v2#6

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-knadh-koanf-providers-env-2.x
Open

Update module github.com/knadh/koanf/providers/env to v2#6
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-knadh-koanf-providers-env-2.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented Mar 2, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/knadh/koanf/providers/env v1.1.0v2.0.0 age confidence

Release Notes

knadh/koanf (github.com/knadh/koanf/providers/env)

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?
  • 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: knadh/koanf@v1.5.0...v2.0.0


Configuration

📅 Schedule: (UTC)

  • 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.

@renovate renovate Bot requested a review from a team as a code owner March 2, 2026 05:56
@renovate renovate Bot added the dependencies update of dependent libraries label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies update of dependent libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants