Skip to content

chore(deps): update dependency git to v6 - #264

Merged
ns-vasilev merged 1 commit into
mainfrom
renovate/git-6.x
Nov 12, 2026
Merged

ns-vasilev merged 1 commit into
mainfrom
renovate/git-6.x

Conversation

@renovate

@renovate renovate Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
git (changelog) '~> 4.4' → '~> 6.0' age confidence

Release Notes

ruby-git/ruby-git (git)

v6.0.0

Compare Source

⚠ BREAKING CHANGES
  • Git::Repository no longer defines object_contents, object_size, object_type, commit_data, tag_data, revparse, namerev, or diff_name_status. Call cat_file_contents, cat_file_size, cat_file_type, cat_file_commit, cat_file_tag, rev_parse, name_rev, and diff_path_status instead.
  • errors: the minimum activesupport version is now 7.0.9 (was 5.0).
  • deprecation: Git::Deprecation.deprecation_horizon is now "in a future major release" (was "6.0.0"). Code that parses it as a version raises.
  • factories: raise ArgumentError when Git.init receives an unknown option key
  • factories: raise ArgumentError when Git.open or Git.bare receives an unknown option key
  • factories: Git.init and Git.clone expand a ~-prefixed directory and a ~-prefixed :repository option to the home directory instead of passing the literal ~ to git. Git.clone also expands a ~-prefixed :chdir option.
  • path_resolver: a relative :repository or :index option passed to a factory method is expanded against the process working directory instead of the working directory or git directory. Callers who relied on the old expansion pass the joined path explicitly.
  • repository: Git::Repository#archive raises Git::Error instead of a Zlib::Error subclass when gzip compression fails; the Zlib::Error is available through cause.
  • stash: Git::Repository#stash_store raises Git::UnexpectedResultError instead of returning nil when the stored commit is missing from the stash list.
  • tag: Git::Repository#tag_create raises Git::UnexpectedResultError instead of returning nil when the tag it created is missing from the tag list.
  • remote: Git::Remote is removed and referencing it raises NameError; Git::Repository no longer defines remote or config_remote. Use Git::Repository#remote_list, which returns ArrayGit::RemoteInfo, and the name-based remote operations; filter Git::Repository#config_list on the "remote.." key prefix for entries Git::RemoteInfo does not model.
  • branch: Git::Branch and Git::Branches are removed and referencing them raises NameError; Git::Repository no longer defines branch or branches, and Git::Remote no longer defines branch. Use Git::Repository#branch_list, which returns ArrayGit::BranchInfo, and the name-based branch operations.
  • worktree: Git::Worktree, Git::Worktrees, Git::Repository#worktree, Git::Repository#worktrees, and Git::Repository#worktrees_all are removed. Git::Repository#worktree_add returns a Git::WorktreeInfo instead of the git worktree add output String.
  • stash: Git::Stash, Git::Stashes, Git::Repository#stashes_all, and Git::Repository#stash_save are removed. Git::Repository#stash_list returns ArrayGit::StashInfo, newest first, instead of a String; stash_infos remains as an alias.
  • status: Git::Status and Git::Status::StatusFile are removed and referencing them raises NameError; Git::Repository no longer defines status. Use Git::Repository#status_info, which returns Git::StatusInfo holding one
  • author: Git::Author is removed; referencing it raises NameError. Use
  • Git::Repository no longer defines remotes; call remote_list (or remote_names) instead. Git::Branch no longer defines stashes; call Git::Repository#stash_infos instead. Git::Commands::CatFile::Raw no longer accepts the allow_unknown_type option and raises ArgumentError when it is passed; there is no replacement.
  • Git::Repository#config, Git::Repository#global_config, Git.global_config, and the config and global_config instance methods of the Git module no longer exist. Use config_get, config_set, and config_list (with
  • log: Git::Log no longer includes Enumerable or defines each, size, to_s, first, last, or []. Call Git::Log#execute and use the Git::Log::Result it returns. Git::Object::Commit no longer defines set_commit; call from_data instead.
  • repository: Git::Repository no longer defines empty?, reset_hard, conflicts, is_local_branch?, is_remote_branch?, is_branch?, or branches_all. Call no_commits?, reset(commitish, hard: true), each_conflict, local_branch?, remote_branch?, branch?, and branch_list instead.
  • repository: Git::Repository#clean no longer accepts :ff or :force_force, diff_path_status no longer accepts :path, and commit no longer accepts :add_all; each raises ArgumentError. set_working and set_index no longer take a positional check argument. Use force: 2, :path_limiter, :all, and must_exist: instead.
  • repository: with_index, with_temp_index, with_working, and with_temp_working raise ArgumentError when called without a block or with a block that declares no positional parameter. Declare the parameter and call methods on it. See UPGRADING.md.
  • repository: with_index, with_temp_index, with_working, and with_temp_working yield a separate Git::Repository bound to the temporary index or working tree instead of rebinding the receiver. Code that ignores the block parameter and calls the outer repository inside the block now runs against the original index or working tree; use the block parameter. See UPGRADING.md.
  • export: Git.export(url, dir, remote: name) raises ArgumentError instead of silently ignoring the option. Delete the option from the call; there is no replacement because the remote name was never observable in the exported tree.
  • Git.clone no longer accepts :path, :recursive, or :remote and raises ArgumentError when given one. Use :chdir, :recurse_submodules, and :origin instead.
  • Git.binary_version no longer exists; use Git.git_version (call .to_a for the legacy Array). Git.ls_remote(nil) raises ArgumentError; omit the argument or pass '.'.
  • The Git::Base constant no longer exists, so is_a?(Git::Base) checks and monkeypatches of Git::Base raise NameError. Include an application-owned module into Git::Repository instead.
  • Git::Repository#lib no longer exists. Call the facade method directly on the repository object.
  • Git::CommandLineResult no longer exists. Use
  • Git::Object::Tag no longer exists, Git::Repository no longer defines tag, tags, or tag_add, and Git::Object.new no longer accepts an is_tag argument. Use tag_list and tag_create on Git::Repository, which return
  • Git::Repository no longer defines add_remote, remove_remote, set_remote_url, add_tag, or delete_tag. Call remote_add, remote_remove, remote_set_url, tag_create, and tag_delete instead.
  • addressable 2.9.0 or later is required. Applications whose bundle caps addressable below 2.9.0 must update that dependency or stay on the latest v5.x release.
  • git 2.43.0 or later is required. Ubuntu 22.04 users must install a newer git or stay on v5.x.
  • Ruby 3.3.0 or later is required. Applications on Ruby 3.2 must upgrade Ruby or stay on the latest v5.x release.
