Skip to content

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

Merged
ezekiel-alexrod merged 2 commits into
mainfrom
renovate/github.com-sethvargo-go-envconfig-2.x
Oct 26, 2026
Merged

ezekiel-alexrod merged 2 commits into
mainfrom
renovate/github.com-sethvargo-go-envconfig-2.x

Conversation

@scality-renovate

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/sethvargo/go-envconfig v1.4.3 → v2.0.0 age adoption passing 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: sethvargo/go-envconfig@v1.4.3...v2.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 9am on monday"
  • 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.

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
ezekiel-alexrod merged commit 5d4a9b0 into main Oct 26, 2026
9 checks passed
@ezekiel-alexrod
ezekiel-alexrod deleted the renovate/github.com-sethvargo-go-envconfig-2.x branch October 26, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant