Skip to content

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

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

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

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Oct 31, 2025

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


  • 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 force-pushed the renovate/github.com-knadh-koanf-providers-env-2.x branch 5 times, most recently from 8a5f7bc to 1e86c5e Compare October 31, 2025 22:57
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-providers-env-2.x branch from 1e86c5e to 80e3dfb Compare October 31, 2025 23:07
@renovate renovate bot changed the title fix(deps): update module github.com/knadh/koanf/providers/env to v2 Update module github.com/knadh/koanf/providers/env to v2 Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants