Skip to content

Bump viper from 1.20.1 to 1.21.0#159

Merged
clcollins merged 2 commits into
mainfrom
srepd/dep-viper-1.21.0
May 29, 2026
Merged

Bump viper from 1.20.1 to 1.21.0#159
clcollins merged 2 commits into
mainfrom
srepd/dep-viper-1.21.0

Conversation

@clcollins
Copy link
Copy Markdown
Owner

Summary

  • Upgrades github.com/spf13/viper from v1.20.1 to v1.21.0
  • Viper 1.21.0 swaps its internal YAML library from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 and adds pflag slice support; the public API is unchanged
  • srepd uses standard viper getters (GetString, GetBool, GetStringSlice, GetStringMapString) and is unaffected by the internal swap
  • Transitive dependency bumps: testify 1.11.1, pflag 1.0.10, cast 1.10.0, afero 1.15.0, locafero 0.11.0, sync 0.16.0, text 0.28.0
  • Drops go.uber.org/multierr (no longer a viper dependency)

Supersedes #131.

Test plan

  • make test -- all unit tests pass before and after the bump
  • make fmt-check -- no formatting changes
  • make vet / go vet ./... -- no issues
  • CI lint and test pipeline passes

Created with assistance from Claude claude@anthropic.com

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@clcollins clcollins merged commit 2d6b9d1 into main May 29, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant