Change8

v11.0.0-rc.5

📦 pnpmView on GitHub →
🐛 3 fixes🔧 5 symbols

Summary

This patch addresses critical startup crashes in the `@pnpm/exe` SEA executable when running on Node.js v25.7+ by fixing SEA blob serialization mismatches and updating the CJS entry shim loading mechanism.

Migration Steps

  1. For users relying on `pnpm pack-app`, the builder now downloads a host-arch builder Node.js matching the target version when the running Node.js version does not match, resolving SEA deserialization errors.
  2. The pnpm CJS SEA entry shim now uses `Module.createRequire(process.execPath)` instead of `await import(...)` to load `dist/pnpm.mjs`, bypassing Node.js v25.7+ embedder hooks that caused `ERR_UNKNOWN_BUILTIN_MODULE`.

🐛 Bug Fixes

  • Fixed `@pnpm/exe` SEA executable crashing at startup on Node.js v25.7+ due to SEA blob format incompatibility.
  • Fixed `pnpm pack-app` issue where SEA blobs built with pre-25.7 runtimes were incompatible with Node.js v25.7+ runtimes.
  • Fixed CJS SEA entry shim failing to load `dist/pnpm.mjs` in Node.js v25.7+ due to embedder hooks blocking external `file://` loads.

Affected Symbols