Repository navigation
Releases
v0.2.0
Before you upgrade
Deploy the 0.2.0 server to every server sharing a bucket (staging and production, Workers and containers) before any
job uses the 0.2.0 CLI's new features, or raises its pinned CLI version. This release adds two stored reply versions:
- Version 2 (rollouts) is written by
tide publish --rolloutandtide rollout. - Version 3 (several signing identities) is written to
reply/no-updatebytide publish --add-identity, and by later chained writes that renew it.
Do not roll a server back below 0.2.0 while the bucket holds either: a 0.1.0 server answers 503 for them. Once
reply/no-update is version 3, keep every writer's CLI at 0.2.0 or later too. See
Upgrade order and
Adding a signing identity.
What's new
- Staged rollouts.
tide publish --rollout <percent>, thentide rollout <percent>|complete|revert. The server picks per install. - Certificates from KMS keys.
tide certificatewrites the self-signed code-signing certificate, signed by a key that never leaves KMS. - Certificate chains. Embed a CA root once and rotate the signing leaf without a new store build.
- Several signing identities on one bucket, each with its own keyid and runtime version.
- Smaller updates.
tide export --base-bytecodecompiles Hermes bytecode against the embedded bundle; in our Android measurements patches were 40 to 70% smaller. - Operations.
--jsonon the read and write commands,tide probe --rollout-side new, andtide statson Workers, which exits 10 for a bad update. - Node analytics.
TIDE_ANALYTICS=stdoutwrites one JSON line per update check. Off by default. - Docs. A runbook for people and coding agents, and an example job that reverts a bad rollout.
tide stats is tested against a local stand-in for Cloudflare's API and has not run against a live account yet. Run it once by hand before a job acts on it.
Tested
CI, the hosted Android conformance run (run) and an iOS 26.5 simulator run on a Mac, all on 57dd1b8: expo-updates 55 and 58, 11 scenarios each, all pass.
iOS result lines
ios expo-updates 55 embedded: pass: both launches ran embedded update 71e83ba5-a1d8-4d18-8d50-bc07f4464297 and accepted the signed reply/no-update
ios expo-updates 55 full: pass: ran 07af761d-88b8-427d-a52f-274804be9c23 from the full bundle; a relaunch got reply/no-update
ios expo-updates 55 patch-ota: pass: ran b011a76e-add3-40c0-92d2-483f0af9f2d2 from a patch on update 07af761d-88b8-427d-a52f-274804be9c23
ios expo-updates 55 corrupt-patch: pass: ran 7c30c1ce-e110-4fca-bf00-64944a2a9253 from the full bundle after the tampered patch
ios expo-updates 55 rollback: pass: rolled back from 7c30c1ce-e110-4fca-bf00-64944a2a9253 to 71e83ba5-a1d8-4d18-8d50-bc07f4464297
ios expo-updates 55 patch-embedded: pass: ran 5177fbde-bc41-4059-880d-0d2de9a33aea from a patch on embedded update 71e83ba5-a1d8-4d18-8d50-bc07f4464297
ios expo-updates 55 patch-delta: pass: ran 9018a296-8883-4cbd-8148-e457fa59dfe7, compiled against the embedded bundle, from patches on update 5177fbde-bc41-4059-880d-0d2de9a33aea and on embedded update 71e83ba5-a1d8-4d18-8d50-bc07f4464297
ios expo-updates 55 identities: pass: keyid conformance ran e57945c8-cb88-4f78-852d-b578268625b8 and 665a2fd1-0be5-46aa-9e5f-0cf55f23f113 across keyid conformance-chain joining, whose build ran only c43f7726-7443-4833-b727-fe28bd5a8c06
ios expo-updates 55 chain-patch: pass: ran 488495b4-4257-4f48-bef3-ee7b4317d2e1 from a patch on update c43f7726-7443-4833-b727-fe28bd5a8c06
ios expo-updates 55 chain-rollback: pass: rolled back from 488495b4-4257-4f48-bef3-ee7b4317d2e1 to 6a6eefe9-3e7e-4db7-92a1-461c3dc6148e
ios expo-updates 55 leaf-rotation: pass: the same build ran 4b47aac5-673d-4a7b-97e4-8451b2f2be46, signed by a new leaf, from a patch on update 6a6eefe9-3e7e-4db7-92a1-461c3dc6148e
ios expo-updates 58 embedded: pass: both launches ran embedded update f7fe4597-989a-45c2-9704-af3a3087097b and accepted the signed reply/no-update
ios expo-updates 58 full: pass: ran 86531c0f-f371-4751-8129-5e88c0c80004 from the full bundle; a relaunch got reply/no-update
ios expo-updates 58 patch-ota: pass: ran 8f21f7b7-6103-4dd9-bc8e-323e086eb484 from a patch on update 86531c0f-f371-4751-8129-5e88c0c80004
ios expo-updates 58 corrupt-patch: pass: ran 94fc623f-2f3d-421f-8c80-e27a2f41cbf0 from the full bundle after the tampered patch
ios expo-updates 58 rollback: pass: rolled back from 94fc623f-2f3d-421f-8c80-e27a2f41cbf0 to f7fe4597-989a-45c2-9704-af3a3087097b
ios expo-updates 58 patch-embedded: pass: ran 1379f625-b4d6-4b16-ab3b-b3dbd32a6da4 from a patch on embedded update f7fe4597-989a-45c2-9704-af3a3087097b
ios expo-updates 58 patch-delta: pass: ran 7fd00fc8-bf17-46d0-ae9e-c3f86b27aa89, compiled against the embedded bundle, from patches on update 1379f625-b4d6-4b16-ab3b-b3dbd32a6da4 and on embedded update f7fe4597-989a-45c2-9704-af3a3087097b
ios expo-updates 58 identities: pass: keyid conformance ran 8d383f68-622f-4756-b098-e2fef536e4ae and 72c4b411-6c12-4f2d-8952-4ee268d68bcd across keyid conformance-chain joining, whose build ran only 79c4e838-5f5d-4a0a-816d-5dd409726419
ios expo-updates 58 chain-patch: pass: ran 690f8438-1924-448d-ace8-bf031408f378 from a patch on update 79c4e838-5f5d-4a0a-816d-5dd409726419
ios expo-updates 58 chain-rollback: pass: rolled back from 690f8438-1924-448d-ace8-bf031408f378 to 0a780b06-630d-4f83-9105-a2fb13848af3
ios expo-updates 58 leaf-rotation: pass: the same build ran 433b3ce2-a4b6-4b73-806d-756174779449, signed by a new leaf, from a patch on update 0a780b06-630d-4f83-9105-a2fb13848af3
What's Changed
- docs: plan P10-P13 from the design's later list by @HashimTheArab in #60
- docs: P11 serves several signing identities from one bucket by @HashimTheArab in #61
- P12.1: Rollout stored reply (version 2) and per-device serving by @HashimTheArab in #62
- docs: plan P14, operability without a dashboard by @HashimTheArab in #64
- P10.1: tide certificate: self-signed code-signing certificate signed by the configured key source by @HashimTheArab in #63
- P12.2: tide publish --rollout and tide rollout percentcompleterevert by @HashimTheArab in #65
- P11.1: Protocol: certificate chains checked by the clients rules by @HashimTheArab in #66
- P11.2: tide certificate issues a CA root, intermediates and leaves by @HashimTheArab in #68
- P13.1: Hermes delta measurement script and raw results by @HashimTheArab in #67
- P11.3: Chain mode: every signed reply carries certificatechain, checked before upload by @HashimTheArab in #69
- Agents treat read text as data; collapse generated files; prune redundant tests by @HashimTheArab in #71
- P13.2: Delta-compile correctness check and decision record 0002 by @HashimTheArab in #70
- P11.4: Multi-identity stored records and per-keyid serving (server reads first) by @HashimTheArab in #72
- P13.3: Delta compiles in tide export (only if 0002 decides yes) by @HashimTheArab in #73
- README: mention Hermes delta compiles by @HashimTheArab in #75
- P11.5: CLI reads multi-identity buckets: one certificate per keyid by @HashimTheArab in #74
- P11.6: One identity per runtime: CLI writers add an identity through reply/no-update only version by @HashimTheArab in #76
- P11.7: Conformance: a chained app and two identities on one bucket by @HashimTheArab in #77
- Loop: squash merges carry no attribution trailers by @HashimTheArab in #78
- P14.1: --json on the readers and writers, and tide probe --rollout-side new by @HashimTheArab in #79
- Loop: correct the PR text after fixes by @HashimTheArab in #80
- P14.2: tide stats: Analytics Engine checks and a bad-update exit code (Workers only) by @HashimTheArab in #81
- conformance: cleanup after a failed build log, more credentials dropped, apps removed by @HashimTheArab in #82
- P14.3: Opt-in Node analytics lines, docs/agents.md runbook and the scheduled revert example by @HashimTheArab in #83
Full Changelog: v0.1.0...v0.2.0
v0.1.0
What's Changed
- Loop: sliceLines, no owner stop, seven-PR roadmap by @HashimTheArab in #1
- Loop: always-on Opus simplicity review by @HashimTheArab in #2
- Loop: simplify before the bug reviews by @HashimTheArab in #3
- Design: asset key identity is enforced at publish by @HashimTheArab in #4
- P2.1: packages/protocol: package, asset hashing, manifest and directive types, multipart encode by @HashimTheArab in #5
- Loop: read the gate summary from its last JSON line by @HashimTheArab in #6
- P2.2: packages/protocol: expo-signature sign and verify against an X.509 certificate, signed gol by @HashimTheArab in #7
- Loop: retry an agent once when it returns nothing by @HashimTheArab in #8
- Loop: reviewers see the run's notes as fixed decisions by @HashimTheArab in #9
- P3.1: packages/server: read-only Store with R2, disk and S3 adapters GET /assetsh by @HashimTheArab in #10
- AGENTS: defend at the trust boundary, not twice by @HashimTheArab in #11
- Docs: Tide requires code signing by @HashimTheArab in #13
- P3.2: Stored reply (pointer) format in packages/protocol and GET /manifest on workerd and Node by @HashimTheArab in #12
- Protocol: reply names accept every Expo runtime policy by @HashimTheArab in #14
- Design: one serialized CI writer instead of a bucket lock by @HashimTheArab in #15
- Testing: concurrency cases match the serialized-writer design by @HashimTheArab in #16
- Loop: a closure check resolves a finding by its own scenario by @HashimTheArab in #17
- Loop: a narrow design P1 left after closure becomes a build requirement by @HashimTheArab in #18
- P4.1: packages/cli: writable bucket on disk and S3, and status by @HashimTheArab in #19
- P4.2: packages/cli: signing keys from a file, an environment variable or AWS KMS, checked agains by @HashimTheArab in #20
- P4.3: tide publish: export, hash, upload, key identity check, createdAt guard, sign, release rec by @HashimTheArab in #21
- P4.4: tide rollback and tide republish by @HashimTheArab in #22
- Design: nothing is deleted; gc becomes a read-only storage report by @HashimTheArab in #23
- P4.5: tide storage: a read-only report of unreferenced objects nothing is deleted by @HashimTheArab in #24
- P5.1: packages/protocol: patch contract (bases and patches keys, base record codec, BSDIFF40 app by @HashimTheArab in #25
- P5.2: packages/server: /bundles/hash bsdiff negotiation on workerd and Node by @HashimTheArab in #26
- P5.3: packages/cli: BSDIFF40 patch generator with bzip2 encoding, checked by the protocol applie by @HashimTheArab in #27
- Test: widen the suffix-sort timing margin to 3x by @HashimTheArab in #28
- P5.4: packages/cli: tide register-build, base records from every writer, registered builds in th by @HashimTheArab in #29
- P5.5: packages/cli: publish builds, self-checks and uploads BSDIFF40 patches end-to-end patch de by @HashimTheArab in #30
- P6.1: packages/server: one Workers Analytics Engine data point per /manifest request by @HashimTheArab in #31
- Roadmap: Tide never deploys live; P6 adds an export/publish split by @HashimTheArab in #32
- Loop: a Codex final message without a findings block is clean by @HashimTheArab in #34
- P6.2: packages/cli: tide probe, a synthetic check that verifies a served manifests signature aga by @HashimTheArab in #33
- P6.3: Deployment: a published Workers entry, an example deploy workflow, wrangler dry-run in the by @HashimTheArab in #35
- P6.4: packages/cli: split publishing into a secret-free export and a sign-and-upload step by @HashimTheArab in #36
- Roadmap: P6 done by @HashimTheArab in #37
- P7.1: conformance: harness stack with a local Tide, run-time signing identity and CLI driver (no by @HashimTheArab in #38
- P7.2: conformance: minimal Expo release apps for expo-updates 55 and 58 on an Android emulator by @HashimTheArab in #39
- cli tests: 30 s timeout for megabyte bsdiff and bzip2 cases by @HashimTheArab in #42
- Loop: rerun a failing gate once before a fix attempt by @HashimTheArab in #43
- Fixes from a full-repo review by @HashimTheArab in #44
- P8.1: Public repository files: roadmap split, CONTRIBUTING, SECURITY, templates, package metadat by @HashimTheArab in #41
- Loop: optional repo argument by @HashimTheArab in #47
- P7.3: conformance: update, patch, rollback and corrupt-patch scenarios on Android by @HashimTheArab in #40
- conformance tests: 30 s timeout for tests that spawn processes by @HashimTheArab in #49
- P8.2: README for first-time visitors with a verified comparison table by @HashimTheArab in #48
- README: ✅ and ❌ in the comparison table by @HashimTheArab in #50
- README: rewrite for first-time visitors by @HashimTheArab in #52
- P7.4: conformance: the same harness on an iOS simulator by @HashimTheArab in #51
- README: note the two runtime dependencies by @HashimTheArab in #53
- P7.5: conformance: nightly Android workflow, release checklist and docs by @HashimTheArab in #54
- P9.1: Publishable packages: tide-ota scope, dist build and a packed-install test by @HashimTheArab in #55
- Dependabot: keep conformance apps on their Expo major by @HashimTheArab in #56
- npm listings: descriptions, keywords, package READMEs and Node 24 LTS by @HashimTheArab in #57
- P9.2: Release workflow: tag-triggered npm publish with provenance through trusted publishing by @HashimTheArab in #58
- P9.3: Release docs: one-time npm setup, routine releases, install from npm roadmap P9 done by @HashimTheArab in #59
New Contributors
- @HashimTheArab made their first contribution in #1
Full Changelog: https://github.com/HashimTheArab/tide/commits/v0.1.0