diff --git a/.changeset/hooked-worktrees.md b/.changeset/hooked-worktrees.md deleted file mode 100644 index 20be0d3c..00000000 --- a/.changeset/hooked-worktrees.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@northguild/worktree": minor ---- - -Add `worktree claude-hook`, so Claude Code's `--worktree`, subagent isolation and background sessions can create and remove worktrees through this tool (the `WorktreeCreate` and `WorktreeRemove` hooks), and copy the gitignored files a root `.worktreeinclude` names. diff --git a/.changeset/quiet-trees-merge.md b/.changeset/quiet-trees-merge.md deleted file mode 100644 index b6aea45c..00000000 --- a/.changeset/quiet-trees-merge.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -"@northguild/worktree": patch ---- -`worktree cleanup` now removes a squash-merged worktree even when the default branch changed lines near the branch's changes before the merge. It checks whether merging the branch would change anything, instead of matching patches. A worktree it still holds back for unpushed commits it cannot find in the base is now named in the output rather than skipped silently. diff --git a/CHANGELOG.md b/CHANGELOG.md index 5197a572..d77578f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # @northguild/worktree +## 3.2.0 + +### Minor Changes + +- 3a572d2: Add `worktree claude-hook`, so Claude Code's `--worktree`, subagent isolation and background sessions can create and remove worktrees through this tool (the `WorktreeCreate` and `WorktreeRemove` hooks), and copy the gitignored files a root `.worktreeinclude` names. + +### Patch Changes + +- 7c61a24: `worktree cleanup` now removes a squash-merged worktree even when the default branch changed lines near the branch's changes before the merge. It checks whether merging the branch would change anything, instead of matching patches. A worktree it still holds back for unpushed commits it cannot find in the base is now named in the output rather than skipped silently. + ## 3.1.1 ### Patch Changes diff --git a/docs/src/lib/site-meta.ts b/docs/src/lib/site-meta.ts index acec234d..cc3bee05 100644 --- a/docs/src/lib/site-meta.ts +++ b/docs/src/lib/site-meta.ts @@ -1,6 +1,6 @@ // Generated file. Do not edit directly. -export const cliVersion = "3.1.1"; +export const cliVersion = "3.2.0"; export const projectName = "Worktree"; export const projectDescription = "A CLI tool for managing git worktrees with enhanced workflow features"; diff --git a/package.json b/package.json index 27ae4d9d..00595e80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@northguild/worktree", - "version": "3.1.1", + "version": "3.2.0", "description": "A CLI tool for managing git worktrees with enhanced workflow features", "main": "./bin/run.js", "type": "module",