-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
[BUG] No info on availability of new version of cli to user. #1680
Comments
Hey @AayushSaini101 any update on this issue? If verified and relevant would like to work on this. In my opinion this can be due to the missing Would really appreciate your thoughts on this. Thanks. |
@neoandmatrix I doubt its anything to do with the registry field as it states that if nothing is specified it defaults to the package name specified in the package.json You can confirm this by setting the frequency to something like 10 seconds, Some npm scripts do trigger the warning but this warning never appears while you are running any command, and with a lower frequency it doesn't appear at all even with the scripts (one would expect that even with a lower frequency at least one warning should appear at beginning and then none would appear for the duration of the specified frequency) |
Thanks @pseudo-tensor for clarification. So i if am understanding your last point that is this
then at least a waring should appear after 24 hours that is specified in the current configuration , right? Moreover form what i can understand from reading the https://github.com/oclif/plugin-warn-if-update-available?tab=readme-ov-file#how-it-works especially
Once a command is ran that uses some script to fetch new version then only it will be displayed after every 24 hours on every command as mentioned in
Please correct if i am getting something wrong regarding this. Then can confirm form mentors that if this is the desired behavior or something can be changed. Thanks. |
Hey @AayushSaini101 can you please have a look at this and confirm that this is the intended behaviour for the updates to show as mentioned in the previous comment above or some changes can be made to make it more informative like instead of depending on a command that will fetch a new version and then warning will be shown, we can do it to show on every command at some fixed interval like currently 24 hours as sometimes these changes can contain important patches or fixes also. Thanks. |
Describe the bug.
Whenever a new version is released of the cli and if after that user runs a command then a info should be given that a new version of the cli is available. It is already implemented here but appears to be not working as can be seen from below screenshots.
Expected behavior
An info should be shown with new available version and current version once every day of running any commands.
Screenshots
As evident form above screenshots i am using an older version and info should be displayed that a new version is available but no info is shown.
How to Reproduce
🥦 Browser
None
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: