[Feature]: add devbox required version to devbox.json
Is your feature request related to a problem you're trying to solve? Please describe. Currently it is not possible to have a consistent version of devbox across users machines, which may result in broken features due to version incompatibility.
Describe the solution you'd like
Add a devbox_version field to devbox.json which will allow to set the required devbox version.
Running devbox with an incompatible version should fail with an informative message on the required version and provide instuctions on how to install it.
@dudicoco I like this idea, let me discuss with the team to see what version we can prioritize it for
hi @loreto, any updates on this issue
Not yet, sorry that it's taken a while. We've had to prioritize other issues. Adding @Lagoja who plans our releases so he can figure out where to schedule it.
This feature would save a lot of headache 💚
The latest 0.14 release changes the lock file on some machines. Older versions change it back 🙈
I've submitted an initial PR for this. Hopefully it is helpful.
Tip for those who use Devbox with direnv: add DEVBOX_USE_VERSION=x.x.x to your .envrc