Skip to content

fix(deps): update module github.com/knadh/koanf to v2 - #57

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

fix(deps): update module github.com/knadh/koanf to v2#57
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github.com-knadh-koanf-2.x

Conversation

@renovate

@renovate renovate Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/knadh/koanf v1.3.3v2.3.6 age confidence

Release Notes

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

v2.3.6

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.3.5...v2.3.6

v2.3.5

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.3.4...v2.3.5

v2.3.4

Compare Source

What's Changed

  • Bump github.com/nats-io/nats-server/v2 from 2.10.27 to 2.11.12 in /providers/nats by @​dependabot[bot] in #​400
  • Bump filippo.io/edwards25519 from 1.1.0 to 1.1.1 in /providers/kiln by @​dependabot[bot] in #​399
  • Bump google.golang.org/grpc from 1.71.1 to 1.79.3 in /providers/etcd by @​dependabot[bot] in #​405
  • fix: hold RLock during copy in Get to prevent concurrent map access by @​alexchenai in #​406
  • Add ability to check for prior values in cliflagv3.ProviderWithConfig() just like posflag by @​knadh in #​403

New Contributors

Full Changelog: knadh/koanf@v2.3.3...v2.3.4

v2.3.3

Compare Source

What's Changed

  • Fix deadlock in recursive Get*() calls in custom merge function. 2f44276
  • Bump filippo.io/edwards25519 from 1.1.0 to 1.1.1 in /examples by @​dependabot[bot] in #​398

Full Changelog: knadh/koanf@v2.3.2...v2.3.3

v2.3.2

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.3.1...v2.3.2

v2.3.1

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.3.0...v2.3.1

v2.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.2.2...v2.3.0

v2.2.2

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.2.1...v2.2.2

v2.2.1

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.2.0...v2.2.1

v2.2.0

Compare Source

This release sets the min required Go version to v1.23.0

An increasing number of important updates to various deps, including golang.org/x/*, require go >= 1.23.0. It is now untenable
to maintain support for older Go versions. This does not break existing installations, just that further updates will only be available to newer Go versions.

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.1.2...v2.2.0

v2.1.2

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.1.1...v2.1.2

v2.1.1

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.1.0...v2.1.1

v2.1.0

Compare Source

Important

mitchellh/mapstructure#349 (comment) 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.2

Compare Source

Important

mitchellh/mapstructure#349 (comment) 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 koanf.

github.com/mitchellh/mapstructure => github.com/go-viper/mapstructure/v2

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.0.1...v2.0.2

v2.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.0.0...v2.0.1

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

v1.5.0

Compare Source

What's Changed

Full Changelog: knadh/koanf@v1.4.5...v1.5.0

v1.4.5

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v1.4.4...v1.4.5

v1.4.4

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v1.4.3...v1.4.4

v1.4.3

Compare Source

v1.4.2

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v1.4.1...v1.4.2

v1.4.1

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v1.4.0...v1.4.1

v1.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v1.3.3...v1.4.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 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: downloading github.com/knadh/koanf v0.15.0
go: downloading github.com/knadh/koanf/maps v0.1.2
go: downloading github.com/knadh/koanf/maps v0.1.3
go: github.com/DoNewsCode/core-queue imports
	github.com/DoNewsCode/core/config imports
	github.com/knadh/koanf imports
	github.com/knadh/koanf/maps: ambiguous import: found package github.com/knadh/koanf/maps in multiple modules:
	github.com/knadh/koanf v0.15.0 (/runner/cache/others/go/pkg/mod/github.com/knadh/koanf@v0.15.0/maps)
	github.com/knadh/koanf/maps v0.1.3 (/runner/cache/others/go/pkg/mod/github.com/knadh/koanf/maps@v0.1.3)

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