Skip to content

Releases: ruby-git/ruby-git

v4.0.1

07 Jul 00:08
Compare
Choose a tag to compare

4.0.1 (2025-07-06)

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

02 Jul 23:43
Compare
Choose a tag to compare

4.0.0 (2025-07-02)

⚠ 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

02 Jul 04:58
Compare
Choose a tag to compare

3.1.1 (2025-07-02)

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

18 May 21:10
Compare
Choose a tag to compare

3.1.0 (2025-05-18)

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

15 May 05:29
Compare
Choose a tag to compare

3.0.2 (2025-05-15)

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)

Release v3.0.1

14 May 22:01
Compare
Choose a tag to compare

v3.0.1 (2025-05-14)

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

Release v3.0.0

27 Feb 19:40
Compare
Choose a tag to compare

v3.0.0 (2025-02-27)

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

Release v2.3.3

04 Dec 21:19
Compare
Choose a tag to compare

v2.3.3 (2024-12-04)

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

Release v2.3.2

19 Nov 20:00
Compare
Choose a tag to compare

v2.3.2 (2024-11-19)

Full Changelog

Changes since v2.3.1:

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

Release v2.3.1

23 Oct 16:45
Compare
Choose a tag to compare

v2.3.1 (2024-10-23)

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