@m-kopa/launchpad-cli 0.27.4 → 0.28.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,44 @@ 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.28.0 — 2026-06-17
10
+
11
+ PostHog usage telemetry (sp-phcli2).
12
+
13
+ - The CLI now records one anonymous/signed-in `command_run` event per command
14
+ (command name, exit code, duration, CLI version, OS, Node version, `ci`,
15
+ `environment`) so the platform team can see usage and failures. Identified by
16
+ your M-KOPA email when signed in, by a local anonymous device-id otherwise.
17
+ - **Never sends your data:** a fixed allowlist means command arguments, paths,
18
+ env, secrets, repo/app names, and group ids can **not** be transmitted — only
19
+ the fields above. Email is the only PII, and only on signed-in events.
20
+ - **Never slows or breaks a command:** the event is delivered by a detached,
21
+ `unref`'d background process after the command finishes (the same pattern as
22
+ the update check), bounded by a timeout and fully fail-silent.
23
+ - This is internal staff tooling: telemetry is **on by default and cannot be
24
+ disabled** (`DO_NOT_TRACK` is not honored) — see the new
25
+ [usage analytics](https://get.launchpad.m-kopa.us/docs/concepts/telemetry)
26
+ disclosure page and ADR 0027 / the ADR 0014 amendment. A one-time notice is
27
+ printed on first interactive run.
28
+
29
+ ## 0.27.5 — 2026-06-16
30
+
31
+ Post-deploy verification — `launchpad deploy` confirms the live deployment
32
+ serves what you shipped (sp-dplvfy).
33
+
34
+ - After a content deploy commits, the CLI now **waits for the Cloudflare Pages
35
+ build to settle and then checks the served deployment matches your shipped
36
+ `index.html`** (by hash). A mismatch — the silent-revert class where the
37
+ build reads the entrypoint from a different path than your files land at —
38
+ fails the deploy with exit `65` and a build-config diagnosis, instead of a
39
+ misleading "success". A failed build exits `1` (with a log excerpt); a build
40
+ still pending within the timeout is a soft, non-failing outcome.
41
+ - Static apps get a byte/hash compare; react/react+api get a reachability check.
42
+ Content is compared by hash + length only — never echoed back.
43
+ - New `--no-verify` (skip the wait/check) and `--verify-timeout=<seconds>`
44
+ (default 180) flags. A status-read hiccup degrades to "couldn't verify"
45
+ rather than failing a committed deploy.
46
+
9
47
  ## 0.27.4 — 2026-06-16
10
48
 
11
49
  Self-serve developer-access grants (sp-grnted, Bundle 1).