fix(deps): update module github.com/sethvargo/go-envconfig to v2 #4

Open
renovate wants to merge 1 commit from renovate/github.com-sethvargo-go-envconfig-2.x into master
Collaborator

This PR contains the following updates:

Package Change Age Confidence
github.com/sethvargo/go-envconfig v1.4.3 → v2.0.0 age confidence

Release Notes

sethvargo/go-envconfig (github.com/sethvargo/go-envconfig)

v2.0.0

Compare 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

  • Module path is now /v2. Update imports to github.com/sethvargo/go-envconfig/v2 and run go get github.com/sethvargo/go-envconfig/v2.
  • The legacy Decoder interface is removed. Implement DecoderCtx (EnvDecode(ctx context.Context, val string) error) instead. Types that still implement the old no-context EnvDecode(val string) error will no longer be detected as decoders. The built-in Base64Bytes and HexBytes types now use the context-aware signature.
  • LegacyMutatorFunc is removed. Use MutatorFunc directly.
  • Decoders no longer run on unset variables (#​147). A decoder is invoked only when a value is present or decodeunset is set.

What's Changed

Full Changelog: https://github.com/sethvargo/go-envconfig/compare/v1.4.3...v2.0.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 has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/sethvargo/go-envconfig](https://github.com/sethvargo/go-envconfig) | `v1.4.3` → `v2.0.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsethvargo%2fgo-envconfig/v2.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsethvargo%2fgo-envconfig/v1.4.3/v2.0.0?slim=true) | --- ### Release Notes <details> <summary>sethvargo/go-envconfig (github.com/sethvargo/go-envconfig)</summary> ### [`v2.0.0`](https://github.com/sethvargo/go-envconfig/releases/tag/v2.0.0) [Compare Source](https://github.com/sethvargo/go-envconfig/compare/v1.4.3...v2.0.0) This is the first v2 release. It changes the module path and removes deprecated APIs, so it requires code changes to adopt. #### Breaking changes - **Module path is now `/v2`.** Update imports to `github.com/sethvargo/go-envconfig/v2` and run `go get github.com/sethvargo/go-envconfig/v2`. - **The legacy `Decoder` interface is removed.** Implement `DecoderCtx` (`EnvDecode(ctx context.Context, val string) error`) instead. Types that still implement the old no-context `EnvDecode(val string) error` will no longer be detected as decoders. The built-in `Base64Bytes` and `HexBytes` types now use the context-aware signature. - **`LegacyMutatorFunc` is removed.** Use `MutatorFunc` directly. - **Decoders no longer run on unset variables** ([#&#8203;147](https://github.com/sethvargo/go-envconfig/issues/147)). A decoder is invoked only when a value is present or `decodeunset` is set. #### What's Changed - Respect existing decoder values without overwrite by [@&#8203;sethvargo](https://github.com/sethvargo) in [#&#8203;146](https://github.com/sethvargo/go-envconfig/pull/146) - Fix the escaped-backslash default example in the README by [@&#8203;sethvargo](https://github.com/sethvargo) in [#&#8203;151](https://github.com/sethvargo/go-envconfig/pull/151) - Don't stop the mutator chain after a legacy mutator by [@&#8203;sethvargo](https://github.com/sethvargo) in [#&#8203;150](https://github.com/sethvargo/go-envconfig/pull/150) - Reject field and element kinds that cannot be decoded by [@&#8203;sethvargo](https://github.com/sethvargo) in [#&#8203;153](https://github.com/sethvargo/go-envconfig/pull/153) - Apply an empty value when overwriting by [@&#8203;sethvargo](https://github.com/sethvargo) in [#&#8203;152](https://github.com/sethvargo/go-envconfig/pull/152) - Apply mutators and name errors on struct-decoder fields by [@&#8203;sethvargo](https://github.com/sethvargo) in [#&#8203;148](https://github.com/sethvargo/go-envconfig/pull/148) - Don't run decoders on unset variables (breaking) by [@&#8203;sethvargo](https://github.com/sethvargo) in [#&#8203;147](https://github.com/sethvargo/go-envconfig/pull/147) - Bump module path to /v2 for the v2.0.0 release by [@&#8203;sethvargo](https://github.com/sethvargo) in [#&#8203;154](https://github.com/sethvargo/go-envconfig/pull/154) **Full Changelog**: <https://github.com/sethvargo/go-envconfig/compare/v1.4.3...v2.0.0> </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODEuNiIsInVwZGF0ZWRJblZlciI6IjQ0LjE4MS42IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate changed title from chore(deps): update module github.com/sethvargo/go-envconfig to v2 to fix(deps): update module github.com/sethvargo/go-envconfig to v2 2026-10-26 00:16:23 +01:00
renovate force-pushed renovate/github.com-sethvargo-go-envconfig-2.x from e00d644f4f to fee137a126 2026-10-26 00:16:24 +01:00 Compare
watn3y self-assigned this 2026-10-26 00:19:26 +01:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/github.com-sethvargo-go-envconfig-2.x:renovate/github.com-sethvargo-go-envconfig-2.x'
git switch 'renovate/github.com-sethvargo-go-envconfig-2.x'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'master'
git merge --no-ff 'renovate/github.com-sethvargo-go-envconfig-2.x'
git switch 'renovate/github.com-sethvargo-go-envconfig-2.x'
git rebase 'master'
git switch 'master'
git merge --ff-only 'renovate/github.com-sethvargo-go-envconfig-2.x'
git switch 'renovate/github.com-sethvargo-go-envconfig-2.x'
git rebase 'master'
git switch 'master'
git merge --no-ff 'renovate/github.com-sethvargo-go-envconfig-2.x'
git switch 'master'
git merge --squash 'renovate/github.com-sethvargo-go-envconfig-2.x'
git switch 'master'
git merge --ff-only 'renovate/github.com-sethvargo-go-envconfig-2.x'
git switch 'master'
git merge 'renovate/github.com-sethvargo-go-envconfig-2.x'
git push origin 'master'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
watn3y/steamsalty!4
No description provided.