github jetify-com/devbox 0.12.0

2 days ago

What's new in this Release

Devbox Run Improvements

devbox run will no longer re-run init_hooks or attempt to recreate the shell environment if it is already running in a devbox shell environment. Implications of this change are:

  • If you start a shell, and then run a script with devbox run, the script will not re-run the init_hook or recreate the environment
  • If you run a devbox script inside another devbox script, the init_hook and shell setup will only happen once.

Devbox Global Improvements

Devbox Global has been updated to no longer set Nix environment variables or stdenv packages in your global path. This provides a cleaner environment for your Devbox packages, without interfering with the tooling installed on your host

  • Previous versions of Devbox Global would set it's own versions of packages like gcc, ld, and clang at the top of your global path, which could break system build tools. This version will no longer set those packages in your path
  • Previous versions of Devbox Global would set variables like PYTHONPATH, which could override and cause issues with your host Python interpreter or other Python based binaries. This version will no longer set those variables
  • Note: This change may cause certain libraries or packages to stop working with Devbox Global. If you need these packages to continue working, you can add --omit-nix-env=false to the invocation in your shellrc:
     eval "$(devbox global shellenv --init_hooks --omit-nix-env=false)"

devbox cache enable

You can now enable the Jetify Prebuilt Cache right from command line by running devbox cache enable. Running this command will let you login or create a free Jetify Cloud account from your browser, and then configure Nix on your system to use the cache.

What's Changed

  • [docker] fix docker release image by @mohsenari in #2136
  • [Remove Nixpkgs] remove feature flag by @savil in #2142
  • [RFC][Devbox] computeEnv: remove __ETC_PROFILE_NIX_SOURCED=1 by @savil in #2147
  • [docker] Added steps for latest tag for devbox & devbox-root by @mohsenari in #2146
  • [devbox] run: skip re-computing Devbox State if in devbox shell by @savil in #2144
  • Update README.md by @Lagoja in #2158
  • Bump braces from 3.0.2 to 3.0.3 in /vscode-extension by @dependabot in #2145
  • [easy][lock-tidy] Don't tidy flakes by @mikeland73 in #2162
  • Bump braces from 3.0.2 to 3.0.3 in /docs/app by @dependabot in #2163
  • [devbox global] add --omit-nix-env flag for shellenv/shell/run commands by @savil in #2150
  • [Devbox] introduce devopt.EnvOptions by @savil in #2159
  • [Devbox services] move functions to services.go, and improve runDevboxServicesScript by @savil in #2164
  • boxcli: devbox cache enable by @gcurtis in #2157
  • [lock-tidy] Put warning behind feature flag by @mikeland73 in #2171

Full Changelog: 0.11.1...0.12.0

Don't miss a new devbox release

NewReleases is sending notifications on new releases.