Features
  • author: Remove Git::Author (315eec2), closes #​1728
  • branch: Remove Git::Branch and Git::Branches (bbe3a83), closes #​1723 #​1631
  • export: Reject the :remote option to Git.export (6d46862), closes #​1820
  • factories: Accept an :index option in Git.bare (333d609), closes #​1868
  • factories: Raise ArgumentError when Git.init receives an unknown option key (0ffc8cd), closes #​1913 #​1869
  • factories: Raise ArgumentError when Git.open or Git.bare receives an unknown option key (3991893), closes #​1869
  • log: Remove the Git::Log Enumerable interface and Commit#set_commit (a2d2934), closes #​1775
  • Raise the minimum supported git version to 2.43.0 (103a8da), closes #​1140
  • remote: Remove Git::Remote and Git::Repository#config_remote (39ee9c5), closes #​1724
  • Remove Git::CommandLineResult (cff038a), closes #​1770
  • Remove Git::Object::Tag (d826a0a), closes #​1726
  • Remove Git::Repository#lib (5778196), closes #​1769
  • Remove Git::Repository#remotes, Git::Branch#stashes, and allow_unknown_type (b3353d3), closes #​1725
  • Remove Git.binary_version and the Git.ls_remote(nil) shim (a31e9db), closes #​1773
  • Remove the eight renamed facade aliases (0fb37d7), closes #​1924
  • Remove the five renamed facade methods (bde6f52), closes #​1772
  • Remove the Git::Base compatibility shim (70d3e27), closes #​1768
  • Remove the Git.clone legacy options (:path, :recursive, :remote) (bde02ee), closes #​1774
  • Remove the v4.x-style configuration API (b5dd9ba), closes #​1771
  • repository: Deprecate Git::Repository#set_index and #set_working (7f7511d), closes #​1833
  • repository: Remove the seven renamed Git::Repository methods (ae1fecf), closes #​1777
  • repository: Remove the v4.x option shims from clean, diff_path_status, commit, and set_* (65fed59), closes #​1776
  • repository: Require a block parameter on the with_* context helpers (6f7776e)
  • stash: Remove the legacy stash API and return StashInfo from stash_list (f73c0bc), closes #​1634
  • status: Remove Git::Status and Git::Status::StatusFile (51cb33f), closes #​1727
  • worktree: Remove the legacy worktree API and return WorktreeInfo from worktree_add (a7a87b7), closes #​1635
