angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Support for pnpm (or general) minimumReleaseAge

Open muuvmuuv opened this issue 4 months ago • 6 comments

Command

update

Description

As of recent mitm attacks it would be cool to have support for pnpm's minimumReleaseAge or something by Angular itself.

Describe the solution you'd like

  • pnpm's minimumReleaseAge
  • Angular option to set min release age on update command

Describe alternatives you've considered

Instead of modifying package.json call package manager update command:

pnpm update "@angular/core@~20.3.1" "@angular/cli@~20.3.1"

muuvmuuv avatar Sep 17 '25 10:09 muuvmuuv

This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.

You can find more details about the feature request process in our documentation.

angular-robot[bot] avatar Sep 17 '25 13:09 angular-robot[bot]

We recommend configuring the minimumReleaseAge within your pnpm-workspace, as this setting is applied to all dependencies, both direct and indirect. Implementing this feature via the CLI would limit its scope, affecting only direct dependencies non-transitively.

alan-agius4 avatar Sep 17 '25 13:09 alan-agius4

Hm, yeah that is what I do, but ng update updates the package.json file with the version it found to be compatible/latest and installs using a package manager. This last step then fails, if the version that ng found is not older than the value I have set via minimumReleaseAge.

muuvmuuv avatar Sep 17 '25 15:09 muuvmuuv

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] avatar Oct 27 '25 13:10 angular-robot[bot]

Is any more information needed?

muuvmuuv avatar Oct 27 '25 15:10 muuvmuuv

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.

angular-robot[bot] avatar Nov 16 '25 13:11 angular-robot[bot]