Releases: reactnativecn/react-native-update-cli
Releases · reactnativecn/react-native-update-cli
Release list
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
v2.15.4
v2.15.3
What's Changed
- 🧪 Add missing error test for parsing credential file by @sunnylqm in #65
- ⚡ perf: async sourcemap operations by @sunnylqm in #64
- 🔒 Fix command injection in install command by @sunnylqm in #62
- ⚡ Optimize package lookups to O(1) Maps in versions.ts by @sunnylqm in #61
- ⚡ Optimize ManifestParser attribute collapsing by @sunnylqm in #59
- ⚡ Optimize package ID lookup performance in
src/package.tsby @sunnylqm in #60 - 🧪 test: add coverage for normalizeDeps by @sunnylqm in #63
- 🔒 Fix insecure predictable temporary file creation by @sunnylqm in #66
Full Changelog: v2.15.2...v2.15.3
v2.15.2
v2.15.1
What's Changed
- 🧪 Add edge case tests for testUrls by @sunnylqm in #58
- 🧪 Add tests for app-info-parser Zip class by @sunnylqm in #57
- 🧪 Add unit tests for dep-versions utility by @sunnylqm in #55
- 🧪 Add edge-case testing for translateOptions and support key mapping by @sunnylqm in #46
Full Changelog: v2.15.0...v2.15.1