Skip to content

chore(deps): bump github.com/spf13/viper from 1.19.0 to 1.20.1#159

Closed
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/go_modules/github.com/spf13/viper-1.20.1
Closed

chore(deps): bump github.com/spf13/viper from 1.19.0 to 1.20.1#159
dependabot[bot] wants to merge 3 commits intomainfrom
dependabot/go_modules/github.com/spf13/viper-1.20.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 31, 2025

Bumps github.com/spf13/viper from 1.19.0 to 1.20.1.

Release notes

Sourced from github.com/spf13/viper's releases.

v1.20.1

What's Changed

Bug Fixes 🐛

Full Changelog: spf13/viper@v1.20.0...v1.20.1

v1.20.0

[!WARNING] This release includes a few minor breaking changes. Read the upgrade guide for details.

What's Changed

Exciting New Features 🎉

Enhancements 🚀

Bug Fixes 🐛

Breaking Changes 🛠

Dependency Updates ⬆️

... (truncated)

Commits
  • 9568cfc fix: config type check when loading any config
  • fd05140 fix(config): get config type from v.configType or config file ext
  • c038295 docs: add update instructions for 1.20
  • 9c07e0f build: disable unused linters
  • 48112d6 ci: add Go 1.24 to the test matrix
  • 66e3e28 build(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6
  • 17b96ac New Logo
  • 8b223a4 build(deps): bump github.com/spf13/cast from 1.7.0 to 1.7.1
  • 91fd363 chore: update afero
  • e75c48f Fix issues reported by testifylint
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.19.0 to 1.20.1.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.19.0...v1.20.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 31, 2025
@dependabot dependabot Bot requested a review from a team as a code owner March 31, 2025 10:54
This was referenced May 13, 2025
blaqbern added a commit that referenced this pull request May 13, 2025
#159 is complaining about Go version used to build golangci-lint doesn't
match target version. That PR updates the toolchain to use Go 1.24.1,
but I believe golangci-lint is being built with one of the versions
[here](https://github.com/actions/runner-images/blob/ubuntu24/20250427.1/images/ubuntu/Ubuntu2404-Readme.md#go)
(likely `1.23.8`, based on the error message) which are included with
the `ubuntu-latest` image we're
[using](https://github.com/launchdarkly/find-code-references-in-pull-request/blob/main/.github/workflows/main.yml#L10).
The `Set up Go` job pulls the Go version from our go.mod file, so I'm
hoping moving that step above the pre-commit step will resolve this for
us.

Note: Also bumping to Go 1.24 here
blaqbern added a commit that referenced this pull request May 14, 2025
#159 attempts to bump `spf13/viper` from `1.19.0` to `1.20.1`, but there
is a failing GHA because the `e2e-tests` job gets the diff of the PR
from the GitHub API, and the diff is so huge that it exceeds the max
number of lines that can be returned from the GET pull request endpoint
(ripping out a bunch of unneeded code). So this PR bumps the version
incrementally to `1.20.0-alpha.1` which accounts for roughly half the
changes, and passes the `e2e-tests` job. We can then immediately upgrade
from `1.20.0-alpha.1` to `1.20.1` and I believe that diff should be
small enough as well. This means we'd be on an alpha version for a brief
time, which is a bit dicey, but I think acceptable. In any event, I'm
not sure how else we're going to get around this issue, unless we want
to dig into what the test is doing and try to come up with an acceptable
substitute, but that feels substantially riskier, actually. Thoughts?
@blaqbern
Copy link
Copy Markdown
Contributor

this is done. see #168 and #171

@blaqbern blaqbern closed this May 14, 2025
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 14, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/spf13/viper-1.20.1 branch May 14, 2025 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant