Skip to content

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

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

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

Conversation

@renovate

@renovate renovate Bot commented Jun 30, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/knadh/koanf/providers/env v1.1.0 -> v2.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 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 added the dependency label Jun 30, 2025
@renovate
renovate Bot force-pushed the renovate/github.com-knadh-koanf-providers-env-2.x branch from 49ad118 to 35053f4 Compare September 4, 2025 10:10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate
renovate Bot force-pushed the renovate/github.com-knadh-koanf-providers-env-2.x branch from 35053f4 to ed60599 Compare September 4, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants