Skip to content

utoopack-v1.6.4

Choose a tag to compare

@fireairforce fireairforce released this 16 Nov 09:57
· 1 commit to next since this release
fa9bb4f

Improvements

  • Align native Pack release settings with Turbopack: opt-level 3, one codegen unit, selective dependency size optimization, shared generics, and macOS linker code folding. #3459
  • Keep the existing napi build --release entry point. Scope the settings to Pack's directory so root PM and sibling wasm builds retain their configuration.
  • Update link-section to 0.18.3, matching Turbopack's lockfile, to include its Windows/COFF registry fix required by optimized releases. This prevents registry copies from being optimized into null entries and crashing during startup. Upstream fix

Validation

In a same-run Apple M1 / 3 CPU / 7 GiB dashboard comparison, aligned settings reduced median cold CLI build time from 36.81 s to 22.09 s (about 40%). All 24 cold/warm builds produced identical application output.

These are results from the controlled CI experiment, not a performance guarantee for every project. Absolute CI times varied between runs. The final package-local release configuration was verified against the experiment through all 960 Cargo compilation units. The subsequent dependency update retains the optimization settings and leaves the Apple platform implementation unchanged; the timing results predate that lockfile update.

The final source passed all platform and integration checks. The release pipeline also passed all seven native builds, binding-version checks, npm propagation, and all nine ecosystem consumer suites, including Linux and Windows Umi.

The published macOS arm64 package passed a strict Utoo binding-version check and matched the native SHA-256 from the release artifact. Production and development dashboard verification produced identical reports for all 40 routes, with React state-preserving root/leaf HMR and Tailwind/CSS HMR also passing.

Published native package sizes

Actual npm 1.6.4 packages; decimal MB. Changes are relative to published 1.6.3. Unpacked sizes include the native binary, manifest, and README.

Platform Unpacked MB Change npm archive MB Change
darwin-arm64 67.12 +15.98% 25.04 +2.17%
darwin-x64 67.97 +2.47% 25.88 +7.05%
linux-arm64-gnu 71.07 +2.02% 26.17 -9.10%
linux-arm64-musl 71.25 +9.47% 25.91 -2.12%
linux-x64-gnu 78.34 -4.10% 28.36 -2.80%
linux-x64-musl 78.90 -0.27% 27.79 +4.28%
win32-x64-msvc 86.74 +13.93% 28.75 +14.50%

The macOS arm64 .node itself is 67,114,624 bytes (67.11 MB); its actual npm archive is 25,039,935 bytes.

Full changelog: utoopack-v1.6.3...utoopack-v1.6.4