Bug Fixes
  • commands: Close the stdin pipe's write end when the writer thread cannot start (8667db2), closes #​1860
  • commands: Raise Git::Error when the stdin writer thread cannot be started (a61eafc), closes #​1860
  • commands: Raise Git::Error when with_stdin cannot create a pipe (e5d0c04), closes #​1811
  • Declare logger as a runtime dependency (d38b4c1)
  • deprecation: Load what the log, notify, and report behaviors need (5cb1db3)
  • Detect a missing lychee without a shell probe (f3bf20f)
  • encoding: Scrub lines whose detected encoding has no Ruby converter (517cd99), closes #​1810
  • errors: Make the Git::GitExecuteError warning follow the deprecation policy (e16a405), closes #​1908
  • errors: Raise Git::Error instead of a bare SystemCallError from filesystem calls (c6aa107), closes #​1804
  • export: Drop the redundant checkout that broke Git.export for tags (5b444b4), closes #​1815
  • export: Say what the destination holds when removing .git fails (510713d)
  • factories: Make ~ mean the home directory in every factory path (b03cfcc), closes #​1873
  • path_resolver: Expand relative :repository and :index against the process cwd (5196d8e), closes #​1871
  • repository: Raise Git::Error when archive gzip compression fails (f21c895), closes #​1812
  • stash: Raise UnexpectedResultError when stash_store cannot find the stored entry (64486c7), closes #​1855
  • tag: Raise UnexpectedResultError when tag_create cannot find the new tag (de6c8d8), closes #​1849
