Skip to content

chore: prepare v2.7.0 release#174

Merged
helizaga merged 2 commits intomainfrom
release/v2.7.0
Apr 27, 2026
Merged

chore: prepare v2.7.0 release#174
helizaga merged 2 commits intomainfrom
release/v2.7.0

Conversation

@helizaga
Copy link
Copy Markdown
Collaborator

@helizaga helizaga commented Apr 27, 2026

Summary

  • Bump git gtr version to 2.7.0.
  • Add v2.7.0 changelog entries for the merged remote, clean, Fish, copy, hook, and repo-root fixes.
  • Update changelog compare links.

Testing

  • ./bin/gtr version
  • git diff --check
  • shellcheck bin/gtr bin/git-gtr lib/*.sh lib/commands/*.sh adapters/editor/*.sh adapters/ai/*.sh
  • bats tests/

Summary by CodeRabbit

  • Release

    • Added 2.7.0 changelog entry dated 2026-04-27 and updated changelog links/labels for consistency.
  • New Features

    • New remote-selection options for default-branch detection (--remote / config)
    • Added --to <ref> limit for merged-cleanup flows
  • Bug Fixes

    • Fixed repo-root detection from subdirectories
    • Fixed stdin-consuming hook behavior
    • Fixed Fish shell navigation for git gtr cd
    • Ensured git gtr copy respects include/exclude across dry-run and multi-mode

@helizaga helizaga requested a review from NatoBoram as a code owner April 27, 2026 22:53
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 27, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: ccaa62fe-faef-4372-b9e0-a29f49f16e58

📥 Commits

Reviewing files that changed from the base of the PR and between 6947abf and 4d9243b.

📒 Files selected for processing (1)
  • CHANGELOG.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • CHANGELOG.md

Walkthrough

Adds a 2.7.0 release entry to CHANGELOG.md documenting new CLI/config options for remote selection and a --to <ref> limit for merged-cleanups, several bug fixes, and updates version-compare links. Updates the GTR_VERSION constant in bin/git-gtr from 2.6.0 to 2.7.0.

Changes

Cohort / File(s) Summary
Version Constant Update
bin/git-gtr
Bumped GTR_VERSION from 2.6.0 to 2.7.0 (affects git gtr version output).
Changelog / Release Notes
CHANGELOG.md
Added 2.7.0 entry dated 2026-04-27 describing new CLI/config options (gtr.defaultRemote/--remote, --to <ref>), fixes (repo-root subdirectory resolution, stdin-consuming hooks, Fish git gtr cd Enter navigation, git gtr copy include/exclude behavior), and adjusted version-compare link targets (moved [Unreleased] → compare from v2.7.0, added [2.7.0], redefined [2.6.0]).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 I hopped through lines and bumped the tag,
A tiny change, a version flag,
Changelog whispers, fixes neat,
2.7.0 — a carrot treat! 🥕✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: prepare v2.7.0 release' directly and accurately summarizes the main changes: bumping version to 2.7.0 and updating CHANGELOG.md with corresponding release entries.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/v2.7.0

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@CHANGELOG.md`:
- Line 20: Update the CHANGELOG.md entry that currently reads "gtr cd" to use
the user-facing command form "git gtr cd" (or at minimum "git gtr") so
documentation follows the guideline; search for the exact token "gtr cd" in
CHANGELOG.md and replace it with "git gtr cd", ensuring the surrounding sentence
remains grammatically correct and any other `gtr` references follow the "git
gtr" format.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 18668381-bd0c-42b1-80c3-e01d521def49

📥 Commits

Reviewing files that changed from the base of the PR and between 9d49c4b and 6947abf.

📒 Files selected for processing (2)
  • CHANGELOG.md
  • bin/git-gtr

Comment thread CHANGELOG.md Outdated
@helizaga helizaga merged commit acb53b9 into main Apr 27, 2026
4 checks passed
@helizaga helizaga deleted the release/v2.7.0 branch April 27, 2026 22:59
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.

1 participant