Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat-7134
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Mar 24, 2024
2 parents 4c9b69f + ca2be03 commit 071e8fa
Show file tree
Hide file tree
Showing 969 changed files with 38,244 additions and 20,705 deletions.
5 changes: 5 additions & 0 deletions .changeset/breezy-poems-act.md
@@ -0,0 +1,5 @@
---
"pnpm": patch
---

Use the `object-hash` library instead of `node-object-hash` for hashing keys of side-effects cache [#7591](https://github.com/pnpm/pnpm/pull/7591).
25 changes: 25 additions & 0 deletions .changeset/breezy-points-chew.md
@@ -0,0 +1,25 @@
---
"@pnpm/plugin-commands-store-inspecting": minor
"@pnpm/plugin-commands-publishing": minor
"@pnpm/resolve-dependencies": minor
"@pnpm/store-connection-manager": minor
"@pnpm/plugin-commands-rebuild": minor
"@pnpm/plugin-commands-env": minor
"@pnpm/client": minor
"@pnpm/core": minor
"@pnpm/types": minor
"@pnpm/config": minor
"@pnpm/fetch": minor
"pnpm": minor
---

Added support for registry-scoped SSL configurations (cert, key, and ca). Three new settings supported: `<registryURL>:certfile`, `<registryURL>:keyfile`, and `<registryURL>:ca`. For instance:

```
//registry.mycomp.com/:certfile=server-cert.pem
//registry.mycomp.com/:keyfile=server-key.pem
//registry.mycomp.com/:cafile=client-cert.pem
```

Related issue: [#7427](https://github.com/pnpm/pnpm/issues/7427).
Related PR: [#7626](https://github.com/pnpm/pnpm/pull/7626).
6 changes: 6 additions & 0 deletions .changeset/cold-panthers-jump.md
@@ -0,0 +1,6 @@
---
"@pnpm/plugin-commands-script-runners": patch
"pnpm": patch
---

support `node-options` option inside `.npmrc` file when running scripts [#7596](https://github.com/pnpm/pnpm/issues/7596)
6 changes: 6 additions & 0 deletions .changeset/curly-plums-change.md
@@ -0,0 +1,6 @@
---
"@pnpm/resolve-dependencies": patch
"pnpm": patch
---

Properly resolve peer dependencies of peer dependencies [#7444](https://github.com/pnpm/pnpm/issues/7444).
8 changes: 8 additions & 0 deletions .changeset/curvy-flies-run.md
@@ -0,0 +1,8 @@
---
"@pnpm/license-scanner": major
"@pnpm/plugin-commands-licenses": major
"pnpm": major
---

`pnpm licenses list` prints license information of all versions of the same package in case different versions use different licenses. The format of the `pnpm licenses list --json` output has been changed [#7528](https://github.com/pnpm/pnpm/pull/7528).

9 changes: 9 additions & 0 deletions .changeset/cyan-humans-report.md
@@ -0,0 +1,9 @@
---
"@pnpm/hooks.read-package-hook": major
"@pnpm/core": major
"@pnpm/render-peer-issues": minor
"@pnpm/default-reporter": minor
"pnpm": minor
---

Peer dependency rules should only affect reporting, not data in the lockfile.
8 changes: 8 additions & 0 deletions .changeset/dull-trainers-relate.md
@@ -0,0 +1,8 @@
---
"@pnpm/tarball-fetcher": patch
"@pnpm/error": patch
"@pnpm/worker": patch
"pnpm": patch
---

Print the right error code when a package fails to be added to the store [#7679](https://github.com/pnpm/pnpm/issues/7679).
15 changes: 15 additions & 0 deletions .changeset/eight-shoes-dream.md
@@ -0,0 +1,15 @@
---
"@pnpm/resolve-dependencies": major
"@pnpm/package-requester": major
"@pnpm/modules-cleaner": major
"@pnpm/plugin-commands-store": major
"@pnpm/dependency-path": major
"@pnpm/lockfile-utils": major
"@pnpm/npm-resolver": major
"@pnpm/headless": major
"@pnpm/core": major
"@pnpm/server": major
"@pnpm/deps.graph-builder": minor
---

Package ID does not contain the registry domain.
5 changes: 5 additions & 0 deletions .changeset/eight-walls-collect.md
@@ -0,0 +1,5 @@
---
"pnpm": major
---

When automatically installing peer dependencies, use versions of the peers already present in the dependency graph. Even if they don't satisfy the wanted peer dependency ranges.
6 changes: 6 additions & 0 deletions .changeset/famous-games-worry.md
@@ -0,0 +1,6 @@
---
"pnpm": major
"@pnpm/constants": minor
---

Bump lockfile to v6.1
5 changes: 5 additions & 0 deletions .changeset/few-bikes-add.md
@@ -0,0 +1,5 @@
---
"@pnpm/dependency-path": major
---

createPeersFolderSuffix renamed to createPeersDirSuffix.
137 changes: 137 additions & 0 deletions .changeset/flat-donkeys-develop.md
@@ -0,0 +1,137 @@
---
"@pnpm/plugin-commands-installation": major
"@pnpm/plugin-commands-publishing": major
"@pnpm/plugin-commands-script-runners": major
"@pnpm/write-project-manifest": major
"@pnpm/filter-workspace-packages": major
"@pnpm/exec.files-include-install-scripts": major
"@pnpm/read-project-manifest": major
"@pnpm/plugin-commands-licenses": major
"@pnpm/plugin-commands-outdated": major
"@pnpm/plugin-commands-patching": major
"@pnpm/read-projects-context": major
"@pnpm/plugin-commands-listing": major
"@pnpm/resolve-workspace-range": major
"@pnpm/pick-registry-for-package": major
"@pnpm/parse-wanted-dependency": major
"@pnpm/which-version-is-pinned": major
"@pnpm/resolve-dependencies": major
"@pnpm/exportable-manifest": major
"@pnpm/plugin-commands-deploy": major
"@pnpm/reviewing.dependencies-hierarchy": major
"@pnpm/merge-lockfile-changes": major
"@pnpm/plugin-commands-doctor": major
"@pnpm/plugin-commands-audit": major
"@pnpm/plugin-commands-setup": major
"@pnpm/read-package-json": major
"@pnpm/store-connection-manager": major
"@pnpm/package-is-installable": major
"@pnpm/plugin-commands-config": major
"@pnpm/plugin-commands-init": major
"@pnpm/pkg-manager.direct-dep-linker": major
"@pnpm/package-requester": major
"@pnpm/plugin-commands-rebuild": major
"@pnpm/plugin-commands-server": major
"@pnpm/store-controller-types": major
"@pnpm/find-workspace-dir": major
"@pnpm/common-cli-options-help": major
"@pnpm/normalize-registries": major
"@pnpm/crypto.base32-hash": major
"@pnpm/render-peer-issues": major
"@pnpm/modules-cleaner": major
"@pnpm/manifest-utils": major
"@pnpm/plugin-commands-store": major
"@pnpm/directory-fetcher": major
"@pnpm/default-resolver": major
"@pnpm/tarball-resolver": major
"@pnpm/license-scanner": major
"@pnpm/tarball-fetcher": major
"@pnpm/filter-lockfile": major
"@pnpm/lockfile-to-pnp": major
"@pnpm/lockfile-walker": major
"@pnpm/dependency-path": major
"@pnpm/modules-yaml": major
"@pnpm/package-bins": major
"@pnpm/local-resolver": major
"@pnpm/plugin-commands-env": major
"@pnpm/fs.indexed-pkg-importer": major
"@pnpm/hooks.read-package-hook": major
"@pnpm/lockfile-types": major
"@pnpm/lockfile-utils": major
"@pnpm/prune-lockfile": major
"@pnpm/calc-dep-state": major
"@pnpm/get-context": major
"@pnpm/remove-bins": major
"@pnpm/resolver-base": major
"@pnpm/create-cafs-store": major
"@pnpm/workspace.find-packages": major
"@pnpm/workspace.read-manifest": major
"@pnpm/sort-packages": major
"@pnpm/parse-overrides": major
"@pnpm/dedupe.issues-renderer": major
"@pnpm/lockfile-file": major
"@pnpm/fetching-types": major
"@pnpm/real-hoist": major
"@pnpm/git-resolver": major
"@pnpm/npm-resolver": major
"@pnpm/fetcher-base": major
"@pnpm/pick-fetcher": major
"@pnpm/symlink-dependency": major
"@pnpm/core-loggers": major
"@pnpm/link-bins": major
"@pnpm/default-reporter": major
"@pnpm/deps.graph-sequencer": major
"@pnpm/prepare-package": major
"@pnpm/git-fetcher": major
"@pnpm/patching.apply-patch": major
"@pnpm/headless": major
"@pnpm/text.comments-parser": major
"@pnpm/workspace.pkgs-graph": major
"@pnpm/read-modules-dir": major
"@pnpm/network.auth-header": major
"@pnpm/package-store": major
"@pnpm/parse-cli-args": major
"@pnpm/deps.graph-builder": major
"@pnpm/build-modules": major
"@pnpm/constants": major
"@pnpm/git-utils": major
"@pnpm/client": major
"@pnpm/outdated": major
"@pnpm/node.resolver": major
"@pnpm/hoist": major
"@pnpm/node.fetcher": major
"@pnpm/fs.find-packages": major
"@pnpm/fs.hard-link-dir": major
"@pnpm/core": major
"@pnpm/cafs-types": major
"@pnpm/store-path": major
"@pnpm/matcher": major
"@pnpm/lifecycle": major
"@pnpm/graceful-fs": major
"@pnpm/pnpmfile": major
"@pnpm/audit": major
"@pnpm/error": major
"@pnpm/types": major
"@pnpm/list": major
"@pnpm-private/updater": major
"@pnpm/cli-utils": major
"@pnpm/config": major
"@pnpm/fetch": major
"@pnpm/cli-meta": major
"@pnpm/dedupe.check": major
"@pnpm/dedupe.types": major
"@pnpm/run-npm": major
"@pnpm/server": major
"@pnpm/command": major
"@pnpm/fs.packlist": major
"@pnpm/hooks.types": major
"@pnpm/store.cafs": major
"@pnpm/worker": major
"pnpm": major
"@pnpm/plugin-commands-store-inspecting": minor
"@pnpm/make-dedicated-lockfile": minor
"@pnpm/mount-modules": minor
"@pnpm/fs.is-empty-dir-or-nothing": major
---

Node.js v16 support dropped. Use at least Node.js v18.12.
6 changes: 6 additions & 0 deletions .changeset/forty-turtles-rhyme.md
@@ -0,0 +1,6 @@
---
"@pnpm/store.cafs": patch
"pnpm": patch
---

Don't fail on a tarball that appears to be not a USTAR or GNU TAR archive. Still try to unpack the tarball [#7120](https://github.com/pnpm/pnpm/issues/7120).
5 changes: 5 additions & 0 deletions .changeset/good-sloths-approve.md
@@ -0,0 +1,5 @@
---
"pnpm": major
---

A new command added for printing completion code to the console: `pnpm completion [shell]`. The old command that modified the user's shell dotfiles has been removed [#3083](https://github.com/pnpm/pnpm/issues/3083).
5 changes: 5 additions & 0 deletions .changeset/great-parents-explode.md
@@ -0,0 +1,5 @@
---
"@pnpm/store.cafs": major
---

Breaking change to addFileFromDir args.
5 changes: 5 additions & 0 deletions .changeset/happy-bags-reply.md
@@ -0,0 +1,5 @@
---
"@pnpm/exec.pkg-requires-build": major
---

Initial release.
6 changes: 6 additions & 0 deletions .changeset/heavy-cars-press.md
@@ -0,0 +1,6 @@
---
"@pnpm/worker": patch
"pnpm": patch
---

Always add a name and version field to the index files in the store [#7115](https://github.com/pnpm/pnpm/issues/7115).
6 changes: 6 additions & 0 deletions .changeset/hip-fishes-roll.md
@@ -0,0 +1,6 @@
---
"@pnpm/git-resolver": patch
---

Install gitlab-hosted packages correctly, when they are specified by commit or branch [#7603](https://github.com/pnpm/pnpm/issues/7603).

12 changes: 12 additions & 0 deletions .changeset/hip-trees-promise.md
@@ -0,0 +1,12 @@
---
"@pnpm/resolve-dependencies": minor
"@pnpm/merge-lockfile-changes": minor
"@pnpm/lockfile-types": minor
"@pnpm/prune-lockfile": minor
"@pnpm/lockfile-file": minor
"@pnpm/core": minor
"@pnpm/pnpmfile": minor
"pnpm": minor
---

The checksum of the `.pnpmfile.cjs` is saved into the lockfile. If the pnpmfile gets modified, the lockfile is reanalyzed to apply the changes [#7662](https://github.com/pnpm/pnpm/pull/7662).
6 changes: 6 additions & 0 deletions .changeset/hungry-mirrors-thank.md
@@ -0,0 +1,6 @@
---
"@pnpm/hooks.read-package-hook": patch
"pnpm": patch
---

Link overrides should be able to use absolute path [#7749](https://github.com/pnpm/pnpm/pull/7749).
6 changes: 6 additions & 0 deletions .changeset/hungry-pans-sneeze.md
@@ -0,0 +1,6 @@
---
"@pnpm/resolve-dependencies": minor
"@pnpm/core": minor
---

Add a new option autoInstallPeersFromHighestMatch that makes pnpm install the highest version satisfying one of the peer dependencies even if the peer dependency ranges don't overlap.
8 changes: 8 additions & 0 deletions .changeset/late-frogs-sit.md
@@ -0,0 +1,8 @@
---
"@pnpm/tarball-fetcher": patch
"@pnpm/git-fetcher": patch
"@pnpm/worker": patch
"pnpm": patch
---

When installing git-hosted dependencies, only pick the files that would be packed with the package [#7638](https://github.com/pnpm/pnpm/pull/7638).
6 changes: 6 additions & 0 deletions .changeset/lemon-windows-tickle.md
@@ -0,0 +1,6 @@
---
"@pnpm/get-context": patch
"pnpm": patch
---

When purging multiple node_modules folders, pnpm will no longer print multiple prompts simultaneously.
19 changes: 19 additions & 0 deletions .changeset/light-jobs-speak.md
@@ -0,0 +1,19 @@
---
"@pnpm/reviewing.dependencies-hierarchy": major
"@pnpm/merge-lockfile-changes": major
"@pnpm/license-scanner": major
"@pnpm/filter-lockfile": major
"@pnpm/lockfile-to-pnp": major
"@pnpm/lockfile-walker": major
"@pnpm/dependency-path": major
"@pnpm/lockfile-utils": major
"@pnpm/prune-lockfile": major
"@pnpm/lockfile-file": major
"@pnpm/npm-resolver": major
"@pnpm/outdated": major
"@pnpm/make-dedicated-lockfile": minor
"@pnpm/mount-modules": minor
"@pnpm/constants": major
---

Support for lockfile v5 is dropped. Use pnpm v8 to convert lockfile v5 to lockfile v6 [#7470](https://github.com/pnpm/pnpm/pull/7470).
5 changes: 5 additions & 0 deletions .changeset/little-badgers-repair.md
@@ -0,0 +1,5 @@
---
"@pnpm/resolve-dependencies": patch
---

Revert [#7583](https://github.com/pnpm/pnpm/pull/7583).
5 changes: 5 additions & 0 deletions .changeset/long-horses-raise.md
@@ -0,0 +1,5 @@
---
"pnpm": patch
---

The exit code of the child process should be preserved on `pnpm run` [#7817](https://github.com/pnpm/pnpm/issues/7817).
6 changes: 6 additions & 0 deletions .changeset/loud-teachers-kiss.md
@@ -0,0 +1,6 @@
---
"@pnpm/workspace.pkgs-graph": patch
"pnpm": patch
---

When sorting packages in a workspace, take into account workspace dependencies specified as `peerDependencies` [#7813](https://github.com/pnpm/pnpm/issues/7813).
6 changes: 6 additions & 0 deletions .changeset/nasty-goats-care.md
@@ -0,0 +1,6 @@
---
"@pnpm/core": patch
"pnpm": patch
---

Correctly detect the active Node.js version during headless installation [#7801](https://github.com/pnpm/pnpm/pull/7801).
9 changes: 9 additions & 0 deletions .changeset/nasty-seals-run.md
@@ -0,0 +1,9 @@
---
"@pnpm/cli-utils": major
"pnpm": major
"@pnpm/exportable-manifest": major
---

pnpm will now check the `package.json` file for a `packageManager` field. If this field is present and specifies a different package manager or a different version of pnpm than the one you're currently using, pnpm will not proceed. This ensures that you're always using the correct package manager and version that the project requires.

To disable this behaviour, set the `package-manager-strict` setting to `false` or the `COREPACK_ENABLE_STRICT` env variable to `0`.
5 changes: 5 additions & 0 deletions .changeset/ninety-dolls-shave.md
@@ -0,0 +1,5 @@
---
"pnpm": minor
---

PowerShell completion support added [#7597](https://github.com/pnpm/pnpm/pull/7597).

0 comments on commit 071e8fa

Please sign in to comment.