Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Release v0.5.0

Maximilian Roosf8eb065f5da9
diff --git a/.claude/skills/release/SKILL.md b/.claude/skills/release/SKILL.md
index af3474bc5..fc6b97c52 100644
--- a/.claude/skills/release/SKILL.md
+++ b/.claude/skills/release/SKILL.md
@@ -46,7 +46,14 @@ Notable changes to document:
- New features or commands
- User-visible behavior changes
- Bug fixes users might encounter
-- Breaking changes
+
+**Section order:** Improved, Fixed, Internal. Within each section, list most interesting/impactful changes first. Internal is for selected notable internal changes (not everything).
+
+**Breaking changes:** Note inline with the entry, not as a separate section:
+
+```markdown
+- **Feature name**: Description. (Breaking: old behavior no longer supported)
+```
Skip: internal refactors, doc-only changes, test additions (unless user-facing like shell completion tests).
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ea864be67..cfd8723b4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,25 @@
# Changelog
+## 0.5.0
+
+### Improved
+
+- **Path column hidden when redundant**: Path column is deprioritized when all paths match the naming template, showing only at wider terminal widths (~125+ columns).
+- **Better error formatting**: Errors with context now show a header with the root cause in a gutter block, improving readability for git errors.
+- **Clearer integration target**: Separated `default_branch` (for stats like ahead/behind) from `target` (for integration checks), catching branches merged remotely before pulling.
+
+### Fixed
+
+- **Untracked files block integration**: Untracked files now prevent a worktree from being flagged as integrated, avoiding accidental data loss on removal.
+- **Dirty worktree count includes untracked**: Summary now correctly counts worktrees with untracked files as dirty.
+- **Branch name disambiguation**: Fixed `refname:short` issues when a branch and remote have the same name.
+- **JSON output uses kebab-case**: Enum values changed from snake_case to kebab-case (e.g., `same_commit` → `same-commit`). (Breaking: scripts parsing JSON output may need updates)
+- **Legacy marker format removed**: Plain-text markers no longer parsed. (Breaking: re-set markers with `wt config state marker set`)
+
+### Internal
+
+- **Unified command execution**: All external commands now go through `shell_exec::run()` for consistent logging and tracing.
+
## 0.4.0
### Added
diff --git a/Cargo.lock b/Cargo.lock
index 8d72a0acc..c6f529b1d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2960,7 +2960,7 @@ checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
[[package]]
name = "worktrunk"
-version = "0.4.0"
+version = "0.5.0"
dependencies = [
"ansi-str",
"ansi-to-html",
diff --git a/Cargo.toml b/Cargo.toml
index 7584a017f..7b2192813 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,7 @@ default-members = [".", "tests/helpers/dev-detach"]
[package]
name = "worktrunk"
-version = "0.4.0"
+version = "0.5.0"
edition = "2024"
rust-version = "1.89"
build = "build.rs"