Repository navigation
v0.28.0
Each worktree runs its own services on its own ports; read the migration guide if you used wtm run, wtm switch or script wtm.
Highlights
- The
runmodule: per-worktree services and tasks grouped in profiles;wtm run initwrites the config,wtm run upstarts the stack. → Jobs and profiles - Per-worktree isolation: shifted ports (
3000→3010) rewritten in.env, and its ownCOMPOSE_PROJECT_NAME;wtm envsettles them. → Isolation - Named URLs per job and worktree (
http://web.feat-login.acme.localhost:11080), on port 80 on macOS withwtm run proxy install. → Addressing
Breaking
wtm switchis removed: usewtm gothenwtm run up. → Migrating to 0.28--non-interactiveis removed: use--yes. → Migrating to 0.28- Hooks run through
/bin/sh -cwith placeholders already quoted: drop your own quotes around{{worktree}}. → Migrating to 0.28 runcommands take the worktree as argument and the job or profile as a flag, and their JSON changes shape: update scripts. → Migrating to 0.28run down --allstays in the current repository,run importreplaces instead of merging, andrun.tomlis validated more strictly. → Migrating to 0.28
Added
- Shared services: one postgres for the repository, one database per worktree, dropped on
clean. → Shared services run upstops before a migration touches data the worktree does not own.wtm run up feat-a feat-bruns several worktrees at once, andwtm uishows and drives the services.
Changed
- Output is more consistent: a
┃bar marks wtm's blocks, hooks sum up in one line, and--quietworks everywhere.
Fixed
- The
wtmshell function returns the command's exit code (open a new shell after upgrading). wtm initno longer installs every workspace package separately.- Rewriting a
.envvalue keeps its quotes, comment and line endings.