diff --git a/.changeset/eleven-hounds-exercise.md b/.changeset/eleven-hounds-exercise.md deleted file mode 100644 index a6b102436c..0000000000 --- a/.changeset/eleven-hounds-exercise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"pnpm": patch ---- - -The usage of deprecated options should not crash the CLI. When a deprecated option is used (like `pnpm install --no-lock`), just print a warning. diff --git a/.changeset/violet-steaks-burn.md b/.changeset/violet-steaks-burn.md deleted file mode 100644 index 29509d2ea8..0000000000 --- a/.changeset/violet-steaks-burn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@pnpm/git-fetcher": patch ---- - -Adhere to the new FetchFunction API. cafs should be the first argument of the a fetch function. diff --git a/packages/default-fetcher/CHANGELOG.md b/packages/default-fetcher/CHANGELOG.md index 5e3d7bf654..33dff99faa 100644 --- a/packages/default-fetcher/CHANGELOG.md +++ b/packages/default-fetcher/CHANGELOG.md @@ -1,5 +1,12 @@ # @pnpm/default-fetcher +## 6.0.1 + +### Patch Changes + +- Updated dependencies [187615f87] + - @pnpm/git-fetcher@3.0.1 + ## 6.0.0 ### Major Changes diff --git a/packages/default-fetcher/package.json b/packages/default-fetcher/package.json index a85d5be8ab..f0aad23264 100644 --- a/packages/default-fetcher/package.json +++ b/packages/default-fetcher/package.json @@ -1,6 +1,6 @@ { "name": "@pnpm/default-fetcher", - "version": "6.0.0", + "version": "6.0.1", "description": "pnpm's default package fetcher", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -31,7 +31,7 @@ }, "homepage": "https://github.com/pnpm/pnpm/blob/master/packages/default-fetcher#readme", "dependencies": { - "@pnpm/git-fetcher": "workspace:3.0.0", + "@pnpm/git-fetcher": "workspace:3.0.1", "@pnpm/resolver-base": "workspace:7.0.1", "@pnpm/tarball-fetcher": "workspace:6.0.0" }, diff --git a/packages/git-fetcher/CHANGELOG.md b/packages/git-fetcher/CHANGELOG.md index b28dcf7d22..6316864f67 100644 --- a/packages/git-fetcher/CHANGELOG.md +++ b/packages/git-fetcher/CHANGELOG.md @@ -1,5 +1,11 @@ # @pnpm/git-fetcher +## 3.0.1 + +### Patch Changes + +- 187615f87: Adhere to the new FetchFunction API. cafs should be the first argument of the a fetch function. + ## 3.0.0 ### Major Changes diff --git a/packages/git-fetcher/package.json b/packages/git-fetcher/package.json index 17cfd8e23b..8751779271 100644 --- a/packages/git-fetcher/package.json +++ b/packages/git-fetcher/package.json @@ -1,6 +1,6 @@ { "name": "@pnpm/git-fetcher", - "version": "3.0.0", + "version": "3.0.1", "description": "A fetcher for git-hosted packages", "main": "lib/index.js", "typings": "lib/index.d.ts", diff --git a/packages/plugin-commands-import/CHANGELOG.md b/packages/plugin-commands-import/CHANGELOG.md index 384f04ccba..2788ac9815 100644 --- a/packages/plugin-commands-import/CHANGELOG.md +++ b/packages/plugin-commands-import/CHANGELOG.md @@ -1,5 +1,12 @@ # @pnpm/plugin-commands-import +## 1.0.18 + +### Patch Changes + +- @pnpm/store-connection-manager@0.3.1 +- supi@0.39.5 + ## 1.0.17 ### Patch Changes diff --git a/packages/plugin-commands-import/package.json b/packages/plugin-commands-import/package.json index efbcf641f1..4cfa32d788 100644 --- a/packages/plugin-commands-import/package.json +++ b/packages/plugin-commands-import/package.json @@ -1,6 +1,6 @@ { "name": "@pnpm/plugin-commands-import", - "version": "1.0.17", + "version": "1.0.18", "description": "The import command", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -46,11 +46,11 @@ "@pnpm/constants": "workspace:4.0.0", "@pnpm/error": "workspace:1.2.0", "@pnpm/read-project-manifest": "workspace:1.0.6", - "@pnpm/store-connection-manager": "workspace:0.3.0", + "@pnpm/store-connection-manager": "workspace:0.3.1", "@zkochan/rimraf": "1.0.0", "load-json-file": "6.2.0", "render-help": "1.0.0", - "supi": "workspace:0.39.4" + "supi": "workspace:0.39.5" }, "funding": "https://opencollective.com/pnpm" } diff --git a/packages/plugin-commands-installation/CHANGELOG.md b/packages/plugin-commands-installation/CHANGELOG.md index 806b8cac34..da2ec26cd0 100644 --- a/packages/plugin-commands-installation/CHANGELOG.md +++ b/packages/plugin-commands-installation/CHANGELOG.md @@ -1,5 +1,13 @@ # @pnpm/plugin-commands-installation +## 2.0.5 + +### Patch Changes + +- @pnpm/store-connection-manager@0.3.1 +- supi@0.39.5 +- @pnpm/plugin-commands-rebuild@2.0.3 + ## 2.0.4 ### Patch Changes diff --git a/packages/plugin-commands-installation/package.json b/packages/plugin-commands-installation/package.json index b0a0e9acd7..0e8e0128c6 100644 --- a/packages/plugin-commands-installation/package.json +++ b/packages/plugin-commands-installation/package.json @@ -1,6 +1,6 @@ { "name": "@pnpm/plugin-commands-installation", - "version": "2.0.4", + "version": "2.0.5", "description": "Commands for installation", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -68,12 +68,12 @@ "@pnpm/outdated": "workspace:7.0.23", "@pnpm/package-store": "workspace:9.0.0", "@pnpm/parse-wanted-dependency": "workspace:1.0.0", - "@pnpm/plugin-commands-rebuild": "workspace:2.0.2", + "@pnpm/plugin-commands-rebuild": "workspace:2.0.3", "@pnpm/pnpmfile": "workspace:0.1.9", "@pnpm/resolver-base": "workspace:7.0.1", "@pnpm/semver-diff": "1.0.2", "@pnpm/sort-packages": "workspace:1.0.10", - "@pnpm/store-connection-manager": "workspace:0.3.0", + "@pnpm/store-connection-manager": "workspace:0.3.1", "@pnpm/types": "workspace:6.0.0", "camelcase-keys": "6.2.2", "chalk": "4.0.0", @@ -90,7 +90,7 @@ "ramda": "0.27.0", "read-ini-file": "3.0.0", "render-help": "1.0.0", - "supi": "workspace:0.39.4", + "supi": "workspace:0.39.5", "table": "5.4.6", "version-selector-type": "^3.0.0" }, diff --git a/packages/plugin-commands-rebuild/CHANGELOG.md b/packages/plugin-commands-rebuild/CHANGELOG.md index 3a3e20614b..5699a92ad0 100644 --- a/packages/plugin-commands-rebuild/CHANGELOG.md +++ b/packages/plugin-commands-rebuild/CHANGELOG.md @@ -1,5 +1,11 @@ # @pnpm/plugin-commands-rebuild +## 2.0.3 + +### Patch Changes + +- @pnpm/store-connection-manager@0.3.1 + ## 2.0.2 ### Patch Changes diff --git a/packages/plugin-commands-rebuild/package.json b/packages/plugin-commands-rebuild/package.json index b71e02731b..d5c10da3ba 100644 --- a/packages/plugin-commands-rebuild/package.json +++ b/packages/plugin-commands-rebuild/package.json @@ -1,6 +1,6 @@ { "name": "@pnpm/plugin-commands-rebuild", - "version": "2.0.2", + "version": "2.0.3", "description": "Commands for rebuilding dependencies", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -63,7 +63,7 @@ "@pnpm/normalize-registries": "workspace:1.0.1", "@pnpm/pkgid-to-filename": "3.0.0", "@pnpm/sort-packages": "workspace:1.0.10", - "@pnpm/store-connection-manager": "workspace:0.3.0", + "@pnpm/store-connection-manager": "workspace:0.3.1", "@pnpm/store-controller-types": "workspace:8.0.0", "@pnpm/types": "workspace:6.0.0", "@zkochan/npm-package-arg": "1.0.2", diff --git a/packages/plugin-commands-server/CHANGELOG.md b/packages/plugin-commands-server/CHANGELOG.md index fe2dcd05a9..565ed3b35a 100644 --- a/packages/plugin-commands-server/CHANGELOG.md +++ b/packages/plugin-commands-server/CHANGELOG.md @@ -1,5 +1,11 @@ # @pnpm/plugin-commands-server +## 2.0.1 + +### Patch Changes + +- @pnpm/store-connection-manager@0.3.1 + ## 2.0.0 ### Patch Changes diff --git a/packages/plugin-commands-server/package.json b/packages/plugin-commands-server/package.json index 6c52f2f7e4..d362efa862 100644 --- a/packages/plugin-commands-server/package.json +++ b/packages/plugin-commands-server/package.json @@ -1,6 +1,6 @@ { "name": "@pnpm/plugin-commands-server", - "version": "2.0.0", + "version": "2.0.1", "description": "Commands for controlling the store server", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -44,7 +44,7 @@ "@pnpm/config": "workspace:9.0.0", "@pnpm/error": "workspace:1.2.0", "@pnpm/server": "workspace:8.0.0", - "@pnpm/store-connection-manager": "workspace:0.3.0", + "@pnpm/store-connection-manager": "workspace:0.3.1", "@pnpm/store-path": "^4.0.0", "common-tags": "^1.8.0", "delay": "^4.3.0", diff --git a/packages/plugin-commands-store/CHANGELOG.md b/packages/plugin-commands-store/CHANGELOG.md index 9130f11f85..7c991cc574 100644 --- a/packages/plugin-commands-store/CHANGELOG.md +++ b/packages/plugin-commands-store/CHANGELOG.md @@ -1,5 +1,11 @@ # @pnpm/plugin-commands-store +## 2.0.3 + +### Patch Changes + +- @pnpm/store-connection-manager@0.3.1 + ## 2.0.2 ### Patch Changes diff --git a/packages/plugin-commands-store/package.json b/packages/plugin-commands-store/package.json index f293abe281..57b457bb60 100644 --- a/packages/plugin-commands-store/package.json +++ b/packages/plugin-commands-store/package.json @@ -1,6 +1,6 @@ { "name": "@pnpm/plugin-commands-store", - "version": "2.0.2", + "version": "2.0.3", "description": "Commands for controlling the store", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -63,7 +63,7 @@ "@pnpm/parse-wanted-dependency": "workspace:1.0.0", "@pnpm/pick-registry-for-package": "workspace:1.0.1", "@pnpm/pkgid-to-filename": "^3.0.0", - "@pnpm/store-connection-manager": "workspace:0.3.0", + "@pnpm/store-connection-manager": "workspace:0.3.1", "@pnpm/store-controller-types": "workspace:8.0.0", "@pnpm/store-path": "^4.0.0", "@pnpm/types": "workspace:6.0.0", diff --git a/packages/pnpm/CHANGELOG.md b/packages/pnpm/CHANGELOG.md index 1279f2e24f..866c5be2ff 100644 --- a/packages/pnpm/CHANGELOG.md +++ b/packages/pnpm/CHANGELOG.md @@ -1,5 +1,12 @@ # pnpm +## 5.0.1 + +### Patch Changes + +- 81b537003: The usage of deprecated options should not crash the CLI. When a deprecated option is used (like `pnpm install --no-lock`), just print a warning. +- 187615f87: Fix installation of git-hosted packages. This was a regression in v5. + ## 5.0.0 ### Major Changes @@ -8,17 +15,17 @@ In some cases, 2 times faster than Yarn v1! ([performance diff of pnpm v4 vs v5](https://github.com/pnpm/benchmarks-of-javascript-package-managers/commit/5328f0165628b0ee5e22a8a433357d65bee75d64)) - | action | cache | lockfile | node_modules| npm | pnpm | Yarn | Yarn PnP | - | --- | --- | --- | --- | --- | --- | --- | --- | - | install | | | | 43.3s | 17.5s | 36.7s | 28.6s | - | install | ✔ | ✔ | ✔ | 7s | 1.5s | 735ms | n/a | - | install | ✔ | ✔ | | 18.3s | 7.8s | 10.5s | 1.8s | - | install | ✔ | | | 24.8s | 10.9s | 22.2s | 12.1s | - | install | | ✔ | | 23.2s | 15.2s | 22.4s | 13.4s | - | install | ✔ | | ✔ | 6.4s | 1.8s | 17.1s | n/a | - | install | | ✔ | ✔ | 7.3s | 1.5s | 735ms | n/a | - | install | | | ✔ | 6.4s | 3.1s | 33.2s | n/a | - | update | n/a | n/a | n/a | 7s | 14.5s | 42.6s | 27.6s | + | action | cache | lockfile | node_modules | npm | pnpm | Yarn | Yarn PnP | + | ------- | ----- | -------- | ------------ | ----- | ----- | ----- | -------- | + | install | | | | 43.3s | 17.5s | 36.7s | 28.6s | + | install | ✔ | ✔ | ✔ | 7s | 1.5s | 735ms | n/a | + | install | ✔ | ✔ | | 18.3s | 7.8s | 10.5s | 1.8s | + | install | ✔ | | | 24.8s | 10.9s | 22.2s | 12.1s | + | install | | ✔ | | 23.2s | 15.2s | 22.4s | 13.4s | + | install | ✔ | | ✔ | 6.4s | 1.8s | 17.1s | n/a | + | install | | ✔ | ✔ | 7.3s | 1.5s | 735ms | n/a | + | install | | | ✔ | 6.4s | 3.1s | 33.2s | n/a | + | update | n/a | n/a | n/a | 7s | 14.5s | 42.6s | 27.6s | All the benchmarks are [here](https://github.com/pnpm/benchmarks-of-javascript-package-managers/tree/5328f0165628b0ee5e22a8a433357d65bee75d64). @@ -29,39 +36,46 @@ For more info about the structure of this new store, you can check the [GitHub issue about it](https://github.com/pnpm/pnpm/issues/2470). This change was inspired by [dupe-krill](https://github.com/kornelski/dupe-krill) and the content-addressable storage of Git. + - Reduced directory nesting in the virtual store directory. In pnpm v4, if you installed `foo@1.0.0`, it was hard-linked into `node_modules/.pnpm/registry.npmjs.org/foo/1.0.0/`. In pnpm v5, it will be hard-linked into `node_modules/.pnpm/foo@1.0.0/`. This new structure of the virtual store directory drastically reduces the number of directories pnpm has to create. Hence, there are fewer filesystem operations, which improves speed. + - `pnpm store usages` removed. This command was using information from the `store.json` files, which is not present in the new content-addressable storage anymore. + - The `independent-leaves` setting has been removed. When hoisting was off, it was possible to set the `independent-leaves` setting to `true`. When `true`, leaf dependencies were symlinked directly from the global store. However, we turned hoisting on by default for pnpm v4, so this feature has no future at the moment. + - The `resolution-strategy` setting has been removed. By default, the `fewer-dependencies` resolution strategy is used. It was possible to select a `fast` resolution strategy. This setting is deprecated to simplify future improvements to the resolution algorithm. + - The store and the modules directory are not locked. We are not using directory locks anymore. So the `--no-lock` option will throw an error. Some users had [issues](https://github.com/pnpm/pnpm/issues/594) with locking. We have confidence that pnpm will never leave either node_modules or the store in a broken state, so we removed locking. + - `git-checks` is `true` by default. By default, `pnpm publish` will make some checks before actually publishing a new version of your package. The next checks will happen: - + - The current branch is your publish branch. The publish branch is `master` by default. This is configurable through the `publish-branch` setting. - Your working directory is clean (there are no uncommitted changes). - The branch is up-to-date. If you don't want this checks, run `pnpm publish --no-git-checks` or set this setting to `false` via a `.npmrc` file. + - In case of a crash, the debug file will be written to `node_modules/.pnpm-debug.log` (not to `pnpm-debug.log` as in v4 and earlier). ### Minor Changes - The `link-workspace-packages` setting may now be set to `deep`. - When `link-workspace-packages` is set to `deep`, packages from the workspace will be linked even to subdependencies. \ No newline at end of file + When `link-workspace-packages` is set to `deep`, packages from the workspace will be linked even to subdependencies. diff --git a/packages/pnpm/package.json b/packages/pnpm/package.json index 41161d25a6..20adff7acc 100644 --- a/packages/pnpm/package.json +++ b/packages/pnpm/package.json @@ -1,7 +1,7 @@ { "name": "pnpm", "description": "Fast, disk space efficient package manager", - "version": "5.0.0", + "version": "5.0.1", "author": "Zoltan Kochan (https://www.kochan.io/)", "bin": { "pnpm": "bin/pnpm.js", @@ -30,15 +30,15 @@ "@pnpm/logger": "3.2.2", "@pnpm/parse-cli-args": "workspace:1.0.0", "@pnpm/plugin-commands-audit": "workspace:1.0.9", - "@pnpm/plugin-commands-import": "workspace:1.0.17", - "@pnpm/plugin-commands-installation": "workspace:2.0.4", + "@pnpm/plugin-commands-import": "workspace:1.0.18", + "@pnpm/plugin-commands-installation": "workspace:2.0.5", "@pnpm/plugin-commands-listing": "workspace:2.0.0", "@pnpm/plugin-commands-outdated": "workspace:2.0.0", "@pnpm/plugin-commands-publishing": "workspace:2.0.0", - "@pnpm/plugin-commands-rebuild": "workspace:2.0.2", + "@pnpm/plugin-commands-rebuild": "workspace:2.0.3", "@pnpm/plugin-commands-script-runners": "workspace:1.1.1", - "@pnpm/plugin-commands-server": "workspace:2.0.0", - "@pnpm/plugin-commands-store": "workspace:2.0.2", + "@pnpm/plugin-commands-server": "workspace:2.0.1", + "@pnpm/plugin-commands-store": "workspace:2.0.3", "@pnpm/run-npm": "workspace:2.0.1", "@pnpm/tabtab": "0.0.1", "@pnpm/types": "workspace:6.0.0", diff --git a/packages/store-connection-manager/CHANGELOG.md b/packages/store-connection-manager/CHANGELOG.md index 6d102e3239..4517b2acd0 100644 --- a/packages/store-connection-manager/CHANGELOG.md +++ b/packages/store-connection-manager/CHANGELOG.md @@ -1,5 +1,11 @@ # @pnpm/store-connection-manager +## 0.3.1 + +### Patch Changes + +- @pnpm/default-fetcher@6.0.1 + ## 0.3.0 ### Minor Changes diff --git a/packages/store-connection-manager/package.json b/packages/store-connection-manager/package.json index 18161e568c..98abfc292d 100644 --- a/packages/store-connection-manager/package.json +++ b/packages/store-connection-manager/package.json @@ -1,6 +1,6 @@ { "name": "@pnpm/store-connection-manager", - "version": "0.3.0", + "version": "0.3.1", "description": "Create a direct pnpm store controller or connect to a running store server", "main": "lib/index.js", "typings": "lib/index.d.ts", @@ -37,7 +37,7 @@ "dependencies": { "@pnpm/cli-meta": "workspace:1.0.0", "@pnpm/config": "workspace:9.0.0", - "@pnpm/default-fetcher": "workspace:6.0.0", + "@pnpm/default-fetcher": "workspace:6.0.1", "@pnpm/default-resolver": "workspace:8.0.0", "@pnpm/error": "workspace:1.2.0", "@pnpm/package-store": "workspace:9.0.0", diff --git a/packages/supi/CHANGELOG.md b/packages/supi/CHANGELOG.md index 135dfe454c..ab956c1dc5 100644 --- a/packages/supi/CHANGELOG.md +++ b/packages/supi/CHANGELOG.md @@ -1,5 +1,11 @@ # supi +## 0.39.5 + +### Patch Changes + +- @pnpm/headless@13.0.0 + ## 0.39.4 ### Patch Changes diff --git a/packages/supi/package.json b/packages/supi/package.json index 38bbbc64a9..23d66f0cd7 100644 --- a/packages/supi/package.json +++ b/packages/supi/package.json @@ -1,7 +1,7 @@ { "name": "supi", "description": "Fast, disk space efficient installation engine", - "version": "0.39.4", + "version": "0.39.5", "author": "Zoltan Kochan (https://www.kochan.io/)", "bugs": { "url": "https://github.com/pnpm/pnpm/issues"