Flox 1.13.0 is released!

Flox 1.13.0 is released!

Features

  • flox deactivate is now available. Use it to leave an active environment and return your shell to its previous state, without closing the shell or terminal the way exit would.
  • A new profile.deactivate section for scripts that run when an environment is deactivated. Requires setting schema-version = "1.13.0".
  • flox upgrade output now distinguishes version changes (curl: 8.9.0 -> 8.10.1) from same-version rebuilds (terraform-docs: 0.21.0 (rebuild, ...)) and summarizes them as “N version changes and M rebuilds”.
  • Manifest builds support two new sandbox levels, warn and enforce, alongside off and pure, plus a sandbox-allow allow-list for files outside the build closure. Requires setting schema-version = "1.13.0".
  • A new disable_hook config option skips installing the prompt hook when set to true.

Fixes

  • flox activate no longer re-locks or rebuilds an environment whose lockfile is already current.
  • flox upgrade and flox activate --remote now correctly create activation symlinks on the first run in an environment that has never been built locally.
  • Flox environment creation is faster, reducing nix build invocations from 3 to 1 per build-and-link cycle and spawning no fetch subprocesses when all packages are already cached.

Notes and download links available here!