Bump github.com/go-git/go-git/v5 from 5.16.5 to 5.17.1#748
Conversation
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.16.5 to 5.17.1. - [Release notes](https://github.com/go-git/go-git/releases) - [Commits](go-git/go-git@v5.16.5...v5.17.1) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-version: 5.17.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
|
Claude finished @dependabot[bot]'s task in 52s —— View job Dependency Upgrade Review:
|
| Dependency | Old | New | Type |
|---|---|---|---|
github.com/go-git/go-git/v5 |
5.16.5 | 5.17.1 | minor + patch |
github.com/go-git/go-billy/v5 |
5.6.2 | 5.8.0 | transitive bump |
Release Highlights (v5.17.0 → v5.17.1)
- Security: Updates
github.com/cloudflare/circlto v1.6.3 (security fix) - Bug fixes: Improved v4 index entry name validation, fixed idxfile version/fanout checks
- Performance: Optimized
infilesfunction for large repos, improvedStatus()speed viaindex.ModTimecheck - Safety: Avoids overwriting loose object files, added strict checks for supported extensions
Usage in This Codebase
go-git is used in 3 production locations and 3 test files:
| File | APIs Used |
|---|---|
internal/gitview/gitView.go |
PlainOpenWithOptions, ResolveRevision, CommitObject, Log, Remote, Head — core read-only git operations |
internal/testHelpers/testHelpers.go |
Clone, Init, filesystem.NewStorage, osfs.New, cache.NewObjectLRUDefault — test repo setup |
cmd/kosli/pipelineCommand_test.go |
PlainOpen — test helper |
cmd/kosli/attestJira_test.go |
billy, git — test helper |
internal/gitview/gitView_test.go |
Init, osfs, filesystem, cache — test repo setup |
Risk Assessment: Low ✅
-
No breaking API changes: This is a minor version bump (5.16 → 5.17). The release notes show no removed or changed public APIs. All APIs used by this codebase (
PlainOpenWithOptions,PlainOpen,Clone,Init,Log,ResolveRevision,CommitObject,Remote,Head) remain unchanged. -
go-billy v5.6.2 → v5.8.0: Also a minor bump. This repo uses
osfs.New()and thebilly.Filesysteminterface — both stable APIs with no breaking changes in this range. -
Read-only usage: The production code (
gitView.go) only reads from git repos — it doesn't write objects, manipulate indexes, or use worktree write operations. The stricter index validation and loose object protections in v5.17.x won't affect read-only consumers. -
Security improvement: The
circlsecurity update and stricter input validation are net positives with no compatibility risk.
Recommendation
Safe to merge. This is a straightforward minor version bump with security fixes and no breaking changes affecting this codebase's usage patterns. CI should confirm everything passes.
Bumps github.com/go-git/go-git/v5 from 5.16.5 to 5.17.1.
Release notes
Sourced from github.com/go-git/go-git/v5's releases.
Commits
5e23dfdMerge pull request #1937 from pjbgf/idx-v56b38a32Merge pull request #1935 from pjbgf/index-v5cd757fcplumbing: format/idxfile, Fix version and fanout checks3ec0d70plumbing: format/index, Fix tree extension invalidated entry parsingdbe10b6plumbing: format/index, Align V2/V3 long name and V4 prefix encoding with Gite9b65dfplumbing: format/index, Improve v4 entry name validationadad18dMerge pull request #1930 from go-git/renovate/releases/v5.x-go-github.com-clo...29470bdbuild: Update module github.com/cloudflare/circl to v1.6.3 [SECURITY]bdf0688Merge pull request #1864 from pjbgf/v5-issue-555290e52storage: filesystem, Avoid overwriting loose obj files. Fixes #55Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.