New in this Release
.env
Support
- You can now add custom environment variables, or load variables from a .env file, using the
--env
and--env-file
flags. Variables loaded from the command line or a .env file will override the variables set by plugins, or in yourdevbox.json
- Supported commands include
shell
,run
,services
,global run
, andglobal services
. For more information, see our CLI reference - Direnv users can add
--env
or--env-files
to your.envrc
file, so that they automatically load whenever you CD into your directory. This can be useful if you always want to override your environment variables using a.env
file. For more details, see our Direnv Guide
Simpler Devbox Run UX
devbox run
can now run commands with flags directly without a--
separator- To run a command with flags, run
devbox run ls -l
- If you need to pass a flag to devbox run, pass it before your command (e.g.,
devbox run -c path/to/devbox.json ls -l
) - For more information, see our Scripts guide
ARMv7l Support
- Devbox now runs on ARMv7l architectures. Run Devbox on your Raspberry Pi!
- Special thanks to @mstruebing for adding this to our release process
Bug Fixes
- Fixed a bug that kept —process-compose-file from working if it pointed to a file outside the project directory
- Fixed an issue that caused Poetry to use a different version of Python than the one installed by the user
Special Thanks To:
- @angelside, @mstruebing, and @dcd-arnold for their first contributions to Devbox!
- @jrseliga for early feedback on the
--env
flag feature
What's Changed
- [shellenv] filter out DEVBOX_LATEST_VERSION env var by @savil in #1331
- Bump word-wrap from 1.2.3 to 1.2.5 in /vscode-extension by @dependabot in #1327
- Bump semver from 7.3.8 to 7.5.4 in /vscode-extension by @dependabot in #1272
- Deploy docs to vercel by @LucilleH in #1335
- [run] improve UX by not requiring '--' by @mikeland73 in #1326
- [rust template] Add cfg(test) attribute to mod test by @savil in #1342
- [easy] copy devbox.lock in generated Dockerfile by @savil in #1344
- [docs] sidebars.js, "guides/plugins" section is duplicated by @angelside in #1333
- Poetry plugin by @Lagoja in #1343
- [CLI] Added http url handling to create template by @mohsenari in #1346
- remove cuego.Complete from cuecfg.Marshal by @savil in #1349
- [remove nixpkgs] Remove CAPath, and only enable for nix >= 2.17 by @savil in #1332
- fix --process-compose-file issue by @Lagoja in #1345
- [Config Packages] Enable optional map spec by @savil in #1351
- fix: release for armv7l by @mstruebing in #1300
- Use
devbox run -- ...
instead ofdevbox shell -- ...
by @mikenikles in #1352 - [env] Add --env and --env-file flags by @mikeland73 in #1353
- [docs] add documentation for devbox version update (#1355) by @dcd-arnold in #1356
- [env] Add env flags to direnv commands by @mikeland73 in #1354
New Contributors
- @angelside made their first contribution in #1333
- @mstruebing made their first contribution in #1300
- @dcd-arnold made their first contribution in #1356
Full Changelog: 0.5.10...0.5.11