github jetify-com/devbox 0.10.0-dev

latest releases: 0.13.0, 0.13.0-devrc, 0.13.0-deva...
pre-release6 months ago

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

To test the latest version of the 0.10.0 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.10.0-dev

To revert back to the previous release, unset this variable.

What's New in this Prerelease

In addition to all the features in our last prerelease, this prerelease adds the following:

Plugins v2

This release includes an update to our Devbox Plugins to make them more flexible and powerful. These changes are backwards compatible, so your current plugins should work as expected.

  • Plugins now support all the fields from devbox.json, including scripts and packages:
    • Specifying scripts in your plugin.json will make those scripts available in any project that imports your plugin
    • Specifying packages in your plugin.json will install those packages in any project that imports your plugin
  • Plugins can now include/import other plugins in the include field

This version also implements a merge algorithm that makes it possible to import multiple plugins, or even nest plugin imports. For more technical details, see the [#1850]

Corepack For NodeJS

Devbox now has a builtin plugin that configures Node.js packages to use Corepack. Corepack is a script bundled with Node.js that manages yarn, npm, and pnpm for your project without having to install them with Nix/Devbox. Huge thanks to @jasononeil and @jay-aye-see-kay for contributing the plugin.

We recommend using Corepack to install npm and other package managers instead of installing them directly with Devbox. Docs and examples will be updated to use Corepack for our full release.

Other Fixes:

  • Fixed a backwards compatibility issue with the last Devbox pre-release
  • Fixed a permissions issue on the /code directory when generating a Dockerfile. Thanks @agate for contributing this fix!
  • devbox update will now refresh git flakes to ensure that they are up to date. Thanks @kadaan for contributing this fix!
  • Fixed Github flake reference parsing to handle commit references + ?dir query parameters.
  • Fixed a bug where Devbox symlinks are not properly recognized on some systems.

Full Changelog

New Contributors

Full Changelog: 0.9.2-dev...0.10.0-dev

Don't miss a new devbox release

NewReleases is sending notifications on new releases.