latitude-dev / latitude

Developer-first embedded analytics
https://latitude.so
GNU Lesser General Public License v3.0
674 stars 27 forks source link

Notify new CLI versions #153

Closed samulatitude closed 2 months ago

samulatitude commented 2 months ago

Currently the Latitude CLI update is a manual npm update -g @latitude-data/cli, it doesn't notify when there is a new version and may cause bugs or incompatibilities. We should notify users of new CLI versions when they use a command.

andresgutgon commented 2 months ago

This is what Storybook does. Would be something like this?

image
geclos commented 2 months ago

Makes sense! We should also handle different messages for each type of version, if it's minor or patch it's ok to strongly suggest to do a latitude update. If it's a major version we should suggest they visit firs the changelog.