Other Changes
  • branch: Follow up on the review of the branch and remote removal (7aa2f18), closes #​1851
  • Clarify v5.x option validation scope (0d15421)
  • commands: Drop version gates below the 2.43.0 floor (bd97b2f)
  • Comment the hooks that mutate ENV and the working directory (ea4c197)
  • deprecation: Retire the version horizon as a source of warning text (137e5b7), closes #​1908
  • Describe the with_* helpers in ADR-0009 as yielding a derived repository (f99194c), closes #​1830
  • export: Cover the state Git.export leaves when removing .git fails (8fe1fdd)
  • export: Describe what a failed .git removal leaves behind (7995d83)
  • fsck: Correct command integration spec (e550f72)
  • Make test:gem load the gem from an isolated install (4709a13), closes #​1882
  • Name Git::CommandLine::Result in spec descriptions (406b396)
  • Name the 5.x maintenance branch alongside 4.x (f264747)
  • Name the removal horizon in every @​deprecated YARD tag (9cfd7cf), closes #​1917
  • Name the restore checkout in the failure-state notes (bec03f8)
  • path_resolver: Remove the unreachable git-binary-not-found rescue (3623f59)
  • Raise required_ruby_version to 3.3 and drop the Ruby 3.3 gates on yard-lint (a551fb4), closes #​1722
  • readme: Announce the 5.x branch and the v6.0.0 line on main (4510e7d)
  • readme: Announce the deletion of the v1 and master branches (6c8251f), closes #​1786
  • readme: Derive the JRuby and TruffleRuby floors from the MRI floor (16558cf)
  • readme: Replace the v5.0.0 release banner with a v6.0.0 development note (6bb4e80)
  • readme: Replace the v6.0.0 development note with the release banner (adf27e7)
  • readme: State that deprecation warnings fire on every call (f1426f4), closes #​1909
  • Record ADR-0008 on converting errors from outside the gem at the boundary (64344da)
  • Record ADR-0009 on what a failed operation leaves behind (1cedde3)
  • Reject BREAKING CHANGE footers that release-please would truncate (84ca7ba)
  • Release v6.0.0 as the next version from main (dbee8b9)
  • Remove git version skips at or below 2.43.0 (61a87b1)
  • Remove the diff fixture's submodule setup, which always failed (8240b30)
  • Replace Ruby 3.2 with 3.3 in the CI and cache-warming matrices (6970c25)
  • Replace the release-as config pin with a Release-As commit footer (ebb7605)
  • repository: State the failure state of in_branch and merge_into in a note tag (a4a5059)
  • repository: Yield a derived repository from the with_* context helpers (56e7a35), closes #​1830
  • Require addressable 2.9 or later (e790d13), closes #​1221
  • Restructure the diff fixture so it needs no rubocop disables (85158af)
  • Review the prose in README.md and UPGRADING.md (be7f48c)
  • Rework ADR-0009 after review and link it from the facade skills (44c41f5)
  • skills: Add an rspec-integration-testing-standards override (bb97e0a), closes #​1874
  • skills: Add the README banner swaps to the release checklists (54ed695)
  • skills: Add the sections every skill is required to have (8a0c878)
  • skills: Add the testing-guide override skill (54818b7)
  • skills: Check the failure-state note before flagging a missing restore (b18e1f1)
  • skills: Make rspec-unit-testing-standards a thin override of the plugin skill (aa41348)
  • skills: Make tdd-refactor-step a thin override of the plugin skill (8977ac8)
  • skills: Make test-debugging a thin override of the plugin skill (8323c10)
  • skills: Prefer not touching global state over restoring it (784d4d4)
  • skills: Record the Git::CommandLineResult removal in the skill references (070c73b)
  • skills: Record the Git::Object::Tag removal in the skill references (6503b7a)
  • skills: Record the Release-As pin and two-PR shape of a maintenance branch cut (4db3834)
  • skills: Update the tag example in the facade-implementation guardrail (3a9f1a0)
  • State the Ruby 3.3 floor in UPGRADING.md, CONTRIBUTING.md, and the agent skills (00ecc30)
  • State what a failure leaves behind for the operations ADR-0009 covers (a136d72), closes #​1831
  • upgrading: Name the v5.x APIs that validate option names (acbe015)
  • upgrading: Name the v6 section by series (d3ad986)
  • upgrading: Organize the v6.x section around what the reader has to do (1f6eace)

v5.7.1

Compare Source

Other Changes
  • Name the release that starts warning for the renamed aliases (e5d6537), closes #​1923

v5.7.0

Compare Source

Features
  • repository: Deprecate the eight renamed facade aliases with warnings that name v6.0.0 (8339117), closes #​1923 #​1924

v5.6.1

Compare Source

Other Changes
  • errors: Document that filesystem and gzip errors can escape unconverted (0b171e4), closes #​1809
  • remote: Correct the argument forms in the Git::Remote and Git::Branch entries (cea622a), closes #​1852
  • tag: Note that tag_create raises UnexpectedResultError in v6.0.0 (050aa44), closes #​1856
  • worktree: Look the new worktree up with File.identical? in the v5.x note (0c941ec)
  • worktree: Look the new worktree up with File.identical? in the YARD note (8eb10ec), closes #​1845
  • worktree: Note that worktree_add returns Git::WorktreeInfo in v6.0.0 (24af07e), closes #​1845

v5.6.0

Compare Source

Features
  • repository: Deprecate with_* context helper blocks that declare no parameter (231b65c), closes #​1835
