Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Release v0.5.2
Maximilian Roosf493b4ab53df
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 1d27db4cf..f6ce10af0 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,19 @@# Changelog+## 0.5.2++### Improved++- **`--clobber` flag for `wt switch`**: When encountering a stale directory or file at the target worktree path, `--clobber` moves it to a timestamped `.bak` file instead of failing.+- **Relative paths in `wt list`**: Paths are now shown relative to the main worktree (`.`, `./subdir`, `../repo.feature`) instead of a computed common prefix that could degenerate to `/`.+- **Multiline error formatting**: Errors with context now show a header describing what worktrunk was trying to do, with the full error chain in a gutter block.+- **Semantic switch messaging**: Switching to an existing worktree now shows ⚪ (info) instead of ✅ (success), reflecting that nothing was created.++### Fixed++- **Symbol styling in removal messages**: Integration symbols (`_`, `⊂`) now render in their canonical dim appearance instead of inheriting the message's cyan color.+- **ConflictingChanges error formatting**: Fixed double newlines in the error message output.+## 0.5.1### Improveddiff --git a/Cargo.lock b/Cargo.lockindex d7202a050..a9371df23 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -3055,7 +3055,7 @@ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"[[package]]name = "worktrunk"-version = "0.5.1"+version = "0.5.2"dependencies = ["ansi-str","ansi-to-html",diff --git a/Cargo.toml b/Cargo.tomlindex d364fa180..5e283472a 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -5,7 +5,7 @@ default-members = [".", "tests/helpers/dev-detach"][package]name = "worktrunk"-version = "0.5.1"+version = "0.5.2"edition = "2024"rust-version = "1.89"build = "build.rs"