Skip to content

chore(deps): update dependency git to v4 #198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 3, 2025

This PR contains the following updates:

Package Change Age Confidence
git (changelog) '~>1.18' -> '~>4.0' age confidence

Release Notes

ruby-git/ruby-git (git)

v4.0.5

Compare Source

Bug Fixes
  • Properly parse UTF-8(multibyte) file paths in git output (8e6a11e)
Other Changes
  • Document and announce the proposed architectural redesign (e27255a)
  • Minor change to the architecture redesign document (b4634b5)
  • Rearrange README so that Summary is at the top (3d2c473)
  • Update ClassLength max in .rubocop_todo.yml for CI passing (4430478)

v4.0.4

Compare Source

Bug Fixes
  • Remove deprecation from Git::Path (ab1e207)
  • Remove deprecation from Git::Stash (9da1e91)
Other Changes
  • Add tests for Git::Base#set_index including deprecation (e6ccb11)
  • Add tests for Git::Base#set_working including deprecation (ee11137)
  • Add tests to verify Git::Object.new creates the right type of object (ab17621)
  • Verify deprecated Git::Log methods emit a deprecation warning (abb0efb)

v4.0.2

Compare Source

Bug Fixes
  • Call Git::Index#new correctly from initialize_components (07dfab5)
Other Changes
  • Announce that the project has adopted RuboCop (3d6cac9)
  • Update comment to be accurate (3a87722)

v4.0.1

Compare Source

Bug Fixes
  • Fix Rubocop Layout/LineLength offense (52d80ac)
  • Fix Rubocop Lint/EmptyBlock offense (9081f0f)
  • Fix Rubocop Lint/MissingSuper offense (e9e91a8)
  • Fix Rubocop Lint/StructNewOverride offense (141c2cf)
  • Fix Rubocop Lint/SuppressedException offense (4372a20)
  • Fix Rubocop Lint/UselessConstantScoping offense (54c4a3b)
  • Fix Rubocop Metrics/AbcSize offense (256d860)
  • Fix Rubocop Metrics/BlockLength offense (9c856ba)
  • Fix Rubocop Metrics/ClassLength offense (exclude tests) (d70c800)
  • Fix Rubocop Metrics/ClassLength offense (refactor Git::Log) (1aae57a)
  • Fix Rubocop Metrics/ClassLength offense (refactor Git::Status) (e3a378b)
  • Fix Rubocop Metrics/CyclomaticComplexity offense (abfcf94)
  • Fix Rubocop Metrics/MethodLength offense (e708c36)
  • Fix Rubocop Metrics/ParameterLists offense (c7946b0)
  • Fix Rubocop Metrics/PerceivedComplexity offense (5dd5e0c)
  • Fix Rubocop Naming/AccessorMethodName offense (e9d9c4f)
  • Fix Rubocop Naming/HeredocDelimiterNaming offense (b4297a5)
  • Fix Rubocop Naming/PredicateMethod offense (d33f7a8)
  • Fix Rubocop Naming/PredicatePrefix offense (57edc79)
  • Fix Rubocop Naming/VariableNumber offense (3fba6fa)
  • Fix Rubocop Style/ClassVars offense (a2f651a)
  • Fix Rubocop Style/Documentation offense (e80c27d)
  • Fix Rubocop Style/IfUnlessModifier offense (c974832)
  • Fix Rubocop Style/MultilineBlockChain offense (dd4e4ec)
  • Fix Rubocop Style/OptionalBooleanParameter offense (c010a86)
  • Fix typo in status.rb (284fae7)
  • Remove duplicate methods found by rubocop (bd691c5)
  • Result of running rake rubocop:autocorrect (8f1e3bb)
  • Result of running rake rubocop:autocorrect_all (5c75783)
Other Changes
  • Add rubocop todo file to silence known offenses until they can be fixed (2c36f8c)
  • Avoid deprecated dsa for tests keys (1da8c28)
  • Fix yarddoc error caused by rubocop autocorrect (58c4af3)
  • Integrate Rubocop with the project (a04297d)
  • Rename Gem::Specification variable from s to spec (4d976c4)

v4.0.0

Compare Source

⚠ BREAKING CHANGES
  • Users will need to be on Ruby 3.2 or greater
Features
  • Add Log#execute to run the log and return an immutable result (ded54c4)
  • diff: Refactor Git::Diff to separate concerns and improve AP (e22eb10)
  • Upgrade minimally supported Ruby to 3.2 (fb93ef1)
Other Changes
  • Remove unneeded explicit return statements (28e07ae)
  • Upgrade to ProcessExecuter 4.x (5b00d3b)

v3.1.1

Compare Source

Bug Fixes
  • Raise a Git::FailedError if depth < 0 is passed to Git.clone (803253e), closes #​805
Other Changes
  • Announce default branch change in README (e04f08e)
  • Update the project's default branch from 'master' to 'main' (a5aa75f)

v3.1.0

Compare Source

Features
  • Make Git::Log support the git log --merges option (df3b07d)
Other Changes
  • Announce and document guidelines for using Conventional Commits (a832259)
  • Skip continuous integration workflow for release PRs (f647a18)
  • Skip the experiemental build workflow if a release commit is pushed to master (3dab0b3)

v3.0.2

Compare Source

Bug Fixes
  • Trigger the release workflow on a change to 'master' insetad of 'main' (c8611f1)
