Skip to content

Update module github.com/knadh/koanf to v2#147

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

Update module github.com/knadh/koanf to v2#147
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-knadh-koanf-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Oct 27, 2023

This PR contains the following updates:

Package Change Age Confidence
github.com/knadh/koanf v1.5.0v2.3.4 age confidence

Release Notes

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

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


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 added the dependency Depedency update label Oct 27, 2023
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Oct 27, 2023

⚠ 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 -d -t ./...
go: downloading k8s.io/apimachinery v0.24.2
go: downloading sigs.k8s.io/controller-runtime v0.12.2
go: downloading github.com/go-logr/logr v1.3.0
go: downloading k8s.io/api v0.24.2
go: downloading github.com/go-logr/zapr v1.2.4
go: downloading github.com/stretchr/testify v1.8.4
go: downloading go.uber.org/zap v1.24.0
go: downloading k8s.io/client-go v0.24.2
go: downloading github.com/spf13/pflag v1.0.5
go: downloading sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20220628190934-17893a8fae1e
go: downloading sigs.k8s.io/controller-tools v0.5.0
go: downloading sigs.k8s.io/kind v0.20.0
go: downloading sigs.k8s.io/kustomize/kustomize/v3 v3.10.0
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/google/gofuzz v1.1.0
go: downloading k8s.io/klog/v2 v2.60.1
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.2.1
go: downloading k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9
go: downloading github.com/evanphx/json-patch v4.12.0+incompatible
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading k8s.io/apiextensions-apiserver v0.24.2
go: downloading sigs.k8s.io/yaml v1.3.0
go: downloading golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
go: downloading go.uber.org/atomic v1.7.0
go: downloading go.uber.org/multierr v1.6.0
go: downloading golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
go: downloading github.com/spf13/cobra v1.4.0
go: downloading github.com/spf13/afero v1.6.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2
go: downloading github.com/json-iterator/go v1.1.12
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/prometheus/client_golang v1.12.1
go: downloading github.com/pkg/errors v0.9.1
go: downloading k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42
go: downloading golang.org/x/time v0.0.0-20220210224613-90d013bbcef8
go: downloading github.com/benbjohnson/clock v1.1.0
go: downloading golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
go: downloading cloud.google.com/go v0.81.0
go: downloading google.golang.org/appengine v1.6.7
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading github.com/gobuffalo/flect v0.2.5
go: downloading golang.org/x/tools v0.1.10-0.20220218145154-897bd77cd717
go: downloading github.com/fatih/color v1.12.0
go: downloading golang.org/x/text v0.3.7
go: downloading sigs.k8s.io/kustomize/api v0.8.0
go: downloading sigs.k8s.io/kustomize/cmd/config v0.9.1
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading gomodules.xyz/jsonpatch/v2 v2.2.0
go: downloading github.com/imdario/mergo v0.3.12
go: downloading k8s.io/component-base v0.24.2
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/prometheus/common v0.32.1
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/google/gnostic v0.5.7-v3refs
go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158
go: downloading github.com/mattn/go-colorable v0.1.8
go: downloading github.com/mattn/go-isatty v0.0.14
go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
go: downloading github.com/alessio/shellescape v1.4.1
go: downloading github.com/google/uuid v1.1.2
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.1.2
go: downloading github.com/prometheus/procfs v0.7.3
go: downloading google.golang.org/protobuf v1.27.1
go: downloading github.com/fsnotify/fsnotify v1.5.1
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369
go: downloading golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3
go: downloading sigs.k8s.io/kustomize/kyaml v0.10.9
go: downloading github.com/go-openapi/spec v0.19.5
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/go-errors/errors v1.0.1
go: downloading github.com/yujunz/go-getter v1.5.1-lite.0.20201201013212-6d9c071adddf
go: downloading github.com/google/go-cmp v0.5.7
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00
go: downloading github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading github.com/go-openapi/strfmt v0.19.5
go: downloading github.com/go-openapi/validate v0.19.8
go: downloading github.com/go-openapi/jsonpointer v0.19.5
go: downloading github.com/go-openapi/jsonreference v0.19.5
go: downloading github.com/go-openapi/swag v0.19.14
go: downloading github.com/hashicorp/go-multierror v1.1.0
go: downloading github.com/emicklei/go-restful v2.9.5+incompatible
go: downloading github.com/pelletier/go-toml v1.9.4
go: downloading github.com/qri-io/starlib v0.4.2-0.20200213133954-ff2e8cd5ef8d
go: downloading go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5
go: downloading github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
go: downloading github.com/go-openapi/errors v0.19.2
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading go.mongodb.org/mongo-driver v1.1.2
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/hashicorp/go-version v1.1.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/ulikunitz/xz v0.5.8
go: downloading github.com/PuerkitoBio/purell v1.1.1
go: downloading github.com/mailru/easyjson v0.7.6
go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
go: downloading github.com/hashicorp/errwrap v1.0.0
go: downloading github.com/BurntSushi/toml v1.0.0
go: downloading github.com/evanphx/json-patch/v5 v5.6.0
go: downloading github.com/go-openapi/analysis v0.19.5
go: downloading github.com/go-openapi/loads v0.19.4
go: downloading github.com/go-openapi/runtime v0.19.4
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/google/safetext v0.0.0-20220905092116-b49f7bc46da2
go: downloading github.com/go-stack/stack v1.8.0
go: downloading github.com/knadh/koanf v1.5.0
go: downloading github.com/knadh/koanf/providers/posflag v0.1.0
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: github.com/vshn/espejo imports
	github.com/knadh/koanf/providers/posflag: ambiguous import: found package github.com/knadh/koanf/providers/posflag in multiple modules:
	github.com/knadh/koanf v1.5.0 (/go/pkg/mod/github.com/knadh/koanf@v1.5.0/providers/posflag)
	github.com/knadh/koanf/providers/posflag v0.1.0 (/go/pkg/mod/github.com/knadh/koanf/providers/posflag@v0.1.0)

