Skip to content

Releases: nix-community/nix-direnv

3.1.1

08 Feb 20:51

Choose a tag to compare

What's Changed

Bug Fixes

  • Fix nix-direnv-reload permission error when the file is owned by a different user (e.g. a colleague entered direnv first in a shared project directory) by @tennox in #647
  • Fix install: skipping file '/dev/stdin', as it was replaced while being copied error on macOS by @joshuataylor in #682
  • Resolve symbolic links to nixpkgs so that cache profiles are correctly named instead of showing nix-profile-unknown by @gravndal in #587

New Features

  • Log which file caused the cache to be invalidated, making it easier to understand unexpected reloads by @winterqt in #627
  • Add GC root refresh: update symlink timestamps on cached environments so tools like nh don't garbage-collect actively used dev shells by @linw1995 in #631
  • Set inNixShell = true during evaluation of non-flake shells, matching nix-shell behavior and avoiding issues with IN_NIX_SHELL leaking into nested builds by @ncfavier in #677
  • Allow disabling the devShell fallback via nix_direnv_disallow_fallback in .envrc by @bbenne10 in #605

Improvements

  • Improve Nix version detection to handle pre-release versions like 2.31pre20250712_b1245123 by @fidgetingbits in #593

New Contributors

Full Changelog: 3.1.0...3.1.1

3.1.0

08 Feb 20:52

Choose a tag to compare

What's Changed

Full Changelog: 3.0.7...3.1.0

3.0.7

09 May 15:21

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.6...3.0.7

3.0.6

03 Sep 18:52

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.5...3.0.6

3.0.5

03 Jun 12:09

Choose a tag to compare

What's Changed

  • Restore terminfo from calling shell by @bbenne10 in #461
  • Fix local flakes when prefixed with "path:" (again) by @tie in #478
  • Issue a warning if we are falling back to the old shell environment by @bbenne10 in #487
  • GH-491: Explictly set IN_NIX_SHELL to more closely mimic nix-shell execution by @bbenne10 in #498

New Contributors

Full Changelog: 3.0.4...3.0.5

3.0.4

02 Jan 21:52

Choose a tag to compare

What's Changed

  • fix nix_direnv_version terminating direnv by @Mic92 in #457

Full Changelog: 3.0.3...3.0.4

3.0.3

21 Dec 10:15

Choose a tag to compare

What's Changed

  • make version sort compatible with busybox sort by @Mic92 in #455

Full Changelog: 3.0.2...3.0.3

3.0.2

20 Dec 07:32

Choose a tag to compare

What's Changed

Full Changelog: 3.0.1...3.0.2

3.0.1

18 Dec 13:00

Choose a tag to compare

What's Changed

Full Changelog: 3.0.0...3.0.1

3.0.0

10 Dec 21:02

Choose a tag to compare

What's Changed

  • More ruff lints by @Mic92 in #425
  • Delay invalidating cache and gcroots until print-dev-env call succeeds by @bbenne10 in #420
  • simplify required version checks and bring back support for bash 3 by @kingarrrt in #429
  • deprecate nix_direnv_watch_file by @Mic92 in #438

New Contributors

Full Changelog: 2.5.1...3.0.0