Other Changes
  • Automate continuous delivery workflow (06480e6)
  • Enforce conventional commit messages with a GitHub action (1da4c44)
  • Enforce conventional commit messages with husky and commitlint (7ebe0f8)

v3.0.1

Compare Source

Full Changelog

Changes since v3.0.0:

  • b47eedc Improved error message of rev_parse
  • 9d44146 chore: update the development dependency on the minitar gem
  • f407b92 feat: set the locale to en_US.UTF-8 for git commands
  • b060e47 test: verify that command line envionment variables are set as expected
  • 1a5092a chore: release v3.0.0

v3.0.0

Compare Source

Full Changelog

Changes since v3.0.0:

  • b47eedc Improved error message of rev_parse
  • 9d44146 chore: update the development dependency on the minitar gem
  • f407b92 feat: set the locale to en_US.UTF-8 for git commands
  • b060e47 test: verify that command line envionment variables are set as expected
  • 1a5092a chore: release v3.0.0

v2.3.3

Compare Source

Full Changelog

Changes since v2.3.3:

  • 534fcf5 chore: use ProcessExecuter.run instead of the implementing it in this gem
  • 629f3b6 feat: update dependenices
  • 501d135 feat: add support for Ruby 3.4 and drop support for Ruby 3.0
  • 38c0eb5 build: update the CI build to use current versions to TruffleRuby and JRuby
  • d3f3a9d chore: add frozen_string_literal: true magic comment

v2.3.2

Compare Source

Full Changelog

Changes since v2.3.2:

  • c25e5e0 test: add tests for spaces in the git binary path or the working dir
  • 5f43a1a fix: open3 errors on binary paths with spaces
  • 60b58ba test: add #run_command for tests to use instead of backticks

v2.3.1

Compare Source

Full Changelog

Changes since v2.3.1:

  • 7646e38 fix: improve error message for Git::Lib#branches_all

v2.3.0

Compare Source

Full Changelog

Changes since v2.3.0:

  • e236007 test: allow bin/test-in-docker to accept the test file(s) to run on command line
  • f4747e1 test: rename bin/tests to bin/test-in-docker
  • 51f781c test: remove duplicate test from test_stashes.rb
  • 2e79dbe Fixed "unbranched" stash message support:
  • da6fa6e Conatinerised the test suite with Docker:
  • 2e23d47 Update instructions for building a specific version of Git
  • 70565e3 Add Git.binary_version to return the version of the git command line

v2.2.0

Compare Source

Full Changelog

Changes since v2.2.0:

  • f8bc987 Fix windows CI build error
  • 471f5a8 Sanatize object ref sent to cat-file command
  • 604a9a2 Make Git::Base#branch work when HEAD is detached

v2.1.1

Compare Source

Full Changelog

Changes since v2.1.1:

  • 7292f2c Omit the test for signed commit data on Windows
  • 2d6157c Document this gem's (aspirational) design philosophy
  • d4f66ab Sanitize non-option arguments passed to git name-rev
  • 0296442 Refactor Git::Lib#rev_parse
  • 9b9b31e Verify that the revision-range passed to git log does not resemble a command-line option
  • dc46ede Verify that the commit-ish passed to git describe does not resemble a command-line option
  • 00c4939 Verify that the commit(s) passed to git diff do not resemble a command-line option
  • a08f89b Update README
  • 737c4bb ls-tree optional recursion into subtrees

v2.1.0

Compare Source

Full Changelog

Changes since v2.1.0:

  • 6ce3d4d Handle ignored files with quoted (non-ASCII) filenames
  • dd8e8d4 Supply all of the specific color options too
  • 749a72d Memoize all of the significant calls in Git::Status
  • 2bacccc When core.ignoreCase, check for untracked files case-insensitively
  • 7758ee4 When core.ignoreCase, check for deleted files case-insensitively
  • 993eb78 When core.ignoreCase, check for added files case-insensitively
  • d943bf4 When core.ignoreCase, check for changed files case-insensitively

v2.0.1

Compare Source

Full Changelog

Changes since v2.0.1:

  • 93c8210 Add Git::Log#max_count
  • d84097b Update YARDoc for a few a few method

v2.0.0

Compare Source

Full Changelog

Changes since v2.0.0:

  • da435b1 Document and add tests for Git::Status
  • c8a77db Fix Git::Base#status on an empty repo
  • 712fdad Fix Git::Status#untracked when run from worktree subdir
  • 6a59bc8 Remove the Git::Base::Factory module

v1.19.1

Compare Source

Full Changelog

Changes since v1.19.1:

  • 7585c39 Change how the git CLI subprocess is executed (#​684)
  • f93e042 Update instructions for releasing a new version of the git gem (#​686)
  • f48930d Update minimum required version of Ruby and Git (#​685)

v1.19.0

Compare Source

Full Changelog

Changes since v1.19.0:


Configuration

📅 Schedule: 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 is behind base branch, 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 pylapp as a code owner July 3, 2025 03:26
@renovate renovate bot force-pushed the renovate/git-4.x branch from 0fd3e68 to 5014c00 Compare August 10, 2025 14:39
@renovate renovate bot force-pushed the renovate/git-4.x branch from 5014c00 to 39591a8 Compare August 20, 2025 23:51
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.

0 participants