Release Notes
Improved
- Post-remove hook: New hook type runs after worktree removal. Template variables (
{{ branch }},{{ worktree_path }},{{ commit }}) reference the removed worktree, enabling cleanup scripts for containers, servers, or other resources. (#757) - Graceful handling of missing worktree directories:
wt removenow prunes stale git metadata when the worktree directory was deleted externally (e.g.,rm -rf), making the command more idempotent. Fixes #724. (thanks @strangemonad for reporting) - Config validation warnings at load time: Unknown fields in config files (typos like
[commit-gen]instead of[commit-generation]) now show warnings immediately instead of only inwt config show. (#758)
Fixed
- Age column shows "future" on NixOS/direnv:
wt listno longer usesSOURCE_DATE_EPOCHfor time calculations, which NixOS and direnv commonly set to past timestamps for reproducible builds. Fixes #763. (thanks @ngotchac for reporting) - CI status with URL-based pushremote: CI detection now works when
branch.<name>.pushremoteis set to a URL directly (asgh pr checkoutdoes) instead of a remote name. (#769) - GitLab nested groups in URL parsing: URLs like
gitlab.com/group/subgroup/reponow correctly identifyrepoas the repository name instead ofsubgroup. This was a security fix — previously, approval bypass was possible across sibling repos in the same parent group. (#768) - GitLab CI status detection: Fixed multiple issues with
glabCLI compatibility — MR lookup now uses two-step resolution, "manual" pipelines show as running instead of failed, and rate limit errors are handled properly. Fixes #764. (thanks @ngotchac for reporting)
Internal
- Refactored accessor functions to use bare nouns per Rust convention. (#765)
- Clarified target/integration naming across codebase. (#755)
Install worktrunk 0.18.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/max-sixty/worktrunk/releases/download/v0.18.0/worktrunk-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/max-sixty/worktrunk/releases/download/v0.18.0/worktrunk-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install max-sixty/worktrunk/wtDownload worktrunk 0.18.0
| 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 |