Direnv Versions Save

unclutter your .profile

v2.23.0

3 years ago

2.23.0 / 2020-10-10

  • stdlib: add source_url function (#562)
  • direnv: add fetchurl command (#686)
  • shell: Update Elvish hook to replace deprecated explode (#685)

v2.22.1

3 years ago

2.22.1 / 2020-10-06

  • Look for stdlib in DIRENV_CONFIG (#679)
  • stdlib: use Bash 3.0-compatible array expansion (#676)
  • Clarify path to direnv.toml (#678)
  • stdlib/use_julia: fix a bug in parameter substitution for empty or (#667)
  • man: update the layout_go documentation
  • stdlib: adds GOPATH/bin to PATH (#670)

v2.22.0

3 years ago

2.22.0 / 2020-09-01

  • stdlib: use_julia (#666)
  • stdlib: semver_search (#665)
  • direnv-stdlib.1: add layout julia (#661)
  • README: spelling correction (#660)
  • README.md: add shadowenv to similar projects (#659)
  • docs: remove Snap from the installations
  • OSX -> macOS (#655)
  • Update shell_fish.go to use \X for UTF encoding (#584)
  • Change XDG_CONFIG_DIR to XDG_CONFIG_HOME (#641)
  • Streamline core algorithm of export and exec (#636)
  • test: add failure test-case (#637)

v2.21.3

4 years ago

2.21.3 / 2020-05-08

  • Replace direnv expand_path with pure bash (#631)
  • Fix #594 - write error to fd 3 on Windows (#634)
  • Make direnv hook output work on Windows (#632)
  • Update hook.md to remove ">" typo in Fish instructions (#624)
  • stdlib: layout go adds layout dir to GOPATH (#622)
  • direnv-stdlib.1: add layout php (#619)
  • stdlib: add PATH_rm [ ...] (#615)
  • Error handling tuples (#610)
  • Merge pull request #607 from punitagrawal/master
  • test: elvish: Fix evaluation function
  • stdlib.sh: Re-write grep pattern to avoid shell escape
  • man: Escape '.' at the beginning of line to remove manpage warning
  • stdlib: fix direnv_config_dir usage (#601)
  • direnv version: improve error message (#599)
  • README: fix NixOS link in installation.md (#589)
  • stdlib: add direnv_apply_dump (#587)
  • Simplify direnv_load and make it work even when the command crashes. (#568)
  • docs: fix fish installation instruction
  • test: test for utf-8 compatibility
  • config: add [global] section
  • config: add strict_env option
  • config: fix warn_timeout parsing (#582)
  • Github action for releases
  • config: fix the configuration file selection
  • stdlib: fix shellcheck warnings

v2.21.2

4 years ago

Making things stable again.

  • stdlib: revert the set -euo pipefail change. It was causing too many issues for users.
  • direnv allow: fix the allow migration by also creating the parent target directory.

v2.21.1

4 years ago

Fix release

  • stdlib: fix unused variable in use node
  • stdlib: fix unused variable in source_up
  • test: add stdlib test skeleton
  • add dist release utility

v2.21.0

4 years ago

This is a massive release!

Highlights

You can now hit Ctrl-C during a long reload in bash and zsh and it will not loop anymore.

Commands that use direnv_load won't fail when there is an output to stdout anymore (eg: use_nix).

Direnv now also loads files from .config/direnv/lib/*.sh. This is intended to be used by third-party tools to augment direnv with their own stdlib functions.

The .envrc is now loaded with set -euo pipefail. This will more likely expose issues with existing .envrc files.

docs

  • Update README.md (#536)
  • Add link to asdf-direnv. (#535)
  • docs: fix invalid link (#533)
  • adds experimental curl based installer (#539)

commands

  • change where the allow files are being stored
  • direnv status: also show the config
  • direnv exec: improve the error message
  • warn if PS1 is being exported
  • handle SIGINT during export in bash
  • export: display the full RC path instead of a relative one
  • direnv exec: the DIR argument is always required (#493)

build

  • ci: use GitHub Actions instead of Azure Pipelines
  • staticcheck (#543)
  • use go modules
  • make: handle when /dev/stderr doesn't exist (#491)
  • site: use jekyll to render the website
  • Pin nixpkgs to current NixOS 19.09 channel (#526)

shells

  • fix elvish hook
  • Use fish_preexec hook instead of fish_prompt (#512)
  • Use fish_postexec to make sure direnv hook executed 'after' the directory has changed when using cd.
  • improve zsh hook (#514)

config.toml

  • rename the configuration from config.toml to direnv.toml (#498)
  • add warn_timeout option. DIRENV_WARN_TIMEOUT is now deprecated.

stdlib

  • direnv_load can now handle stdout outputs
  • stdlib: add layout_julia
  • Handle failing pipenv on empty file and avoid an extra pipenv execution (#510)
  • fix source_env behaviour when the file doesn't exists (#487)
  • watch_file can now watch multiple files in a single invocation (#524)
  • layout_python: prefer venv over virtualenv. Do not export VIRUAL_ENV if $python_version is unavailable or a virtual environment does not exist/can't be created
  • Adds layout_pyenv (#505)
  • Fix source_up docs to explain that search starts in parent directory (#518)
  • fix path_add to not leak local variables
  • layout_pyenv: support multiple python versions (#525)
  • Add a direnv_version <version_at_least> command to check the direnv version.
  • dotenv: handle undefined variables
  • source files from .config/direnv/lib/*.sh
  • stdlib: set -euo pipefail

v2.20.0

5 years ago

v2.19.2

5 years ago

v2.19.1

5 years ago