github jetify-com/devbox 0.13.0

latest releases: 0.13.6, 0.13.5, 0.13.4...
one month ago

What's new in this release

0.13.0 is a major release, with several enhancements to improve the Python development experience with Devbox.

[Python] Autopatching Native Libraries

This release includes an experimental feature that automatically patches Python interpreters to load native libraries installed in your Devbox Shell, without needing to set LD_LIBRARY_PATH. This makes it easier to create Devbox shells for projects with Python Packages that use native extensions. Additionally, Devbox will automatically install native libraries that are commonly used by Python packages, such as zlib and openssl. This feature can be disabled with devbox add <python-package> --patch never

This release automatically enables patching for Python interepreters, but it can be enabled for any package (such as Ruby) using devbox add <pkg> --patch always.

[Python] Plugin + Virtual Environment improvements

When you launch Python, our plugin now defaults to putting your virtual environment in $DEVBOX_PROJECT_ROOT/.venv. This provides better compatibility with IDEs and Language Extensions that expect Python to be in your project root. The plugin also sets a UV_PYTHON environment variable to improve compatibility with the uv package manager.

You can manage where Devbox sets up your .venv directory by setting the $VENV_DIR environment variable in your devbox.json.

Special thanks to @djgoku for contributing fixes to this feature!

[Services] devbox services attach and better backgrounding

Starting Devbox services in the background with devbox services up -b now runs process-compose as a detached process in the background, meaning it will stay alive even if your terminal exits or crashes. You can attach the process-compose TUI to the backgrounded process with devbox services attach, and exiting the TUI will leave process-compose running in the background.

To stop the backgrounded process, you can use devbox services stop.

This release also upgrades the default process-compose to 1.24.2, which has several reliability and performance improvements.

Other Features

  • Devbox can now automatically parse and add secrets from your dotenv files. To have Devbox load your dotenv files automatically, add the dotenv file to env_from in your devbox.json
  • Devbox now includes a builtin plugins for Valkey, a drop-in Redis Replacement. Special thanks to @captainseeker for contributing!
  • Added a DEVBOX_WD environment variable that maps to the working directory where you ran a script. This variable is useful if you want to run scripts that act on your current working directory, instead of the Devbox project's root directory
  • Devbox's direnv integration now watched devbox.lock for changes, and updates your environment. Thanks to @mjgallag for contributing!
  • Added missing/required properties to the devbox-plugin-schema.json. Thanks to @svallory for contributing!

Full Changelog

New Contributors

Full Changelog: 0.12.0...0.13.0

Don't miss a new devbox release

NewReleases is sending notifications on new releases.