-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
[Docs] Guide and recommendation on pinning CLI version #1150
Comments
A PR was created. supabase/supabase#14624 |
Thanks for the suggestion. The getting started guide is mostly for on-boarding users who are new to cli. This usually means they want to install the latest version. Hence, I would avoid mentioning any specific version in the guide. Instead, I would propose to follow a fixed release schedule, perhaps once every two weeks. The detailed plan is as follows:
In addition to better stability, there are several other benefits to following a fixed schedule.
|
That would be even better! I was suggesting a quick solution, but if that can be done, then I support the proposal. I'm not sure how quickly you can "officialize" this approach, but in the meantime, it would be helpful to let newcomers know to beware of/how to pin to their current version. I agree we can remove the specific version from the example to avoid confusion. |
We have added beta release tag to npm as discussed. You can try it out with The command Once package.json and package-lock.json are committed to git, others can install the pinned version by running |
Sounds great! What is the planned cadence for updates to the stable version? |
Currently the planned cadence is 2 weeks for stable version. I will document more in the contributing guide #1163 |
Link
https://supabase.com/docs/guides/cli
Describe the problem
The reality is that, as specified in this repo description, the Supabase CLI is a WIP and iterating constantly/quickly, therefore unstable.
However, this is not reflected in the official docs, and the expectations of a reliable CLI do not align with the reality of the CLI's state. We've had multiple occurrences of a broken dev process due to a new CLI update.
Describe the improvement
I would highly recommend adding a guide on how to pin the CLI version in a project to avoid frustrating developers with unexpected issues.
The text was updated successfully, but these errors were encountered: