Bump github.com/hashicorp/go-version to v1.7.0#1128
Merged
joaopapereira merged 1 commit intoJun 5, 2026
Conversation
Update direct dependency: - github.com/hashicorp/go-version: v1.6.0 -> v1.7.0 Update go.sum and vendor directory accordingly. Signed-off-by: Gobi Ganesan <gobi.ganesan1509@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
Updates the vendored github.com/hashicorp/go-version dependency to v1.7.0, aligning go.mod, go.sum, and vendor/ with the new upstream release (including removal of reflect usage and new SQL interface support).
Changes:
- Bump
github.com/hashicorp/go-versionfrom v1.6.0 to v1.7.0 ingo.mod/go.sumandvendor/modules.txt. - Vendor upstream library updates (new copyright/SPDX headers, changelog/readme/license updates).
- Add
database/sql.Scanneranddatabase/sql/driver.Valuersupport toVersion(via newScan/Valuemethods).
Reviewed changes
Copilot reviewed 1 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| vendor/modules.txt | Updates vendored module listing to go-version v1.7.0. |
| vendor/github.com/hashicorp/go-version/version.go | Upstream changes: remove reflect usage, add segment comparison helper, add SQL Scan/Value methods. |
| vendor/github.com/hashicorp/go-version/version_collection.go | Adds upstream copyright/SPDX header. |
| vendor/github.com/hashicorp/go-version/README.md | Updates build status badge to GitHub Actions badge. |
| vendor/github.com/hashicorp/go-version/LICENSE | Updates license header text. |
| vendor/github.com/hashicorp/go-version/constraint.go | Removes reflect dependency by using segment-equality helper. |
| vendor/github.com/hashicorp/go-version/CHANGELOG.md | Adds upstream 1.7.0 changelog entry. |
| go.sum | Updates checksums for go-version v1.7.0. |
| go.mod | Bumps direct dependency requirement to go-version v1.7.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary:
Update direct dependency: