Releases: codemagic-ci-cd/codemagic-patch
Releases · codemagic-ci-cd/codemagic-patch
Release list
codemagic-patch-server-v0.3.0
Breaking changes
- Self-hosted Cloudflare installs that keep the old two-hour edge TTL rule must remove it when adopting the new CDN cache policy; otherwise cached freshness will stay pinned to the old behavior.
Features
- Added CloudFront as a supported delivery option for self-hosted servers, including URL resolution and purge handling that preserves the server’s public base URL prefix.
- Added CLI-based self-host installation and maintenance for the server, covering install, upgrade, backup, and restore flows with guided setup for Cloudflare, CloudFront, or no CDN.
- Metric failure events now include structured failure details such as HTTP status, origin message, and Android process-exit context, giving operators more useful failure breakdowns.
- Server status reporting now distinguishes download reachability and deployment topology more accurately, so health and storage/version information only appears where it applies.
Fixes
- Failed metric events are now removed once a device successfully updates to the same package, so dashboards and aggregates reflect the final result instead of transient retries.
- Backup, restore, and upgrade cleanup now handles interruption signals safely, reducing the chance of leaving a self-hosted server in an inconsistent state.
@codemagic/react-native-patch@0.3.0
Features
- Android update failure reports now carry more detail, making it easier to tell apart server responses, network failures, and app-process exits when you inspect update telemetry.
Fixes
- Pending updates now get a longer grace period before they are marked failed if the app has not reported
notifyAppReady(), which reduces false rollback signals on devices that restart or are reclaimed by the OS.
@codemagic/patch-cli@0.3.0
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.
codemagic-patch-server-v0.2.0
- Metrics APIs and the dashboard now show why installs failed, via a new
failure_reasonsfield. - The server can now block release publication on fingerprint mismatches for clients that opt in. Existing clients keep the previous warning-only behavior.
- Compose self-hosting now officially supports external PostgreSQL and external object storage.
@codemagic/patch-cli@0.2.0
- Reworked the CLI with a new interactive UI: consistent prompts, progress indicators, and clearer error messages. Missing flags are resolved interactively, and authentication failures provide sign-in and retry options.
- Publishing a release with a native fingerprint mismatch now requires explicit confirmation. In CI, pass
--allow-fingerprint-mismatchto proceed.
@codemagic/react-native-patch@0.2.0
Now you can check label, packageHash, and release note of running bundle using getRunningBundleUpdateMetadata