@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch 2 times, most recently from 5195305 to 6648b48 Compare February 6, 2024 10:47
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 6648b48 to f32c5e3 Compare April 3, 2024 10:01
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from f32c5e3 to bd1f6cb Compare June 13, 2024 11:04
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Jun 13, 2024

⚠️ 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: module github.com/knadh/koanf/v2@v2.3.4 requires go >= 1.23.0; switching to go1.25.8
go: downloading github.com/knadh/koanf/providers/posflag v1.0.1
go: downloading github.com/spf13/pflag v1.0.6
go: github.com/vshn/espejo imports
	github.com/knadh/koanf/providers/posflag: ambiguous import: found package github.com/knadh/koanf/providers/posflag in multiple modules:
	github.com/knadh/koanf v1.5.0 (/runner/cache/others/go/pkg/mod/github.com/knadh/koanf@v1.5.0/providers/posflag)
	github.com/knadh/koanf/providers/posflag v1.0.1 (/runner/cache/others/go/pkg/mod/github.com/knadh/koanf/providers/posflag@v1.0.1)

@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch 4 times, most recently from e3b2ac8 to 16fc64d Compare June 13, 2024 13:30
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 16fc64d to 21d29cf Compare November 6, 2024 11:01
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 21d29cf to 8c62ec4 Compare April 15, 2025 14:54
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 8c62ec4 to 0230240 Compare June 9, 2025 20:53
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 0230240 to 6ce47d1 Compare July 10, 2025 21:14
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 6ce47d1 to 8632c62 Compare September 1, 2025 12:56
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 8632c62 to da9f2cf Compare September 15, 2025 07:04
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch 2 times, most recently from f2400f1 to 450ac14 Compare January 25, 2026 06:37
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 450ac14 to 65c5eb0 Compare March 8, 2026 11:03
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 65c5eb0 to 8113257 Compare March 20, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency Depedency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants