chore(release): 5.0.1

This commit is contained in:
Zoltan Kochan
2020-05-28 13:45:37 +03:00
parent 81b5370032
commit b0171ce5e0
22 changed files with 110 additions and 48 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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

View File

@@ -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"
},

View File

@@ -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

View File

@@ -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",

View File

@@ -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

View File

@@ -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"
}

View File

@@ -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

View File

@@ -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"
},

View File

@@ -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

View File

@@ -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",

View File

@@ -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

View File

@@ -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",

View File

@@ -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

View File

@@ -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",

View File

@@ -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.
When `link-workspace-packages` is set to `deep`, packages from the workspace will be linked even to subdependencies.

View File

@@ -1,7 +1,7 @@
{
"name": "pnpm",
"description": "Fast, disk space efficient package manager",
"version": "5.0.0",
"version": "5.0.1",
"author": "Zoltan Kochan <z@kochan.io> (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",

View File

@@ -1,5 +1,11 @@
# @pnpm/store-connection-manager
## 0.3.1
### Patch Changes
- @pnpm/default-fetcher@6.0.1
## 0.3.0
### Minor Changes

View File

@@ -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",

View File

@@ -1,5 +1,11 @@
# supi
## 0.39.5
### Patch Changes
- @pnpm/headless@13.0.0
## 0.39.4
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "supi",
"description": "Fast, disk space efficient installation engine",
"version": "0.39.4",
"version": "0.39.5",
"author": "Zoltan Kochan <z@kochan.io> (https://www.kochan.io/)",
"bugs": {
"url": "https://github.com/pnpm/pnpm/issues"