Skip to content

Release v0.49.0 - #2660

Merged
max-sixty merged 3 commits into
mainfrom
release
May 10, 2026
Merged

max-sixty merged 3 commits into
mainfrom
release

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Bump worktrunk to 0.49.0 — minor bump (semver-checks reports a breaking change in GitError::UncommittedChanges, which gained a dirty_files: Vec<String> field).

Highlights

Improved

  • New codename(n) template filter — deterministic friendly worktree names from a ~1.26M-combo pool ({{ branch | codename(2) }} → malleable-opah). #2641, thanks @endigma
  • Picker preview disk cache for Log / BranchDiff / UpstreamDiff, with background refresh for stale Log decorations. #2628, #2646
  • Picker shares one default_branch_sha lookup across BranchDiff items instead of forking N rev-parse subprocesses. #2658
  • "X has uncommitted changes" errors now list the dirty files inline. #2653

Fixed

  • wt switch integrates with cd aliases like zoxide (uses builtin cd). #2644, thanks @xkumiyu for reporting
  • Empty hook tables no longer panic during wt switch --create. #2635, thanks @topit for reporting
  • Repository::current_worktree() and five sibling helpers no longer silently leak the process CWD when called via Repository::at(p). #2652
  • WorkingTree::is_linked tolerates non-git CWDs (e.g. Nix sandbox). #2625, thanks @DArtagan for reporting
  • Picker no longer overlays collect warnings on the active TUI; clears its frame on exit in inline mode. #2627, #2626
  • Failed git log no longer poisons the picker's preview disk cache. #2651
  • wt step prune says "removing branch" for branch-only candidates. #2619
  • Claude Code Windows integration uses a wt.sh wrapper to avoid colliding with Windows Terminal's wt.exe. #1754, thanks @lucaspimentel

Documentation

See CHANGELOG.md for the full list including internal CI / test-isolation changes.

Test plan

  • cargo run -- hook pre-merge --yes (tests + lints clean)
  • cargo semver-checks check-release -p worktrunk (one breaking change confirmed → minor bump)
  • CHANGELOG entries verified by subagent against actual diffs

🤖 Generated with Claude Code

@worktrunk-bot worktrunk-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One observation worth a look before merging:

#2655 (fix(opencode): use ~/.config/opencode for plugin path on macOS) is missing from the release branch. It merged to main at 2026-05-09 22:54 -0700, ~8 minutes before the release commit (f06c6a77 at 23:02 -0700). The release branch's parent is 8ef88754, so #2655 was on main but not picked up. It's a real macOS bug fix (opencode was writing plugins to ~/Library/Application Support/opencode/ instead of ~/.config/opencode/), so it'd probably want to ship in 0.49.0 unless you're intentionally cutting at an earlier point.

Suggested options:

  • Rebase release onto origin/main, run cargo run -- hook pre-merge --yes, and add a Fixed bullet for #2655.
  • Or leave 0.49.0 as-is and ship #2655 in a follow-up.

Other release-PR sanity checks all looked clean:

@worktrunk-bot

Copy link
Copy Markdown
Collaborator

test (linux) failed on a single signal-handling test unrelated to this release's changes:

FAIL [ 0.758s] integration_tests::step_alias::test_alias_concurrent_receives_sigint
wt should exit from SIGINT (signal 2) or with code 130, got: ExitStatus(unix_wait_status(36608))

36608 >> 8 = 143 (i.e. 128 + 15 = SIGTERM), so wt exited from SIGTERM rather than the SIGINT the test sends to its process group — looks like a timing flake in the signal-propagation test, not a regression. Recent main CI is green, and the diff in this PR (opencode plugin path + CHANGELOG) doesn't touch any signal-handling code. Approval left in place; a single rerun of test (linux) should clear it.

@max-sixty
max-sixty merged commit 7a61d38 into main May 10, 2026
44 of 45 checks passed
@max-sixty
max-sixty deleted the release branch May 10, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants