github jetify-com/devbox 0.9.2-dev

latest releases: 0.13.6, 0.13.5, 0.13.4...
pre-release8 months ago

This is a pre-release of our upcoming 0.9.2 Devbox Release.

To test the 0.9.2 prerelease, export the DEVBOX_USE_VERSION environment variable in your shell. We recommend adding this line to your shell's rc file

export DEVBOX_USE_VERSION=0.9.2-dev

To revert back to the previous release, unset this variable. Please see the note below on changes to our lockfile before reverting to a previous release.

What's new in this pre-release

Alternate Outputs Support

You can now install alternate outputs for a package with devbox add using the --outputs flag, no flake references required.

For example, if you need to install the promtool cli along with the prometheus package, you can now run devbox add prometheus@latest --outputs=out,cli.

GLIBC Library Patching

This release updates Devbox's ability patch a package to use the latest available version of glibc. This fix should help address version 'GLIBC_x.xx' not found errors that may occur when installing or running a mix of older and newer packages with Devbox, especially when using older versions of interpreted languages like Python or Ruby.

If you encounter this error in your project, you should run devbox add <package-name> --patch-glibc on the language interpreter or runtime. For example, if you encounter this with a Python 3.8 project, you should run devbox add python@3.8 --patch-glibc.

This release also unsets the LD_LIBRARY_PATH and LIBRARY_PATH variables in Devbox Shell, which could cause compatibility or missing library issues.

Process-compose Updates

The version of process-compose used by Devbox has been updated to 0.85.0. Additionally, we've updated Devbox to assign a random port to process-compose instead of using a pre-selected block, which should reduce the risk of port contention.

Other Improvements and Bug Fixes:

  • Fixes a bug with parsing Flake URL references
  • Devbox environments will now update faster if you are adding a package that is already in your Nix store
  • devbox.json files created by the CLI now include our JSON schema
  • Fixes to various examples and templates
  • Other small UX improvements and fixes

Note on devbox.lock Changes

This pre-release includes some lockfile formatting changes to support alternate outputs. Using the pre-release may modify your devbox.lock file, but should not change your locked packages. These changes are incompatible with earlier versions of Devbox, so we recommend backing up your devbox.lock file while testing the pre-release

Thanks to:

@evsl for contributing for the first time, fixing a critical bug in how we parsed Flake URLS #1819
@t-monaghan for contributing for the first time, adding the devbox.json schema to generated projects: #1760
@literatesnow for adding documentation on DEVBOX_NO_PROMPT to our Devbox docs: #1792

Full Changelog

New Contributors

Full Changelog: 0.9.1...0.9.2-dev

Don't miss a new devbox release

NewReleases is sending notifications on new releases.