Skip to content

Releases: reactnativecn/react-native-update-cli

v2.20.3

Choose a tag to compare

@sunnylqm sunnylqm released this 30 Jul 04:19
v2.20.3
eb389d4

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

Choose a tag to compare

@sunnylqm sunnylqm released this 14 Jul 08:43
b0cf3c4

Fix Node.js CommonJS startup compatibility by restoring chalk v4.

Adds a regression test that verifies runtime dependencies can be loaded with Node.js require().

v2.20.1

Choose a tag to compare

@sunnylqm sunnylqm released this 13 Jul 11:03
e7a4c0b

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

Choose a tag to compare

@sunnylqm sunnylqm released this 12 Jul 11:29
9b00fea

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

Choose a tag to compare

@sunnylqm sunnylqm released this 09 Jul 14:00
52a5083

自托管节点(rnu-node)支持 / Self-hosted node support

  • /upload 请求携带 appId,服务端据此路由绑定了自托管节点的账户

  • 支持 {method:'PUT'} 上传指令:s3 预签名直传,文件字节直达你自己的对象存储,不经过任何服务器中转

  • 绑定节点的账户要求本版本及以上(服务端强制,保证数据托管承诺)

  • /upload now carries appId so 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

Choose a tag to compare

@sunnylqm sunnylqm released this 08 Jul 04:04
76705f9

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

Choose a tag to compare

@sunnylqm sunnylqm released this 08 Jul 02:26
7ef1247

What's Changed

  • feat: hdiff --hbcTransform — Hermes 字节码(HBC)delta-friendly 可逆变换,对偏移表做差分编码后再 diff,生产回放中 ppk→ppk fan-out 场景 patch 尺寸中位数下降 21.9%。默认关闭;开启时采用双候选择优 + 本地 round-trip 自检,收益永不为负。布局描述表随 patch 元数据(__diff.jsonhbcTransform)下发,客户端无需跟进 Hermes 版本。支持 HBC v87-96 与 v98 两种头部变体。

Full Changelog: v2.16.0...v2.17.0

v2.16.1

Choose a tag to compare

@sunnylqm sunnylqm released this 07 Jul 14:11
v2.16.1
62ba0a2

feat: support config, appId, and appKey options globally

v2.16.0

Choose a tag to compare

@sunnylqm sunnylqm released this 07 Jul 11:45
41461b2

What's Changed

  • feat: customDiff now supports async implementations returning Promise<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

v2.15.4

Choose a tag to compare

@sunnylqm sunnylqm released this 05 Jul 12:54
e6c55ca

Full Changelog: v2.15.3...v2.15.4