Skip to content

fix(deps): update module github.com/knadh/koanf/providers/env to v2#116

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

fix(deps): update module github.com/knadh/koanf/providers/env to v2#116
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-knadh-koanf-providers-env-2.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 30, 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: 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 requested a review from emmanuelgautier as a code owner June 30, 2025 14:30
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-providers-env-2.x branch 3 times, most recently from 3902066 to 7e8d710 Compare November 9, 2025 09:52
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-providers-env-2.x branch 2 times, most recently from aa72585 to 43cc7e1 Compare November 16, 2025 12:10
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-providers-env-2.x branch from 43cc7e1 to 658020a Compare November 25, 2025 18:43
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