Skip to content

unity-cli@v1.1.0

Choose a tag to compare

@StephenHodgson StephenHodgson released this 05 Oct 15:43
· 43 commits to main since this release
9a8a6ac

What's Changed

  • unity-cli@v1.1.0 by @StephenHodgson in #15
    • Process cleanup
      • Replaced TryKillProcess with async KillProcess that escalates to SIGKILL / taskkill after a timeout.
      • KillChildProcesses now collects and awaits child-kill promises instead of fire-and-forget.
      • Call sites updated to use/await the new APIs where applicable.
    • Log/tailing & stdout handling
      • Added TailLogFile to tail Unity log files robustly (periodic reads + final flush + EPIPE handling).
      • Exec and spawn wrappers now buffer incomplete lines, flush on close, and write whole lines to stdout.
      • Helpers added to wait for files to be created/readable and to wait for file unlocks.
    • Unity Editor & Hub lifecycle
      • UnityEditor.Run: ensures -automated/-batchmode/-logFile args, waits for log file, tails logs while process runs.
      • Cancellation triggers KillProcess + KillChildProcesses to ensure cleanup.
      • UnityHub now parses streamed output more safely, triggers KillProcess on completion messages.
    • CLI & GitHub Actions integration
      • CLI commands call Logger.instance.setEnvironmentVariable to persist UNITY_* values for subsequent workflow steps.
      • Logger writes to GITHUB_ENV / GITHUB_OUTPUT when available.
    • CI/workflow
      • Workflow split into setup unity-cli and setup unity steps, added env verification steps.
    • Misc
      • Version bump to 1.0.14 and multiple lockfile/devDependency updates.
      • Added small utilities: PromptForSecretInput, Delay, TestFileAccess.
      • Several listener cleanup and robustness fixes (removeListener guards, safer regex parsing).

Full Changelog: v1.0.13...v1.1.0