Skip to content

Release v0.3.2 - #2

Merged
brian-taylor-unity merged 1 commit into
mainfrom
release/v0.3.2
Nov 19, 2026
Merged

brian-taylor-unity merged 1 commit into
mainfrom
release/v0.3.2

Conversation

@brian-taylor-unity

Copy link
Copy Markdown
Collaborator

Upgrading

  • hydrate on a worktree that already has a Library/ now exits 0 and leaves it alone. It used to exit 2. A script that relied on that failure to detect an existing Library should read value.action from hydrate --json instead. Goldens and worktrees made with v0.3.1 keep working.

Added

  • hydrate --json, for an agent's worktree setup script. The record says whether the Library was cloned (action hydrated) or was already there (action kept, with library uwt or other), and names the build target.
  • Error records from hydrate --json and new --json carry a reason a script can branch on: no_golden, editor_busy, unsupported_volume, different_volume or other_project.
  • seed, hydrate and doctor print the build target the golden opens on. The golden carries it so worktrees skip a platform switch, but a golden left on one platform costs a switch in every worktree that builds for another. Seed on the platform you build for. The target is read from Unity 2021.3 and later; where it cannot be read, nothing is printed.

Changed

  • hydrate is safe to run every time: a worktree that has a Library/ is left alone, and --force replaces it.
  • seed's warning about uncommitted changes now says what they cost: the Library was imported from them, so every worktree reimports those assets on first open. Seed from a clean checkout.
  • The docs give first-open time as a range (42-66 s for one editor alone, up to about 7 minutes with four opening at once on a large project), note that the Search index rebuilds in the background after the first refresh, and explain what new shares that hydrate does not (source and art files, not only the Library).

Fixes

  • macOS: doctor, seed, new and hydrate now refuse a volume that is not APFS. cp -c copies every byte where the filesystem cannot clone, and its success was taken as proof of a clone, so doctor reported OK on a FAT volume and a seed there would have been a full copy.
  • hydrate --force no longer deletes the existing Library/ before it knows the replacement will work. It checks the volume first, clones the new Library next to the old one and swaps them, so a failed check or a failed clone leaves the old Library untouched. A swap that was interrupted is repaired by the next hydrate.
  • The test suite no longer assumes git's default branch is master. It failed two assertions where init.defaultBranch is main.

Upgrading

- hydrate on a worktree that already has a Library/ now exits 0 and leaves it alone. It used to exit 2. A script that relied on that failure to detect an existing Library should read value.action from hydrate --json instead. Goldens and worktrees made with v0.3.1 keep working.

Added

- hydrate --json, for an agent's worktree setup script. The record says whether the Library was cloned (action hydrated) or was already there (action kept, with library uwt or other), and names the build target.
- Error records from hydrate --json and new --json carry a reason a script can branch on: no_golden, editor_busy, unsupported_volume, different_volume or other_project.
- seed, hydrate and doctor print the build target the golden opens on. The golden carries it so worktrees skip a platform switch, but a golden left on one platform costs a switch in every worktree that builds for another. Seed on the platform you build for. The target is read from Unity 2021.3 and later; where it cannot be read, nothing is printed.

Changed

- hydrate is safe to run every time: a worktree that has a Library/ is left alone, and --force replaces it.
- seed's warning about uncommitted changes now says what they cost: the Library was imported from them, so every worktree reimports those assets on first open. Seed from a clean checkout.
- The docs give first-open time as a range (42-66 s for one editor alone, up to about 7 minutes with four opening at once on a large project), note that the Search index rebuilds in the background after the first refresh, and explain what new shares that hydrate does not (source and art files, not only the Library).

Fixes

- macOS: doctor, seed, new and hydrate now refuse a volume that is not APFS. cp -c copies every byte where the filesystem cannot clone, and its success was taken as proof of a clone, so doctor reported OK on a FAT volume and a seed there would have been a full copy.
- hydrate --force no longer deletes the existing Library/ before it knows the replacement will work. It checks the volume first, clones the new Library next to the old one and swaps them, so a failed check or a failed clone leaves the old Library untouched. A swap that was interrupted is repaired by the next hydrate.
- The test suite no longer assumes git's default branch is master. It failed two assertions where init.defaultBranch is main.
@brian-taylor-unity
brian-taylor-unity merged commit a25d303 into main Nov 19, 2026
9 checks passed
@brian-taylor-unity
brian-taylor-unity deleted the release/v0.3.2 branch November 19, 2026 21:50
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