Skip to content

Releases: caarlos0/env

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!

v4.0.0

08 Mar 14:26
9a320ff
Compare
Choose a tag to compare
  • no longer testing on go versions bellow 1.10.x
  • now testing on go 1.12.x
  • added go.mod and etc so it should work better with go modules
  • added nested struct support
  • added more native types

v3.5.0

20 Oct 01:54
518fcfb
Compare
Choose a tag to compare

A little change in behavior / bugfix (#52) and we are now also testing agains go 1.9, 1.10 and 1.11!

v3.4.0

22 Sep 14:41
7f73d65
Compare
Choose a tag to compare
  • 998eb22 feat: Add ExpandVar tag to support variable expansion (#57)
  • c4f2804 feat(parsing): Added encoding.TextUnmarshaler support (#53)
  • f8dab76 adds a general-purpose per-field callback (#51)
  • 3ce33ec ref.Field(i) is non-trivial, so one call per iter should well suffice (#51)

v3.3.0: Merge pull request #45 from EVODelavega/add-custom-parser-for-non-struct

01 May 19:34
1cddc31
Compare
Choose a tag to compare
Expand support for custom parsers to non-struct types

custom parsers support

13 Dec 10:02
7cd7992
Compare
Choose a tag to compare
Merge pull request #44 from dselans/dselans/custom-parser-and-url-sup…

…port

Introduce support for custom parsers + url.URL

Unexported inner struct fix

30 Oct 19:37
9de094f
Compare
Choose a tag to compare
Merge pull request #40 from caarlos0/fix

fix unexported inner structs