Releases: reactnativecn/react-native-update-cli
Release list
v2.20.3
Register bundleHash when uploading native packages: the sha256 of the JS bundle embedded in the ipa/apk/app is now computed at upload and sent with package/create, so the server can decide pdiff applicability by content identity instead of the buildTime heuristic. AABs are covered via the extractApk path. No behavior change against older servers (unknown fields are ignored).
v2.20.2
v2.20.1
Stream large bundle entries through files instead of retaining whole-buffer copies, skip redundant round-trip verification for trusted native diff implementations, and expose per-phase timings. Patch contents and compression settings are unchanged.
v2.20.0
What's Changed
- Upload a slim native package containing only the React Native bundle and OTA resources instead of the full IPA, APK, or Harmony APP.
- Share native-package entry rules between extraction and diff generation to keep baseline matching consistent.
- Preserve IPA/APK paths and nested Harmony HAP structure while excluding native binaries.
- Clean temporary packages after both successful and failed uploads.
Full Changelog: v2.19.0...v2.20.0
v2.19.0
自托管节点(rnu-node)支持 / Self-hosted node support
-
/upload请求携带appId,服务端据此路由绑定了自托管节点的账户 -
支持
{method:'PUT'}上传指令:s3 预签名直传,文件字节直达你自己的对象存储,不经过任何服务器中转 -
绑定节点的账户要求本版本及以上(服务端强制,保证数据托管承诺)
-
/uploadnow carriesappIdso the server can route uploads for node-bound accounts -
Presigned PUT upload instructions: bytes go straight to your own S3-compatible bucket
-
Node-bound accounts require this version or newer (enforced server-side)
v2.18.0
What's Changed
bundleStreamThreshold现优先使用 node-hdiffpatch ≥ 2.0 的diffSingleStream:大 bundle 流式生成、产物仍为 single 格式(存量客户端可直接应用),baseline 轨道也可安全启用;仅在 1.x 环境回退 HDIFF13(v2 轨道专用)。
Full Changelog: v2.17.0...v2.18.0
v2.17.0
What's Changed
- feat:
hdiff --hbcTransform— Hermes 字节码(HBC)delta-friendly 可逆变换,对偏移表做差分编码后再 diff,生产回放中 ppk→ppk fan-out 场景 patch 尺寸中位数下降 21.9%。默认关闭;开启时采用双候选择优 + 本地 round-trip 自检,收益永不为负。布局描述表随 patch 元数据(__diff.json的hbcTransform)下发,客户端无需跟进 Hermes 版本。支持 HBC v87-96 与 v98 两种头部变体。
Full Changelog: v2.16.0...v2.17.0
v2.16.1
v2.16.0
What's Changed
- feat:
customDiffnow supports async implementations returningPromise<Buffer>(e.g. node-hdiffpatch's callback-based async diff), allowing servers to run diffs off the event loop. Existing sync implementations keep working unchanged.
Full Changelog: v2.15.4...v2.16.0