pnpm/spec

Request: more complete pnpm to lockfile version comparisons

Opened this issue · 0 comments

The existing table that compares pnpm version to lockfile version is nice, but I recently needed a more complete version of this relationship. I had to test it out myself to be sure.

Can we update this table to something like the following?

| pnpm version | generates lockfile | parses lockfiles |
| ------------ | ------------------ | ---------------- |
| 6.x          | 5.3                | 5.3, 5.4         |
| 7.x          | 5.4                | 5.3, 5.4         |
| 8.x          | 6.0, 6.1*          | 6.0, 6.1*        |
| - 8.6.1      | 6.1                | ---              |
| - 8.6.2      | 6.1                | ---              |
| - after      | 6.0                | ---              |
| 9.x          | 9.0                | 6.0*, 7.0, 9.0   |
| - 9.0.0      | 9.0                | 7.0, 9.0         |
| - after      | 9.0                | 6.0, 7.0, 9.0    |

Rendered:

pnpm version generates lockfile parses lockfiles
6.x 5.3 5.3, 5.4
7.x 5.4 5.3, 5.4
8.x 6.0 6.0, 6.1*
- 8.6.1 6.1 ---
- 8.6.2 6.1 ---
- after 6.0 ---
9.x 9.0 6.0*, 7.0*, 9.0
- 9.0.0 9.0 7.0, 9.0
- after 9.0 6.0, 7.0, 9.0

It would have to be expanded to include older pnpm versions.

The asterisks:

  • pnpm@8.x
    • lockfile 6.1: pnpm 8.6.1 and 8.6.2 generated lockfile version 6.1, but after that, lockfile verison 6.0 was generated
  • pnpm@9.x
    • lockfile 6.0: pnpm 9.0.0 could not parse lockfile version 6.0, but from 9.0.1 onward, it could
    • lockfile 7.0: pnpm 9.0.0-alpha versions generated lockfiles with version 7.0, but the final release of 9.0.0 generated lockfiles with 9.0