File: CHANGELOG.md

package info (click to toggle)
haskell-load-env 0.2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 92 kB
  • sloc: haskell: 249; makefile: 5
file content (67 lines) | stat: -rw-r--r-- 2,032 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
## [*Unreleased*](https://github.com/pbrisbin/load-env/compare/v0.2.1.0...master)

None

## [v0.2.1.0](https://github.com/pbrisbin/load-env/compare/v0.2.0.2...v0.2.1.0)

- Don't override values already set in the environment

  Given a hypothetical program `load-env`, which uses one of our `loadEnv`
  functions on `stdin`:

  Previously,

  ```
  FOO=bar load-env <<EOM
  FOO=bat
  EOM
  ```

  would override `FOO` to `bat` when `load-env` ran. But now, it will see `FOO`
  is already `bar` and leave it.

  This is better behavior under the assumption that a `.env` file 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](https://github.com/pbrisbin/load-env/compare/v0.2.0.1...v0.2.0.2)

- Allow lower-case characters in variable names [@denibertovic](https://github.com/pbrisbin/load-env/pull/4)

## [v0.2.0.1](https://github.com/pbrisbin/load-env/compare/v0.2.0.0...v0.2.0.1)

- Packaging and documentation updates

## [v0.2.0.0](https://github.com/pbrisbin/load-env/compare/v0.1.2...v0.2.0.0)

- Traverse up parent directories to find the `.env` file

## [v0.1.2](https://github.com/pbrisbin/load-env/compare/v0.1.1...v0.1.2)

- Packaging updates

## [v0.1.1](https://github.com/pbrisbin/load-env/compare/v0.1.0...v0.1.1)

- Parse variables names more strictly

## [v0.1.0](https://github.com/pbrisbin/load-env/compare/v0.0.4...v0.1.0)

- Don't fail on an empty file
- Ignore any invalid lines, not specifically things that look like comments

## [v0.0.4](https://github.com/pbrisbin/load-env/compare/v0.0.3...v0.0.4)

- Don't throw an exception if the `.env` file is missing

## [v0.0.3](https://github.com/pbrisbin/load-env/compare/v0.0.2...v0.0.3)

- Variable names can contain underscores

## [v0.0.2](https://github.com/pbrisbin/load-env/compare/v0.0.1...v0.0.2)

- Drop support for GHC < 7.8

## [v0.0.1](https://github.com/pbrisbin/load-env/tree/v0.0.1)

Initial release.