Skip to content

@codemagic/patch-cli@0.3.0

Choose a tag to compare

Features

  • Added a guided self-hosting workflow in cmpatch: you can now install a server from the CLI, then continue through sign-in, app creation, and project linking without restarting the flow.
  • Added self-host maintenance commands for hosted installs: cmpatch selfhost upgrade, cmpatch selfhost backup, and cmpatch selfhost restore.
  • cmpatch init now offers self-host installation when no server URL is configured, alongside entering an existing server URL or opening the self-host docs.
  • Self-host setup now walks you through the CDN choice during install, including Cloudflare, CloudFront, or no CDN.
  • Added local evaluation support through the CLI with cmpatch selfhost local-eval [up|down|status].

Fixes

  • Self-host backup, restore, and upgrade are now more resilient to interruption: cleanup is signal-safe, preserves the original exit status, and avoids getting stuck during teardown.
  • Interrupted or killed maintenance runs now clean up more reliably before the server is restarted or upgraded.

Other

  • The CLI docs and self-hosting guidance were aligned with the new install and local-eval workflows.