Files
pnpm/core/constants/CHANGELOG.md
2026-04-10 18:30:33 +02:00

5.0 KiB

@pnpm/constants

1002.0.0

Major Changes

  • c55c614: Store version bumped to v11.
  • 491a84f: This package is now pure ESM.
  • 7d2fd48: Node.js v18, 19, 20, and 21 support discontinued.
  • 71de2b3: Removed support for the useNodeVersion and executionEnv.nodeVersion fields. devEngines.runtime and engines.runtime should be used instead #10373.

Minor Changes

  • 075aa99: Add support for a global YAML config file named config.yaml.

    Now configurations are divided into 2 categories:

    • Registry and auth settings which can be stored in INI files such as global rc and local .npmrc.
    • pnpm-specific settings which can only be loaded from YAML files such as global config.yaml and local pnpm-workspace.yaml.

Patch Changes

  • a8f016c: Store config dependency and package manager integrity info in pnpm-lock.yaml instead of inlining it in pnpm-workspace.yaml. The workspace manifest now contains only clean version specifiers for configDependencies, while the resolved versions, integrity hashes, and tarball URLs are recorded in the lockfile as a separate YAML document. The env lockfile section also stores packageManagerDependencies resolved during version switching and self-update. Projects using the old inline-hash format are automatically migrated on install.
  • 50fbeca: Added getNodeBinsForCurrentOS to @pnpm/constants which returns a Record<string, string> with paths for node, npm, and npx within the Node.js package. This record is now used as BinaryResolution.bin (type widened from string to string | Record<string, string>) and as manifest.bin in the node resolver, so pnpm's bin-linker creates all three shims automatically when installing a Node.js runtime.

1001.3.1

Patch Changes

  • 6365bc4: The full metadata cache should be stored not at the same location as the abbreviated metadata. This fixes a bug where pnpm was loading the abbreviated metadata from cache and couldn't find the "time" field as a result #9963.

1001.3.0

Minor Changes

  • d1edf73: Add support for installing deno runtime.
  • 86b33e9: Added support for installing Bun runtime.

1001.2.0

Minor Changes

  • 1a07b8f: Add getNodeBinLocationForCurrentOS.

1001.1.0

Minor Changes

  • 9a44e6c: pnpm deploy should inherit the pnpm object from the root package.json #8991.

1001.0.0

Major Changes

  • d2e83b0: Metadata directory version bumped to force fresh cache after we shipped a fix to the metadata write function. This change is backward compatible as install doesn't require a metadata cache.
  • a76da0c: Removed lockfile conversion from v6 to v9. If you need to convert lockfile v6 to v9, use pnpm CLI v9.

10.0.0

Major Changes

  • 8108680: Changed the format of the side-effects cache key.
  • c4f5231: Store version bumped to v10. The new store layout has a different directory called "index" for storing the package content mappings. Previously these files were stored in the same directory where the package contents are (in "files"). The new store has also a new format for storing the mappings for side-effects cache.

Minor Changes

9.0.0

Major Changes

  • 83681da: Keep libc field in clearMeta.

8.0.0

Major Changes

  • 43cdd87: Node.js v16 support dropped. Use at least Node.js v18.12.
  • d381a60: Support for lockfile v5 is dropped. Use pnpm v8 to convert lockfile v5 to lockfile v6 #7470.

Minor Changes

7.1.1

Patch Changes

  • 302ebffc5: Change lockfile version back to 6.0 as previous versions of pnpm fail to parse the version correctly.

7.1.0

Minor Changes

  • 9c4ae87bd: Bump lockfile v6 version to v6.1.

7.0.0

Major Changes

6.2.0

Minor Changes

  • 3ebce5db7: Exported a constant for the new lockfile format version: LOCKFILE_FORMAT_V6.

6.1.0

Minor Changes

6.0.0

Major Changes

5.0.0

Major Changes

  • 6871d74b2: Bump lockfile version to 5.3.
  • 97b986fbc: Node.js 10 support is dropped. At least Node.js 12.17 is required for the package to work.
  • f2bb5cbeb: Bump layout version to 5.

4.1.0

Minor Changes

4.0.0

Major Changes

  • b5f66c0f2: Reduce the number of directories in the virtual store directory. Don't create a subdirectory for the package version. Append the package version to the package name directory.
  • ca9f50844: Bump lockfile version to 5.2.
  • 4f5801b1c: Changing lockfile version back to 5.1

4.0.0-alpha.1

Major Changes

4.0.0-alpha.0

Major Changes

  • b5f66c0f2: Reduce the number of directories in the virtual store directory. Don't create a subdirectory for the package version. Append the package version to the package name directory.