Releases: nix-community/nix-direnv
Releases · nix-community/nix-direnv
3.1.1
What's Changed
Bug Fixes
- Fix
nix-direnv-reloadpermission 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 copiederror on macOS by @joshuataylor in #682 - Resolve symbolic links to nixpkgs so that cache profiles are correctly named instead of showing
nix-profile-unknownby @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
nhdon't garbage-collect actively used dev shells by @linw1995 in #631 - Set
inNixShell = trueduring evaluation of non-flake shells, matchingnix-shellbehavior and avoiding issues withIN_NIX_SHELLleaking into nested builds by @ncfavier in #677 - Allow disabling the devShell fallback via
nix_direnv_disallow_fallbackin.envrcby @bbenne10 in #605
Improvements
- Improve Nix version detection to handle pre-release versions like
2.31pre20250712_b1245123by @fidgetingbits in #593
New Contributors
- @gravndal made their first contribution in #587
- @fidgetingbits made their first contribution in #593
- @Wilfred made their first contribution in #612
- @winterqt made their first contribution in #627
- @linw1995 made their first contribution in #631
- @tennox made their first contribution in #647
- @tylercritchlow made their first contribution in #664
- @ncfavier made their first contribution in #677
- @joshuataylor made their first contribution in #682
Full Changelog: 3.1.0...3.1.1
3.1.0
3.0.7
What's Changed
- Added
nix-systemsinput by @ink-splatters in #526 and @ginkogruen in #527 - Always set nix-direnv-reload as executable by @nicknovitski in #536
- don't warn about dirty trees by @Mic92 in #545
- use_nix: rely on function autocallingto import a nix attribute @CobaltCause in #549
- Fix warnings not being printed by @JoaquinTrinanes in #560
New Contributors
- @ink-splatters made their first contribution in #526
- @ginkogruen made their first contribution in #527
- @britter made their first contribution in #532
- @nicknovitski made their first contribution in #536
- @CobaltCause made their first contribution in #549
- @llakala made their first contribution in #550
- @synalice made their first contribution in #565
Full Changelog: 3.0.6...3.0.7
3.0.6
What's Changed
- Fix unbound shell variable errors on strict mode by @JoaquinTrinanes in #512
- Use ambient Nix when available, with a two stage fallback by @K900 in #513
- Respect existing _nix_direnv_manual_reload by @JoaquinTrinanes in #516
New Contributors
- @JoaquinTrinanes made their first contribution in #512
- @K900 made their first contribution in #513
Full Changelog: 3.0.5...3.0.6
3.0.5
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
- @tie made their first contribution in #478
- @ShalokShalom made their first contribution in #490
Full Changelog: 3.0.4...3.0.5
3.0.4
3.0.3
3.0.2
What's Changed
- Fixup
$direnvusage by @kingarrrt in #449 - set bash 4.4 as minimum by @Mic92 in #450
Full Changelog: 3.0.1...3.0.2
3.0.1
What's Changed
- make self-contained using resholve by @kingarrrt in #441
- don't rely on direnv to be in $PATH by @Mic92 in #447
Full Changelog: 3.0.0...3.0.1
3.0.0
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