Skip to content

Releases: caarlos0/env

v6.2.1

26 Feb 12:40
8a6889e
Compare
Choose a tag to compare
  • fix: Env variables annotated with file is not allowed to be empty (#109)
  • fix: typos in defaultTypeParsers (#108)

v6.2.0

24 Feb 14:40
6be8347
Compare
Choose a tag to compare
  • fix: go mod tidy
  • fix: readme fmt
  • chore(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.1 (#107)
  • feat: Support to load values from file (#105)
  • fix: lint
  • chore: go mod tidy
  • refactor: small code improvement (#101)
  • test: run tests on Go 1.13 (#100)

v6.1.0

03 Oct 13:43
Compare
Choose a tag to compare
  • feat: support traversing non-defined type fields (#96)

v6.0.0

15 May 02:13
4bd75bf
Compare
Choose a tag to compare
  • feat: accept []*types by default (#95)
  • fix: make it work on dep again
  • test: 100% coverage

v5.1.4

03 May 18:53
Compare
Choose a tag to compare

Try encoding.TextUnmarshaler before trying other types.

v5.1.3

29 Apr 12:20
1928784
Compare
Choose a tag to compare

v5.1.2

29 Apr 12:20
0b4f1fc
Compare
Choose a tag to compare

v5.1.1

29 Apr 12:19
cdbb914
Compare
Choose a tag to compare

v5.1.0

29 Apr 11:08
1cc821d
Compare
Choose a tag to compare
  • improved unexported fields handling

v5.0.0

25 Apr 10:47
eaa3c66
Compare
Choose a tag to compare
  • major refactor
  • removed OnEnvVarSet
  • improved error messages
  • default custom parsers for durations and urls

Check the diff for more info!