Releases: jetify-com/devbox
0.14.0
Devbox 0.14.0 Release Notes
We’re excited to share our latest release, packed with improvements and new capabilities that make Devbox more powerful and easier to use. Below is a summary of what’s new:
New in this Release
Default to the Deteminate Installer for Nix Setup
The Determinate installer has become the default Nix installation method for Devbox, offering a smoother and more standardized setup process for most users. In addition to making installation easier, you can now uninstall nix using /nix/nix-installer uninstall
or repair your installation using /nix/nix-installer repair
.
For more details, visit the Determinate Systems nix-installer repo
Lock and Update stdenv
packages and flake references
Nix's stdenv is a standard set of packages and build tools (such as the GCC toolchain, make, and other common tools) that are used to build packages for different environments. As of 0.14.0, Devbox now supports locking stdenv and flake references in your devbox.lock
file. This ensures that your environment remains stable and consistent across different sessions and machines. Additionally, you can now update your project's stdenv to get the latest build tools by running devbox update
Note: If you are sharing your Devbox project with a team, we recommend having everyone upgrade to version 0.14.0 so that they can take advantage of the pinned stdenv. Using older versions of Devbox may remove the pinned stdenv from your lockfile.
Improved devbox search
for Large Version Lists
The CLI now displays more readable list of packages and versions when you run devbox search <pkg> --show-all
. Special thanks to @irdaislakhuafa for contributing this feature!
View outdated packages with devbox list --outdated
Stay on top of your dependencies with the new devbox list --outdated
flag. It helps you identify which packages have newer versions available, so you can preview updates before applying them to your environment. This command is also available for devbox global
. Thanks @guerinoni for contributing this feature!
--no-install
Flag for devbox update
A new --no-install
flag for devbox update
lets you update devbox.lock
without actually installing packages. Thanks @jay-aye-see-kay for contributing this feature!
Plugin Improvements:
[Elixir] New Plugin
We’ve added a simple Elixir plugin so you can more easily develop and manage Elixir projects within Devbox. Thanks @clessg for contributing this new plugin!
[MySQL] Create and link a my.cnf
file.
A new MySQL plugin now creates and links a my.cnf file, allowing you to customize and manage your MySQL configuration with Devbox. Thanks @clessg for contributing this improvement!
[Python] Fixed UV_PYTHON variable
UV_PYTHON
now points to the Python binary in your project's $VENV_DIR
. This change enables you to use uv pip
commands with devbox. Thanks @yemaney for contributing this improvement!
[Poetry] Disable unnecessary output
Devbox now suppresses extra poetry output when running devbox shell
. Thanks @FotiadisM for contributing this improvement!
Bug Fixes
- Fixed handling of GitHub flakes with revision and reference parameters.
- Resolved an issue where scripts would not appear in sorted order.
- Addressed context passing in the client search function.
- Corrected system CUDA library detection in patchpkg.
- Fixes to comments and documentation
Special Thanks To
A huge thank you to all our community members who contributed to this release, including (in alphabetical order):
@clessg, @FotiadisM, @guerinoni, @irdaislakhuafa, @jay-aye-see-kay, @needsure, @pinage404, @yemaney
Special welcome to our new contributors:
@irdaislakhuafa
@clessg
@guerinoni
@yemaney
@FotiadisM
What's Changed
- Nix Installer have an official documentation, now by @pinage404 in #2425
- feat(cli): improve search result view for large version lists by @irdaislakhuafa in #2435
- nix: make System, Version, SourceProfile public by @gcurtis in #2443
- nix: make DetSys installer the default by @gcurtis in #2447
- move glibcLocales to plugins by @Lagoja in #2442
- chore: fix some comments by @needsure in #2439
- devbox: clean up profile history after sync by @gcurtis in #2449
- flake: add narHash and lastModified attributes by @gcurtis in #2464
- nix/flake: fix Ref.String() for github flakes w/ rev and ref by @gcurtis in #2467
- MySQL Plugin: create and link my.cnf to allow configuring MySQL by @clessg in #2468
- Add simple elixir plugin by @clessg in #2462
- lock: add support for locking stdenv + flakerefs by @gcurtis in #2465
- nix: make internal/nix.cmd public by @gcurtis in #2473
- fix: sort scripts list by @guerinoni in #2477
- [docs] add note about github plugin cache env-var by @savil in #2479
- fix: pass a ctx to client searcher
search
by @guerinoni in #2495 - [easy][devboxjson] Add nixpkgs to schema by @mikeland73 in #2498
- [deps] Update x/crypto dependency by @mikeland73 in #2499
- feat: implement outdated command by @guerinoni in #2497
- [easy][minor] correct comment about runx by @savil in #2505
- patchpkg: fix system CUDA lib search by @gcurtis in #2507
- [ls] return unresolved packages as a warning instead of an error by @Lagoja in #2511
- add --no-install flag to
devbox update
by @jay-aye-see-kay in #2508 - Dependabot merge by @Lagoja in #2512
- refactor(templates): use depth of 1 in clone command to limit history… by @yemaney in #2488
- fix(python plugin): set UV_PYTHON to python in .venv by @yemaney in #2478
- fix: disable poetry plugin output by @FotiadisM in #2482
- Bump version to 0.14.0 by @Lagoja in #2515
New Contributors
- @irdaislakhuafa made their first contribution in #2435
- @clessg made their first contribution in #2468
- @guerinoni made their first contribution in #2477
- @yemaney made their first contribution in #2488
- @FotiadisM made their first contribution in #2482
Full Changelog: 0.13.7...0.14.0
0.14.0-devrc
Fixes in this release:
- Handles errors for unresolved packages when running
devbox ls --outdated
- Adds a
--no-install
flag to update your devbox.lock file without reinstalling your packages. Thanks @jay-aye-see-kay for contributing this feature! - Use --depth=1 when cloning templates to limit history. Thanks @yemaney for contributing this fix!
- Set
UV_PYTHON
to use the python in your virtual environment. Thanks @yemaney for contributing this fix - Disable output for our poetry plugin. Thanks @FotiadisM for contributing this fix!
What's Changed
- [ls] return unresolved packages as a warning instead of an error by @Lagoja in #2511
- add --no-install flag to
devbox update
by @jay-aye-see-kay in #2508 - Dependabot merge by @Lagoja in #2512
- refactor(templates): use depth of 1 in clone command to limit history… by @yemaney in #2488
- fix(python plugin): set UV_PYTHON to python in .venv by @yemaney in #2478
- fix: disable poetry plugin output by @FotiadisM in #2482
New Contributors
- @yemaney made their first contribution in #2488
- @FotiadisM made their first contribution in #2482
Full Changelog: 0.14.0-deva...0.14.0-devrc
0.14.0-deva
Fixes in this release:
- Updates our lockfile to better pin nixpkgs in your lockfile
- Fixes an issue with searching for CUDA Libraries
Changelog
- 0e154db patchpkg: fix system CUDA lib search (#2507)
- 55fd9a1 [easy][minor] correct comment about runx (#2505)
- ff381aa feat: implement outdated command (#2497)
- 3f7706d [deps] Update x/crypto dependency (#2499)
- 28e11cf [easy][devboxjson] Add nixpkgs to schema (#2498)
- 15e2fb1 fix: pass a ctx to client searcher
search
(#2495)
0.14.0-dev
What's new in this pre-release:
- Determinate Installer is now the default installation method for Nix with Devbox. The Determinate Installer makes it easier to upgrade or uninstall Nix alongside Devbox if it doesn't already exist on your system
devbox search
as an improved view for large package lists when runningdevbox search --show-all
. Thanks to @irdaislakhuafa for contributing this feature!- Devbox now pins your stdenv and flake references in the devbox.lock file. This should improve the reproducibility of your Devbox shell across machines and Nix versions.
- [Elixir] Devbox now has a built-in plugin for Elixir projects. Thanks @clessg for contributing this plugin!
- [MySQL/MariaDB] The Devbox Plugin for MariaDB and MySQL now creates a my.cnf file for configuring your server. Thanks @clessg for contributing this improvement!
Thanks to:
- @pinage404 for improving our Nix Installer documentation
- @needsure for cleaning up some comments in the Devbox codebase
- @irdaislakhuafa for their first contribution to Devbox
- @clessg for contributing improvements to the Elixir and mysql plugins
What's Changed
- Nix Installer have an official documentation, now by @pinage404 in #2425
- feat(cli): improve search result view for large version lists by @irdaislakhuafa in #2435
- nix: make System, Version, SourceProfile public by @gcurtis in #2443
- nix: make DetSys installer the default by @gcurtis in #2447
- move glibcLocales to plugins by @Lagoja in #2442
- chore: fix some comments by @needsure in #2439
- devbox: clean up profile history after sync by @gcurtis in #2449
- flake: add narHash and lastModified attributes by @gcurtis in #2464
- nix/flake: fix Ref.String() for github flakes w/ rev and ref by @gcurtis in #2467
- MySQL Plugin: create and link my.cnf to allow configuring MySQL by @clessg in #2468
- Add simple elixir plugin by @clessg in #2462
- lock: add support for locking stdenv + flakerefs by @gcurtis in #2465
- nix: make internal/nix.cmd public by @gcurtis in #2473
New Contributors
- @irdaislakhuafa made their first contribution in #2435
- @clessg made their first contribution in #2468
Full Changelog: 0.13.7...0.14.0-dev
0.13.7
What's new in this release
- [Flake] Fixed an issue where Python projects would break after installing Devbox from a flake (#2406)
- [Flake] Devbox no longer bundles the
updater
subpackage when built from it's flake. This removes conflicts with other packages that included anupdater
binary (#2426) - [Offline] Adds a
--recompute
flag todevbox shell
anddevbox run
. This flag can be set tofalse
to speed up startup times when offline, or when the shell is already up to date (#2391) - [PostgreSQL] Fixed an issue with the postgresql service when $PGHOST contained a blanks pace (#2399)
- [Plugins] Fixed an issue where Devbox configs would overwrite $PATH changes from plugins (#2418)
Special thanks to:
@rbardak and @adamdicarlo for making their first contributions to Devbox!
What's Changed
- [zeroconfig] Implement nodejs detector by @mikeland73 in #2395
- [PROPOSAL] postgresql process-compose is faulty when $PGHOST contains blank space by @rbardak in #2399
- [zeroconfig] Default nodejs to corepack enabled by @mikeland73 in #2396
- Add --recompute flag for commands: shell and run by @savil in #2391
- [easy] comment fix OnStaleState by @savil in #2405
- configfile: sort members in setEnv by @gcurtis in #2417
- Fix flake version string issue by @Lagoja in #2406
- [bug] plugin env PATH fix by @mohsenari in #2418
- [cli-test] Added /usr/bin to PATH so that haskell can to verify pkg downloads by @mohsenari in #2433
- Exclude testscripts from Flake build by @adamdicarlo in #2426
- devbox: export API for devbox install by @gcurtis in #2437
- all: remove cloud subcommand and unused packages by @gcurtis in #2438
- Bump version to 0.13.7 by @Lagoja in #2436
New Contributors
- @rbardak made their first contribution in #2399
- @adamdicarlo made their first contribution in #2426
Full Changelog: 0.13.6...0.13.7
0.13.6
What's new in this release
- Fixes a few issues with package patching that could prevent Python from installing succesfully
- Improves platform compatibility checks when installing packages with
runx
- Fixes an issue where
devbox shellenv
would fail on paths with whitespace - Fixes a bug where
env_from
would fail when called from a subdirectory - Fixes documentation and error messaging for
env_from
when calling devbox from a subdirectory
Changelog
- 0bc66cb [whitespace] sourcing init hooks: wrap project dir path in quotes (#2393)
- 1f4db4a [auto] Add php detector (#2390)
- 8384357 Version 0.13.6 (#2389)
- 2f38449 shellgen: delete flake.lock if flake.nix changes (#2388)
- 399b7f3 [env] Fix env_from docs and improve error messaging (#2386)
- b3f6847 [dependencies] Update pkg (for runx) (#2384)
- 73fcc6f [autodetect] Add go autodetection (#2381)
- 5c665e5 telemetry: add devspace analytics (#2380)
- cab9ca6 patchpkg: use devbox flake instead of local binary (#2378)
- 034a486 cli reference: update completion docs for zsh (#2371)
- e8763dd fix wrong button on Quickstart (#2367)
- 1815867 Re-enable Algolia Search (#2365)
- eecce85 [Temp] Disable Search (#2364)
- a37b090 fix: json syntax error in plugin example (#2363)
- d52d414 [cicd] Remove macos-12 (#2361)
- 02a719f [env] Fixed env_from bug when it is called from a subdirectory (#2355)
0.13.5
What's new in this release
- Process-compose downgraded to 1.24.2 to fix an issue with PostgreSQL services
- Fixes a potential error with
devbox init
Changelog
- 8205c25 bump version to 0.13.5 (#2360)
- 595dc22 Revert process-compose to 1.24.2 (#2356)
- 1ec15d9 update-links (#2351)
- ec8aa70 [autodetect] Fix autodetect (#2353)
- 5bf73ed [auth] Fix failed session refresh (#2350)
- bb67992 [init] init config should return error if already exists (#2346)
- 0b2e47e [auth | dev] use new dev auth url (#2349)
- f99b715 Zed Docs (#2345)
- 9cb6297 Bump django from 4.1.13 to 4.2.16 in /examples/stacks/django (#2339)
- e040073 Remove Fleek from Docs (#2338)
0.13.4
What's new in this release:
- Bump process-compose to 1.34.0. This update fixes a bug where services would be left orphaned if your shell terminated suddenly
- [Python]
venvShellHook
is now moresh
compatible - Flake updated to only build the
devbox
package, and to support cross-compilation.
Changelog
- 9c709d2 Bump version to 0.13.4 (#2337)
- e106c39 Bump process-compose to 1.34.0 (#2336)
- b06bf8e [docs] Update deps (#2332)
- 14327a7 make
venvShellHook
compatible with sh (#2333) - 750bfc1 [zeroconfig] Change autodetect implementation so it generates devbox.json (#2331)
- a306f27 [autodetect] Move autodetect to pkg (#2330)
- 834147a [zeroconfig] Implement --autodetect flag (#2325)
- d8e8bbe Add deploys back to Sidebar (#2328)
- fc99ab2 [logging] Fix segment logging (#2322)
- d4cf421 Reorganize docs (#2323)
- 3ed10ab Jetify Sandbox Docs Draft (#2255)
- 49c91f4 [github actions] fix publish ovsx (#2320)
- de1495b [vscode extension] updated changelog (#2317)
- a5d08b2 Flake version to 0.13.3 (#2319)
0.13.3
What's new in this release
- Fixes an issue where non-versioned packages and flakes could be incorrectly removed from the devbox.lock file.
- Adds an experimental environment variable (
DEVBOX_X_GITHUB_PLUGIN_CACHE_TTL
) that manages how long Devbox caches Github-sourced plugins
Changelog
- fc7a398 [plugins] Add env var to control github cache ttl (#2314)
- 59c2d6d Update docs for 0.13 series (#2312)
- 0ff66c1 [lockfile] Fix tidy for non-versioned packages (#2313)
- f66f7a9 changed trigger to release to dockerhub to run on published releases (#2311)
- 8ca1f75 patchpkg: improve CUDA shared library search (#2306)
0.13.2
What's new in this release
- [Services] Users can now choose the process-compose port when running services
- To set it from the command line, use the
--pcport, -p
flag - To set it in your config or environment, export the
DEVBOX_PC_PORT_NUM
environment variable
- To set it from the command line, use the
- [Install] Devbox can now use the Determinate Systems Installer to manage Nix.
- To test the installer, export
DEVBOX_FEATURE_DETSYS_INSTALLER=1
in your environment before setting up Nix
- To test the installer, export
- [Install] Nix Flake for installing Devbox
- To get the latest version, run
nix profile install github:jetify-com/devbox/latest
- To pin a specific version, run
nix profile install github:jetify-com/devbox/<version>
. Note that only versions >= 0.13.2 can be installed this way
- To get the latest version, run
- [Install] Devbox now installs the latest version of nix (2.24.7)
Changelog
- fcf3a42 Fix flake rev issue (#2310)
- 37c36a1 Build and Install Devbox via Nix Flake (#2308)
- 2544163 [vscode-extension] Added support for reopen in devbox for cursor and vscodium (#2309)
- 3da723b docs,examples: update dependencies (#2307)
- 6a72354 [telemetry] Don't log user errors (#2305)
- 57312c0 patchpkg: patch python to use devbox CUDA libs (#2296)
- 58ed80e [nix] Add DetSys installer behind feature flag (#2303)
- 68edd30 [services] Let users set the port for process-compose (#2299)
- 3818683 refactor: add bash shebang for shellcheck (#2286)
- 3c6af98 bump installed nix version to latest, and update test-nix-versions (#2301)