Other Changes
  • export: Describe what a failed .git removal leaves behind (bd08096), closes #​1823

v5.5.0

Compare Source

Features
  • export: Warn when the :remote option is passed to Git.export (55a9810), closes #​1820
Bug Fixes
  • export: Drop the redundant checkout that broke Git.export for tags (5e8422d), closes #​1815
Other Changes
  • export: Document the deprecated :remote option to Git.export (3806d2b), closes #​1820
  • Name the 5.x maintenance branch alongside 4.x (ad30718)
  • Run the CI, commitlint, release, and cache workflows for the 5.x branch (7c3fd13)

v5.4.1

Compare Source

Other Changes
  • Document the Git.clone option renames in UPGRADING.md (0f8e5d8), closes #​1763
  • upgrading: Document the Git::Log Enumerable and Commit#set_commit deprecations (1d1c9bc), closes #​1764
  • upgrading: Document the Git::Repository method renames (e1bb6e6), closes #​1765
  • upgrading: Document the Git::Repository option renames (0a2dfcb), closes #​1766
  • upgrading: Document the module-level Git deprecations (cd3a2ae), closes #​1762
  • upgrading: Remove two misplaced rows from the configuration methods table (61ad4c8), closes #​1761

v5.4.0

Compare Source

Features
  • stash: Add the StashInfo facade surface and deprecate the legacy stash API (3cc4c6b), closes #​1730
  • status: Add Git::StatusInfo and Git::StatusFileInfo and deprecate Git::Status (b0a376b), closes #​1720
  • tag: Add tag_list and tag_create and deprecate the Git::Object::Tag returns (6f9c55c), closes #​1719
  • worktree: Add WorktreeInfo, cover every subcommand, and deprecate the legacy API (581d6ad), closes #​1731
Other Changes
  • release: Move the workflow description into comments (a5d90bd), closes #​1734
  • tag: Add failing specs for TagInfo facade methods and Object::Tag deprecation (749c327), closes #​1719

v5.3.0

Compare Source

Features
  • author: Add immutable Git::AuthorInfo and deprecate Git::Author (c08b04b), closes #​1721
  • branch: Deprecate Git::Branch and Git::Branches in favor of Git::Repository#branch_list (1581aa0), closes #​1639
  • branch: Deprecate Git::Branch#stashes in favor of Git::Repository#stashes_all (dcee889), closes #​1637
  • cat-file: Deprecate the allow_unknown_type option of Git::Commands::CatFile::Raw (95769ea), closes #​1709
  • info: Nest Git::AuthorInfo in Git::TagInfo and Git::StashInfo (2f44f96), closes #​1745
  • remote: Deprecate Git::Remote and Git::Repository#remote in favor of #remote_list (1abb585), closes #​1643
  • remote: Freeze Git::RemoteInfo array-valued members (4d44a3d)
  • repository: Add in_branch and merge_into facade methods (59b58d0), closes #​1641
  • repository: Deprecate Git::Repository#remotes in favor of #remote_list (410095c), closes #​1640
Bug Fixes
  • branching: Verify refs/heads when classifying the HEAD state (bfc4d8a), closes #​1641
Other Changes
  • adr: Supersede ADR-0006 with a release-based deprecation period (b3b32e3)
  • author: Add failing tests for Git::AuthorInfo and Git::Author deprecation (e0d3123), closes #​1721
  • branch: Add failing test for the Git::Branch#stashes deprecation (a806808)
  • contributing: Describe the release line and maintenance branch rules (fd78c9c)
  • info: Add failing tests for nested Git::AuthorInfo on TagInfo and StashInfo (a7f5e69), closes #​1745
  • readme: Add the deprecation and release support policies (50ac2e2)
  • remote: Add failing tests for the Git::Remote and Git::Repository#remote deprecations (36af404)
  • skills: State the deprecation policy and the major release checklists (a246cf8)
  • upgrading: Add the v6.0.0 upgrade procedure (4d7c58c)

v5.2.0

Compare Source

