Skip to content

Update guidance for @angular/* packages #5919

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
IgorMinar opened this issue Apr 11, 2017 · 7 comments
Closed

Update guidance for @angular/* packages #5919

IgorMinar opened this issue Apr 11, 2017 · 7 comments
Labels
area: @angular/cli feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors feature Issue that requests a new feature
Milestone

Comments

@IgorMinar
Copy link
Contributor

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Versions.

@angular/cli: 1.0.0
node: 6.9.5
os: darwin x64
@angular/animations: 4.0.0
@angular/common: 4.0.0
@angular/compiler: 4.0.0
@angular/core: 4.0.0
@angular/forms: 4.0.0
@angular/http: 4.0.0
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.0.0
@angular/platform-browser-dynamic: 4.0.0
@angular/platform-server: 4.0.0
@angular/router: 4.0.0
@angular/service-worker: 1.0.0-beta.8
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.0

Repro steps.

n/a

The log given by the failure.

n/a

Desired functionality.

One of the major initiatives within Angular is to ensure that developers are using the latest versions of all of our packages. This includes @angular/core as well as @angular/cli and @angular/material.

Currently, we don't have a good way to ensure that developers know about our releases. We publish new versions to npm and announce them on twitter, but then it's up to developers to actually pull the latest versions of all packages to their project.

If a developer is using yarn or npm with shrinkwrap, then they have to take a step to update the lock files. If they don't use lock files, then they receive updates the next time they happen to reinstall their npm dependencies.

It would be great if we could find a way to notify developers about available updates in a way that strikes the balance between being helpful in ensuring that projects have up-to-date dependencies and not being annoying.

Several options to consider:

  • before scaffolding a new project, check if there is a new version of cli that the user should update to before the project is scaffolded
  • when developer calls ng serve they could get a notification to that their dependencies are outdated, with instructions on how to update.
  • when updates are available, it would be great to have a single command that they can use to bump the versions.
@babilog
Copy link

babilog commented Apr 12, 2017

@IgorMinar , great idea! Not sure yet of the complexity behind this feature, would you consider this a good first PR issue? Willing to progress this if so. Thanks!

@chaosmonster
Copy link

chaosmonster commented Apr 18, 2017

  • checking for version before scaffolding is a great idea.
  • ng serve feels a little bit heavy to me, as I use it very frequently. If I don't want to update my project this can get a little bit noisy and with a lot of unnecessary calls. So I don't prefer that.
  • a way to bump the versions with the cli sounds nice and I like that.

I also would like to suggest a ng update command that bumps the versions, runs tests and reverts the version with warnings if the tests failed. Otherwise the version bump will (if existing) be commited to the git.

@alan-agius4
Copy link
Collaborator

alan-agius4 commented May 27, 2020

Related also to: #14603
 and #16611

@angular-robot angular-robot bot added the feature: votes required Feature request which is currently still in the voting phase label Feb 1, 2022
@angular-robot
Copy link
Contributor

angular-robot bot commented Feb 1, 2022

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.

@ngbot ngbot bot modified the milestones: Backlog, needsTriage Feb 1, 2022
@angular-robot
Copy link
Contributor

angular-robot bot commented Feb 21, 2022

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 angular-robot bot added feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors and removed feature: votes required Feature request which is currently still in the voting phase labels Feb 21, 2022
@alan-agius4
Copy link
Collaborator

This has been mainly addressed with the introduction of ng update.

@alan-agius4 alan-agius4 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 7, 2022
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular/cli feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

6 participants