github jetify-com/devbox 0.17.0-dev

pre-release7 hours ago

Devbox 0.17.0 Pre-Release Notes

New Features

  • Git Plugin Support — Plugins can now be loaded from any Git repository, not just GitHub. Supports git+ssh, git+http, and git+file transports, as well as targeting specific branches, revisions, or subdirectories. (#2735)

  • Nushell Support for Global Packagesdevbox global shellenv now works correctly in Nushell. Previously, Nushell users had no equivalent to eval $(devbox global shellenv) — Devbox now generates native Nushell-compatible output automatically. (#2743)

  • --envrc-dir flag for devbox generate direnv — A new flag gives independent control over where the .envrc file is written, separate from the --config flag that specifies the devbox.json location. This fixes cases where direnv and devbox configs live in different directories. (#2629)

  • Zsh ZDOTDIR Support — Devbox now correctly handles the ZDOTDIR environment variable during Zsh shell initialization, fixing broken Zsh configs that reference ZDOTDIR. (#2712)

  • PostgreSQL Plugin: Configurable Port via PGPORT — The PostgreSQL plugin now respects the PGPORT environment variable, making it possible to run multiple PostgreSQL instances in different projects simultaneously. (#2774)

Bug Fixes

  • Fixed duplicate -f flag error in process-compose — Using --process-compose-file to merge configurations would fail with a "project already specified" error. Devbox now deduplicates flags before passing them to process-compose. (#2701)

  • Fixed Elixir plugin on macOS — The Elixir plugin was broken on newer nixpkgs due to the removal of the old darwin.apple_sdk_11_0 SDK pattern. The explicit CoreServices framework dependency has been removed since it is now bundled automatically in the new Darwin stdenv. (#2764)

  • NixOS: Fixed .envrc shebang — Generated .envrc files previously used /bin/bash, which does not exist on NixOS. The shebang is now /usr/bin/env bash for portability. (#2747)

  • VS Code: Fixed "Reopen in Devbox shell environment" in WSL — The command now works correctly in VS Code WSL windows. (#2729)

  • VS Code: Preserve HOME variable in Devbox shell — The HOME variable was previously stripped when opening a VS Code Devbox shell, breaking tools like Git that rely on it to find user configuration. (#2694)

  • Fixed broken nixpkgs reference in pre-fetch command (#2689)

Dependency & Runtime Updates

  • process-compose bumped to 1.87.0 (from 1.64.1) (#2777)
  • Minimum Nix version is now 2.18 — Newer nixpkgs no longer evaluates on older Nix versions. (#2779)
  • Built-in Nix installer switched to upstream experimental installer (#2698)

What's Changed

  • [compliance] Update dependencies in devbox by @loreto in #2684
  • Bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 in the go_modules group across 1 directory by @dependabot[bot] in #2682
  • Bump github.com/ulikunitz/xz from 0.5.13 to 0.5.14 in the go_modules group across 1 directory by @dependabot[bot] in #2688
  • change builtin installer to upstream nix experimental by @Lagoja in #2698
  • fix(vscode): Keep HOME variable when starting VSCode by @tm-michael in #2694
  • [docs] fix docusaurus due to previous upgrade being incompatible by @savil in #2710
  • [gha] clear space to avoid 'No space left on device' error by @savil in #2711
  • bump devbox-install-action to v0.14.0 by @savil in #2709
  • [devbox] GHA tests: add GITHUB_TOKEN to nix config to fix 403 errors by @savil in #2714
  • typo in direnv.md by @combinatorist in #2715
  • [devbox] attempt 2: add GITHUB_TOKEN for nix by @savil in #2716
  • Remove docs and documentation app by @loreto in #2724
  • Added support for ZDOTDIR handling in Zsh shell initialization. by @r00tdaemon in #2712
  • docs: fix link in README by @salim-b in #2728
  • Fix broken link for 'Installing Devbox' by @ashahba in #2730
  • Fix GitHub API rate limiting in cli-tests by @savil in #2731
  • [tests] Bump php version test by @mikeland73 in #2734
  • Add --envrc-dir flag to allow specifying location of direnv config by @pstephan-geico-external in #2629
  • Fix VS Code "Reopen in Devbox shell environment" in WSL by @apgrucza in #2729
  • [vscode extension] extension version and readme update to 0.1.8 by @mohsenari in #2736
  • fixes reference to nixpkgs in pre fetch command by @t-monaghan in #2689
  • [small] Upgraded node version since it was incompatible with vsce by @mohsenari in #2737
  • Update go dependencies to latest versions by @loreto in #2741
  • [compliance] Update dependencies with vulnerabilities by @loreto in #2749
  • [compliance] Update devbox examples with vulnerabilities by @loreto in #2753
  • Use portable shebang in .envrc template for NixOS compatibility by @abs in #2747
  • Fix elixir plugin for new Darwin SDK pattern by @yasuaki640 in #2764
  • [README] Removed translations from README by @mohsenari in #2762
  • Update dependencies in pytorch example by @loreto in #2771
  • [plugins] Added support for being able to specify PGPORT to postgres plugin by @mohsenari in #2774
  • de-duplicate -f <pc.yaml> flags to avoid the issue in #2700 by @jay-aye-see-kay in #2701
  • Bump symfony/process from 6.4.26 to 6.4.33 in /examples/stacks/drupal in the composer group across 1 directory by @dependabot[bot] in #2772
  • Bump django from 4.2.22 to 4.2.25 in /examples/stacks/django in the pip group across 1 directory by @dependabot[bot] in #2713
  • Bump process-compose version to 1.87.0 by @Lagoja in #2777
  • Bump minimum Nix version to 2.18 by @Lagoja in #2779
  • [devbox] update go to 1.25.5 and disable CGO to workaround clang linker error by @savil in #2723
  • Nushell support for Global packages by @omerxx in #2743
  • Add git plugin by @plopoyop in #2735

New Contributors

Full Changelog: 0.16.0...0.17.0-dev

Don't miss a new devbox release

NewReleases is sending notifications on new releases.