@m-kopa/launchpad-cli 0.68.0 → 0.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,31 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
  This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html);
7
7
  pre-1.0 minor bumps may carry breaking changes per ADR 0005.
8
8
 
9
+ ## 0.70.0 - 2026-10-05
10
+
11
+ ### Added
12
+
13
+ - `launchpad migrate` moves a live Pages app to Workers dispatch in stages: `--origin dispatch --dry-run` checks it, `--origin dispatch` stages the Worker while users stay on Pages, `--flip` moves routing once the Worker is read back, has your secrets and serves its home page, and `--finalize` deletes the Pages project after a 24-hour soak. `--rollback` goes back to Pages with one Terraform apply until you finalize, and `--status` shows where it is. Owners and co-owners only; break-glass passes `--consent`. The platform team switches it on per app while it rolls out (ADR 0041 amendment 1).
14
+ - `launchpad secrets push --staged` writes secrets to the staged Worker during a migration, before the flip.
15
+ - `launchpad status` shows the migration stage and which origin is serving users, in text and `--json`.
16
+
17
+ ### Changed
18
+
19
+ - `launchpad migrate --origin dispatch` on a registered app now asks the platform instead of refusing with "ask the platform team".
20
+ - `launchpad deploy` can no longer change a live app's origin. A manifest that would move a registered app between Pages and dispatch is refused with `origin_change_requires_migrate`; use `launchpad migrate`.
21
+
22
+ ## 0.69.0 - 2026-10-05
23
+
24
+ ### Changed
25
+
26
+ - Raise the production minimum CLI version to 0.67.0 through the governed policy workflow.
27
+
28
+ ### Fixed
29
+
30
+ - `launchpad deploy` warns before uploading when a dispatch `static` or `react` app bundles a `functions/` folder: only `react+api` apps get their functions compiled, so those routes return 404. The deploy still goes through. The bot repeats the warning in its response for older CLIs (#1006).
31
+ - `launchpad logs` on a Workers dispatch app no longer reports "project not found yet". It says logs only covers Pages apps today and points to `launchpad status` and the latest build run (#1005).
32
+ - `launchpad deploy` retries the registry check before a first-deploy conversion, so a registry blip no longer stops a registered app's deploy. If every try fails, the error says the app may already exist and a retry is safe (#1014).
33
+
9
34
  ## 0.68.0 - 2026-10-05
10
35
 
11
36
  ### Fixed
@@ -10,6 +10,8 @@ export interface BundleAndDeployArgs {
10
10
  readonly overrideStale?: string | null;
11
11
  /** Explicitly deploy a non-clone tree without source provenance. */
12
12
  readonly allowUnguarded?: boolean;
13
+ /** Non-blocking notices about the bundle, shown before it is uploaded. */
14
+ readonly onWarning?: (message: string) => void;
13
15
  }
14
16
  export type BundleAndDeployResult = {
15
17
  kind: "walk-error";
@@ -1 +1 @@
1
- {"version":3,"file":"orchestrate.d.ts","sourceRoot":"","sources":["../../src/bundle/orchestrate.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAKtE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;0CACsC;IACtC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,oEAAoE;IACpE,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,MAAM,MAAM,qBAAqB,GAC7B;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACvC;IAAE,IAAI,EAAE,aAAa,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAC3C;IAAE,IAAI,EAAE,YAAY,CAAC;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