-
-
Notifications
You must be signed in to change notification settings - Fork 789
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
Notify of new major versions available when running gleam update
#3843
Comments
Let's do it. I think Mix and Cargo have a nice way of displaying this |
I'm giving this a try. |
It would be better if the output indicates the current (exact) version as well: % gleam deps update
Resolving versions
Downloading packages
Downloaded 2 packages in 0.01s
Hint: the following dependencies have new major versions available...
wibble @1.8.3 -> @2.2.0
wobbling @1.3.2 -> @3.0.0 |
I have a very rough implementation at #3876. I'm currently making a separate request for each hex package to get the latest version. I'm considering the following alternative, but not sure if it's viable: Use It seems hexpm doesn't have an API for this. But |
Yup it needs to show the latest versions. Closing as duplicate of #2583, thanks all |
Discussed in #3841
Originally posted by hayleigh-dot-dev November 17, 2024
As the ecosystem grows it is becoming more difficult to keep track of when packages are updated with new breaking changes. Short of just making a list of every dependency of every package I maintain and regularly checking for new versions, there is no real way to know if any of my dependencies have updated until a user opens an issue or I notice by happenstance.
One thing I can do reliably is run
gleam update
in my packages from time to time. I'd like to propose that command also reports when any major version bumps are available, something like:I think this would have a general benefit to the community:
mist
orlustre
where the community at large benefits from being on the same version.The text was updated successfully, but these errors were encountered: