Repository navigation
chore(deps): update module github.com/sethvargo/go-envconfig to v2 - #77
Merged
ezekiel-alexrod merged 2 commits intoOct 26, 2026
Merged
Conversation
The renovate bump only added the v2 module next to v1. The code still imported v1, so go mod tidy dropped v2 again. Switch the import and tidy, which removes v1.
ezekiel-alexrod
approved these changes
Oct 26, 2026
ezekiel-alexrod
approved these changes
Oct 26, 2026
ezekiel-alexrod
deleted the
renovate/github.com-sethvargo-go-envconfig-2.x
branch
October 26, 2026 09:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.4.3→v2.0.0Release Notes
sethvargo/go-envconfig (github.com/sethvargo/go-envconfig)
v2.0.0Compare Source
This is the first v2 release. It changes the module path and removes deprecated APIs, so it requires code changes to adopt.
Breaking changes
/v2. Update imports togithub.com/sethvargo/go-envconfig/v2and rungo get github.com/sethvargo/go-envconfig/v2.Decoderinterface is removed. ImplementDecoderCtx(EnvDecode(ctx context.Context, val string) error) instead. Types that still implement the old no-contextEnvDecode(val string) errorwill no longer be detected as decoders. The built-inBase64BytesandHexBytestypes now use the context-aware signature.LegacyMutatorFuncis removed. UseMutatorFuncdirectly.decodeunsetis set.What's Changed
Full Changelog: sethvargo/go-envconfig@v1.4.3...v2.0.0
Configuration
📅 Schedule: (UTC)
🚦 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 CLI.