Release Notes
Fixed
- No spurious
Skipping pre-commit hooks (--no-hooks)line after declined approval:wt step commit,wt step squash, andwt mergecollapsed two distinct hook-skip reasons — the user passing--no-hooksand the user declining an interactive approval prompt — into a singleverify: bool. With hooks configured, declining produced both○ Commands declined, committing without hooksand○ Skipping pre-commit hooks (--no-hooks)back-to-back; the second line was wrong because the user never passed--no-hooks. The call chain now carries aHookGate(Run/NoHooksFlag/Silent), so declined-approval paths skip hooks silently while the explicit--no-hooksflag still prints its message exactly once. (#2485)
Internal
-
HookAnnounceris the single entry point for hook dispatch:post-commitandpost-switchnow route through the same announcer used by other phases, and remaining call sites adoptTemplateVarsfor variable assembly. (#2481, #2482, #2484) -
Merge cleanup extracted: The post-merge finish sequence moves into
worktree::finish_after_merge, andwt listthreads the placeholder explicitly instead of reaching throughCell. (#2491, #2492) -
CI consolidated onto a shared composite action: New advisory
cargo-affectedjobs land, and the test matrix and affected-jobs setup now share one composite action. (#2475, #2483, #2486)
Install worktrunk 0.46.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/max-sixty/worktrunk/releases/download/v0.46.1/worktrunk-installer.sh | sh && wt config shell installInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/max-sixty/worktrunk/releases/download/v0.46.1/worktrunk-installer.ps1 | iex"; git-wt config shell installInstall prebuilt binaries via Homebrew
brew install worktrunk && wt config shell installDownload worktrunk 0.46.1
| 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 |
Install via Cargo
cargo install worktrunk && wt config shell installInstall via Winget (Windows)
winget install max-sixty.worktrunk && git-wt config shell installInstall via AUR (Arch Linux)
paru worktrunk-bin && wt config shell install