跳到主内容

pnpm 10.21

· 一分钟阅读
Zoltan Kochan
pnpm 的首席维护者

增加了为依赖项安装 Node.js 运行时的支持,以及配置信任策略的设置。

pnpm 10.20

· 一分钟阅读
Zoltan Kochan
pnpm 的首席维护者

此版本为 pnpm help 命令添加了 --all 标志,用于打印所有命令。

pnpm 10.19

· 一分钟阅读
Zoltan Kochan
pnpm 的首席维护者

这个版本为两个设置添加了版本控制功能:[[only BuiltDependencies] 和 [minimumReleaseAgeExclude`]。

pnpm 10.18

· 一分钟阅读
Zoltan Kochan
pnpm 的首席维护者

Minor Changes

Added network performance monitoring to pnpm by implementing warnings for slow network requests, including both metadata fetches and tarball downloads.

Added configuration options for warning thresholds: fetchWarnTimeoutMs and fetchMinSpeedKiBps. Warning messages are displayed when requests exceed time thresholds or fall below speed minimums

Related PR: #10025.

Patch Changes

  • Retry filesystem operations on EAGAIN errors #9959.
  • Outdated command respects minimumReleaseAge configuration #10030.
  • Correctly apply the cleanupUnusedCatalogs configuration when removing dependent packages.
  • Don't fail with a meaningless error when scriptShell is set to false #8748.
  • pnpm dlx should not fail when minimumReleaseAge is set #10037.

pnpm 10.17

· 一分钟阅读
Zoltan Kochan
pnpm 的首席维护者

次要更改

minimumReleaseAgeExclude 设置现在支持模式。

pnpm 10.16

· 一分钟阅读
Zoltan Kochan
pnpm 的首席维护者

次要更改

延迟依赖更新的新设置

最近发生了几起流行软件包被成功攻击的事件。 为了减少安装已损坏版本的风险,我们正在引入一个新的设置,推迟安装新发布的依赖。 在大多数情况下,这种攻击很快就被发现,而且恶意的版本在一个小时内从注册表中删除。

pnpm 10.15

· 一分钟阅读
Zoltan Kochan
pnpm 的首席维护者

次要更改

目录的新设置

添加了 cleanupUnusedCatalogs 配置。 当设置为 true 时,pnpm 将在安装过程中移除未使用的目录条目 #9793

pnpm 10.14

· 一分钟阅读
Zoltan Kochan
pnpm 的首席维护者

增加了对 JavaScript 运行时安装的支持

devEngines.runtime (在 package.json中) 中声明 Node.js, Deno 或 Bun ,并让 pnpm 自动下载并固定它。

pnpm 的 2022 年

· 一分钟阅读
Zoltan Kochan
pnpm 的首席维护者

又是一年年底。 真是艰难的一年。 你们应该知道,我住在乌克兰,由于俄罗斯对我们发动战争,指挥这个项目比往年都难。 尽管如此,今年对pnpm来说是很好的一年。 我们有了很多新用户、贡献者,并且我们实现了许多很棒的功能。

(上图由 Midjourney 生成。 这只老虎象征虎年)

pnpm 的 2021 年

· 一分钟阅读
Zoltan Kochan
pnpm 的首席维护者

现在是年底,对 pnpm 来说是个好年头,所以让我们看看它的进展情况。