Features
  • checkout: Support the :orphan option in Repository#checkout (265a997)
Bug Fixes
  • Exclude the .claude/skills symlink and other dev files from the gem (ae4ef0e)
  • Remove the cat-file raw constraint that duplicated a git check (ea52fc7)
Other Changes
  • Add a markdown link checker (8000810)
  • Address suppressed copilot comments in the resolve-feedback skill (9677f33)
  • Announce the v5.x deprecations and the v6.0.0 roadmap (68380f2)
  • Archive the v5.x redesign documents (4bed4ce)
  • Configure the mattpocock engineering skills for this repo (ff03315)
  • Copyedit CONTRIBUTING.md for plain, direct language (7756ad1)
  • deps: Update process_executer to ~> 4.1 (7f01af4)
  • Fix broken relative links and heading anchors (0bf31b8)
  • Fold the remaining plan documents into issues and adrs (74944d9)
  • fsck: Build the second root commit through the public API (3a7f083)
  • Make command-class policy self-contained in the skills (8158d2a)
  • Name maintainer and contributors in the LICENSE copyright notice (ddb33c0)
  • Point agents at the adr directory before they change covered areas (ad8a20d)
  • Port the roadmap-tickets conventions into a project skill (74a4e69)
  • Record any durable decision as an adr, not only architectural ones (455a28c)
  • Record the option surface rule as adr 0004 (d37beed)
  • Record the removal gate as adr 0006 (b76d54e)
  • Record the v4.x call-shape rule as adr 0005 (3cd68cd)
  • Record the validation delegation rationale as adr 0003 (8c224f5)
  • Reduce the resolve-feedback skill to a pointer plus ruby-git deltas (4a4c361)
  • Remove ai writing tells from the readme (e9c782e)
  • Remove the iteratively-address-copilot-reviews prompt and its command (fdaed6f)
  • Rename the resolve-pr-feedback skill to address-pr-feedback (d5e8700)
  • Require executed proof for safety claims in breaking-change-analysis (859ed31)
  • Require verifiable, reviewer-provable task sequencing in development-workflow (d4a7191)
  • Satisfy the new Style/DirectiveScope cop (354057e)
  • State each policy definition once and link everywhere else (0023d54), closes #​1710
  • Stop restating gemspec version constraints in the project-context skill (595a53c)

v5.1.0

Compare Source

Features
  • grep: Expose perl_regexp on the Git::Repository#grep facade (759436f)
  • log: Expose perl_regexp on the log path (df8ea33)
Other Changes
  • Add fiddle as a Windows development dependency (1847989)
  • Bound the locale job's apt step so a stalled mirror fails fast (3a5d83b)
  • Cover the perl_regexp escape hatch for non-ASCII regex matching (55e2ded)
  • Document the Git for Windows byte-matching regex limitation (9aaedbd)
  • Document the windows symlink privilege requirement (696dff3)
  • Express development dependency conditions as named predicates (acca20a)
  • Fix a broken section link in the pre-review checklist (719f595)
  • Make integration fixtures independent of git and platform settings (c2a1592)
  • Pin rubocop to lf line endings (7f40413)
  • Pin test repository config from a single source (6e227b7)
  • Scope the symlink rescue to the symlink call ([c2bed8f](https://redirect

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner November 6, 2026 11:22
@renovate
renovate Bot removed the request for review from a team November 6, 2026 11:22
@renovate renovate Bot added the major label Nov 6, 2026
@renovate
renovate Bot requested a review from ns-vasilev November 6, 2026 11:22
@renovate
renovate Bot force-pushed the renovate/git-6.x branch from 7d89ac4 to 91b3b0c Compare November 11, 2026 18:45
@spacecode-github-bot

Copy link
Copy Markdown
1 Message
📖 ✅ Great job! All checks passed.

Generated by 🚫 Danger

@ns-vasilev
ns-vasilev merged commit 941f0fb into main Nov 12, 2026
4 checks passed
@ns-vasilev
ns-vasilev deleted the renovate/git-6.x branch November 12, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants