-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update module github.com/knadh/koanf to v2 #7841
Update module github.com/knadh/koanf to v2 #7841
Conversation
⚠ Artifact update problemRenovate failed to update artifacts 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:
The artifact failure details are included below: File name: confmap/go.sum
File name: cmd/builder/go.sum
|
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
@codeboten I am getting similar "ambiguous import" errors in Jaeger after upgrading to collector 1.81. I see multiple files in collector importing both v1 and v2, e.g. opentelemetry-collector/cmd/builder/internal/command.go Lines 10 to 13 in e1d0f26
Is there some special trick you did to prevent Go from complaining?
|
@yurishkuro this happened for me once when I tried compiling w/ go workspace enabled locally. I closed the PR because we're not ready to use renovatebot yet (unrelated to the error) |
@codeboten thanks! that solved it. Don't know how I ended up with go.work in the jaeger repo, since it's a single module. Removing it helped. |
@yurishkuro np, glad it worked! |
This PR contains the following updates:
v1.5.0
->v2.0.1
Release Notes
knadh/koanf
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?
github.com/knadh/koanf/v2
.go get github.com/knadh/koanf/providers/s3
,go get github.com/knadh/koanf/parsers/json
etc.Full Changelog: knadh/koanf@v1.5.0...v2.0.0
Configuration
📅 Schedule: Branch creation - "on tuesday" (UTC), 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.
This PR has been generated by Mend Renovate. View repository job log here.