Releases: ruby-git/ruby-git
Releases · ruby-git/ruby-git
v4.0.4
4.0.4 (2025-07-09)
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.3
4.0.3 (2025-07-08)
Bug Fixes
- Correct the deprecation horizon for Git deprecations (b7b7f38)
- Fix Rubocop Layout/EmptyLinesAroundClassBody offense (1de27da)
- Internally create a Stash with non-deprecated initializer args (8b9b9e2)
- Report correct line number in deprecation warnings (cca0deb)
- Un-deprecate Git::Diff methods (761b6ff)
Other Changes
- Make tests that emit a deprecation warning fail (7e211d7)
- Update all tests to not use deprecated features (33ab0e2)
v4.0.2
4.0.2 (2025-07-08)
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
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
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
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
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
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
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
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