Release Notes
Improved
wt config shell completions <shell>: Generate static shell completion scripts for package managers and custom installation. (#701, thanks @chenrui333)- Debug logging threshold: Now requires
-vvinstead of-vfor debug logging and diagnostic file generation, freeing-vfor future use. (#702)
Fixed
- Fork PR fetching:
wt switch pr:Nnow works whenoriginpoints to a fork by fetching PR refs from the upstream remote. Shows actionable error withgit remote addcommand if upstream remote is missing. (#704) - Fork PR branch naming: Fork PR branches now use the original branch name (e.g.,
feature-fix) instead ofowner/feature-fix, sogit pushworks correctly. (#706) - Config race conditions: File locking prevents corruption when multiple
wtprocesses modify config simultaneously. (#693) - Nested worktree detection: Current worktree indicator (
@) now shows on the correct worktree when worktrees are nested (e.g.,.worktrees/layout inside repo). (#697) - Symlink path resolution: Worktree commands work correctly on systems with symlinks (e.g., macOS
/var→/private/var). (#696) - Pre-remove hook failures: Shell no longer cd's to main worktree when pre-remove hooks fail, leaving user in their current location. (#692)
- PowerShell completion robustness: Completion registration errors no longer break the shell wrapper function. (#674)
Documentation
- Added missing
orphan(∅) symbol andno_worktreestate to JSON output documentation. (#687) - Clarified Unicode handling in shell detection. (#700)
Internal
- Refactored large files into focused modules. (#688)
- Consolidated integration reason computation into Repository method. (#689)
- Added verbose level tracking infrastructure for future
-voutput. (#703) - PowerShell template uses
WORKTRUNK_BINfor test isolation. (#674)
Install worktrunk 0.15.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/max-sixty/worktrunk/releases/download/v0.15.2/worktrunk-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/max-sixty/worktrunk/releases/download/v0.15.2/worktrunk-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install max-sixty/worktrunk/wtDownload worktrunk 0.15.2
| File | Platform | Checksum |
|---|---|---|
| worktrunk-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| worktrunk-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| worktrunk-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| worktrunk-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| worktrunk-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |