Convex 1.19.0
Convex 1.19.0 is out!
The main change is local deployments for development https://docs.convex.dev/cli/local-deployments
Local deployments run your Convex dev deployment for your project on your local machine, which should make syncing your code faster. It also makes resources used during development like function calls and database bandwidth free, since it's your own compute resources you're using!
3 Replies
Running code on other computers is generally messier than running it on your own servers. Some of here worked on the Dropbox desktop client for years and this was a constant source of edge cases. So local deployments may take some time to get working for everyone, in every possible development configuration.
With this release you'll now be presented the option to use a local deployment when creating a new project, or you can start using a local dev deployment for an existing project by running npx convex dev --local once. You can go back to the normal cloud dev experience by running npx convex disable-local-deployments.
Unfortunately local deployments currently don't work on Windows if you don't have the Microsoft Visual C++ Redistributable installed. There are probably more edge cases too, please let us know as you run into them if you decide to try this beta feature.
Amazing work @ballingt and team! 🙏
That is so cool. Thank you