Changelog for load-env-0.2.1.0
Unreleased
None
v0.2.1.0
-
Don't override values already set in the environment
Given a hypothetical program
load-env, which uses one of ourloadEnvfunctions onstdin:Previously,
FOO=bar load-env <<EOM FOO=bat EOMwould override
FOOtobatwhenload-envran. But now, it will seeFOOis alreadybarand leave it.This is better behavior under the assumption that a
.envfile is meant to specify defaults in the case of nothing explicit. When there are explicit values in the environment, it's most likely that our user indeed wants them respected.
v0.2.0.2
- Allow lower-case characters in variable names @denibertovic
v0.2.0.1
- Packaging and documentation updates
v0.2.0.0
- Traverse up parent directories to find the
.envfile
v0.1.2
- Packaging updates
v0.1.1
- Parse variables names more strictly
v0.1.0
- Don't fail on an empty file
- Ignore any invalid lines, not specifically things that look like comments
v0.0.4
- Don't throw an exception if the
.envfile is missing
v0.0.3
- Variable names can contain underscores
v0.0.2
- Drop support for GHC < 7.8
v0.0.1
Initial release.