Change8

v10.24.0

📦 pnpmView on GitHub →
1 features🐛 5 fixes🔧 5 symbols

Summary

This release adds automatic network concurrency scaling for high‑core systems and includes several bug fixes around trust policies, file linking, self‑update behavior, package detection, and auth token handling.

✨ New Features

  • Increased network concurrency on high‑core machines: pnpm now automatically selects a network concurrency between 16 and 64 based on the number of pnpm workers (workers × 3).

🐛 Bug Fixes

  • `trustPolicy` now correctly ignores trust evidences of prerelease versions when installing a non‑prerelease version.
  • Handled ENOENT errors from `fs.linkSync()` in containerized environments (OverlayFS) by gracefully falling back to `fs.copyFileSync()`.
  • Reverted change so that `pnpm self-update` downloads pnpm from the configured npm registry.
  • Prevented packages without a `package.json` (e.g., Node.js) from being reimported from the store on every install; another file is now checked to verify presence in `node_modules`.
  • Fixed auth token parsing for URLs that contain underscores.

🔧 Affected Symbols

trustPolicypnpm self-updatefs.linkSyncfs.copyFileSyncnetwork concurrency selection logic