feat: set default minimumReleaseAge to 1 day (1440 minutes)#11158
Conversation
There was a problem hiding this comment.
Pull request overview
Sets a non-zero default for pnpm’s “cooldown” security feature so newly published package versions are not immediately eligible for installation unless users opt out.
Changes:
- Set the default
minimum-release-ageconfig value to4320minutes (3 days).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Addressed the Copilot review feedback in commit 5fe0f86:
|
| "@pnpm/config.reader": minor | ||
| "pnpm": minor |
zkochan
left a comment
There was a problem hiding this comment.
We could ship it in v11. However, the biggest problem is that the publish time of a package is only available in the non-abbreviated package document. This document is much bigger than he abbreviated one. Hence, this change would make installation slower.
|
Thanks for the feedback! Updated the changeset to |
277c546 to
1ed1852
Compare
…ly chain attack protection Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1ed1852 to
4c00bde
Compare
|
Poll results show that most of the users want some delay: https://x.com/pnpmjs/status/2039099810943304073 |
|
Thanks. Let me know if you’d like me to make any follow-up changes from my side🙇 |
|
Congrats on merging your first pull request! 🎉🎉🎉 |
|
I understand that recent events have triggered this but imho changing this default is a VERY BAD idea. It effectively blocks all patches of all known security issues for everyone for 24 hours vs. blocking still relatively rare supply chain attacks that impact some projects some of the time. This puts every project using pnpm 11 at an exponentially greater risk at all times! It's nice that the setting exists but it must remain off by default. Reverse this, please 🙏 |
|
This is a setting that you can change to your personal liking. The default value of the setting was decided by a vote, where the majority wanted some delay by default. |
|
Please refer me to the voting results? Who voted? |
|
The poll was referenced in my message above: https://x.com/pnpmjs/status/2039099810943304073
|
|
I love pnpm but this choice is bonkers. 600 "people" on xwitter is what should represent the community? and no background information given to the "voters"? sorry, but lol. Malicious actors will have a blast. They can simply scan repos for I'm fairly certain that we will regret this change. Good luck |
|
Your style of communication is unprofessional. Hence, I don't feel motivated to discuss this matter with you. |

Motivation: Recent Supply Chain Attacks
This change is motivated by a wave of confirmed supply chain attacks in 2025–2026:
Key finding: According to Andrew Nesbitt's research, 8 out of 10 recent supply chain attacks were detected and removed within 1 week of publication. A cooldown period would have blocked most of them automatically.
What This PR Does
Sets the default
minimumReleaseAgeto1440minutes (1 day = 24 × 60).minimumReleaseAge: 0inpnpm-workspace.yamlto restore the previous behaviorCompliance Alignment
References