Skip to content

Commit 758a684

Browse files
authored
🔖 v2.0.0 (#27)
1 parent a552612 commit 758a684

File tree

1 file changed

+29
-8
lines changed

1 file changed

+29
-8
lines changed

CHANGELOG.md

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
88

99
### Added
1010

11-
- `--from-current` flag for `git gtr new` command to create worktrees from the current branch instead of the default branch (useful for creating parallel variant worktrees)
12-
- `run` command to execute commands in worktrees without navigation (e.g., `git gtr run <branch> npm test`)
13-
- Directory copying support via `gtr.copy.includeDirs` and `gtr.copy.excludeDirs` to copy entire directories (e.g., `node_modules`, `.venv`, `vendor`) when creating worktrees, avoiding dependency reinstallation
14-
- OpenCode AI adapter for AI tool integration
15-
1611
### Changed
1712

1813
### Deprecated
@@ -21,15 +16,40 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
2116

2217
### Fixed
2318

19+
### Security
20+
21+
## [2.0.0] - 2025-11-24
22+
23+
### Added
24+
25+
- `run` command to execute commands in worktrees without navigation (e.g., `git gtr run <branch> npm test`)
26+
- `--from-current` flag for `git gtr new` command to create worktrees from the current branch instead of the default branch (useful for creating parallel variant worktrees)
27+
- Directory copying support via `gtr.copy.includeDirs` and `gtr.copy.excludeDirs` to copy entire directories (e.g., `node_modules`, `.venv`, `vendor`) when creating worktrees, avoiding dependency reinstallation
28+
- OpenCode AI adapter
29+
- Pull request template (`.github/PULL_REQUEST_TEMPLATE.md`)
30+
- Path canonicalization to properly resolve symlinks and compare paths
31+
32+
### Changed
33+
34+
- **BREAKING:** Migrated primary command from `gtr` to `git gtr` subcommand to resolve coreutils conflict with `gtr` command
35+
- `git-gtr` wrapper now properly resolves symlinks and delegates to main `gtr` script
36+
- Version output now displays as "git gtr version X.X.X" instead of "gtr version X.X.X"
37+
- Help messages and error output now reference `git gtr` instead of `gtr`
38+
- Base directory resolution now canonicalizes paths before comparison to handle symlinks correctly
39+
- README extensively reorganized and expanded with clearer examples and better structure
40+
41+
### Fixed
42+
43+
- Claude AI adapter now supports shell function definitions (e.g., `eval "$(ssh-agent -s)"`) in shell initialization files
44+
- Path comparison logic now canonicalizes paths before checking if worktrees are inside repository
45+
- `.gitignore` warnings now work correctly with symlinked paths
2446
- Zsh completion: Fixed word array normalization to correctly handle `gtr` and `git-gtr` direct invocations (not just `git gtr`)
2547
- Zsh completion: Fixed `new` command options to complete at any position, not just after the first argument
2648
- Zsh completion: Added `--editor` completion for `editor` command with list of available editors
2749
- Zsh completion: Added `--ai` completion for `ai` command with list of available AI tools
2850
- Zsh completion: Added `--porcelain` completion for `list`/`ls` commands
2951
- Zsh completion: Added `--global` completion for `config` command
3052

31-
### Security
32-
3353
## [1.0.0] - 2025-11-14
3454

3555
### Added
@@ -53,5 +73,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and this
5373

5474
- Improved base directory resolution logic to distinguish `.` (repo root), `./path` (repo-internal) from other relative values (sibling directories)
5575

56-
[Unreleased]: https://github.com/coderabbitai/git-worktree-runner/compare/v1.0.0...HEAD
76+
[Unreleased]: https://github.com/coderabbitai/git-worktree-runner/compare/v2.0.0...HEAD
77+
[2.0.0]: https://github.com/coderabbitai/git-worktree-runner/compare/v1.0.0...v2.0.0
5778
[1.0.0]: https://github.com/coderabbitai/git-worktree-runner/releases/tag/v1.0.0

0 commit comments

Comments
 (0)