Repository navigation
Tags
Tags
feat(download): prefer the server's mirror order when picking a CDN Every mirror got a HEAD at once and the first answer won, so the server could not steer downloads and each one cost a probe per mirror. Use the delayed race checkUpdate already uses: the next mirror is probed after 1 second without an answer, or at once when the previous one failed. A healthy first mirror now costs a single HEAD, and every mirror stays available as a fallback. The delay is longer than checkUpdate's 250 ms because a first HTTPS request on a mobile network takes about three round trips, which would start the next mirror on nearly every download. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(android): don't count a start without UI as a version's first load A push message, HeadlessJS task or other start without UI creates the RN instance but mounts no UpdateProvider, so it can never mark success. It used up the first load all the same, and the next launch rolled back a version that had not failed. Leave the first load pending on such a start. The first activity started in the process begins it, so a launch misread as background keeps its rollback protection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(android): keep pdiff working on density split installs (#700) A split install only has the density variants its split carries, so every patch copy of another density looked like content drift and failed the patch. Fill those targets from the variant the resource has installed. Copies of an installed density, removed resources and targets with other qualifiers still fail. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(types): ship compiled .d.ts so app tsconfigs never check our sour… …ces (#698) * fix(types): compile cleanly under app tsconfigs on RN 0.88 package.json `types` points at src/index.ts, so apps type-check this package's sources and skipLibCheck does not apply. Two errors surfaced after upgrading to 10.62.0: - client.ts: the private emitError delegate was never read (TS6133 under noUnusedLocals). Remove it; tests now call reporter.emitError directly. - clientDownload.ts: calling addListener on the union of DeviceEventEmitter and the NativeEventEmitter is not callable with RN 0.88 types (TS2349). Branch into two calls; emitted JS behaves the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * build(types): publish compiled declarations instead of the TS sources package.json `types` pointed at src/index.ts, so an app's tsc compiled this package's sources under the app's own tsconfig (noUnusedLocals, ...) and React Native version, where skipLibCheck does not reach. Emit declarations to lib/typescript with tsc --emitDeclarationOnly (tsconfig.build.json), point `types` at them and ship them; `main` stays src/index for Metro. prepack, the lint workflow and the publish action build them, and check-packlist requires the `types` file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: don't require the type declarations in the C++ job's packlist check Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
chore: release 10.62.0 (#693) Bump package.json and harmony/pushy/oh-package.json5 together, with the bilingual release notes. Ships everything since 10.61.0: one persisted layout on every platform with a one-time migration (#691), the UIScene life cycle in the iOS examples (#692) and the CI actions bump (#690). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
chore: release 10.61.0 (#689) Bump package.json and harmony/pushy/oh-package.json5 together, with the bilingual release notes. Ships everything since 10.60.0: the shared native round engine (#673-#681), the cross-platform alignment and fixes (#664, #666, #671, #687, #688), the JS client fixes and split (#667, #684, #685), the bounded host prepareBundle (#669), the generated cross-platform contract (#683, #686) and the trimmed npm package (#670). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
chore: release 10.60.0 Bump package.json and harmony/pushy/oh-package.json5 together. Ships the cross-layer cleanup (#657): the native round, patch-manifest parsing, install records and archive limits now live once in the shared C++ core, plus the unreleased #654/#655 fixes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chore: release 10.59.2 Bump package.json and harmony/pushy/oh-package.json5 together for the Android in-app APK installation fix (APK write stream was still open at session commit; affected 10.53.0 to 10.59.1). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PreviousNext