Skip to content

Releases: kelseyhightower/envconfig

1.4.0

24 May 22:21
Compare
Choose a tag to compare
  • improved boolean parsing
  • support for encoding.BinaryUnmarshaler
  • CheckDisallowed function to validate a spec struct against the environment
  • improvement to word splitting for uppercase words
  • go module support!
  • various error message and documentation improvements

1.3.0

24 Jan 17:21
Compare
Choose a tag to compare
  • supports a split_words struct field tag for using underscores in env var names
  • Usage* API for printing out usage information calculated from envconfig spec structs
  • now supports maps with key1:value1,key2:value2 syntax in environment variables

v1.2.0

19 Oct 22:02
Compare
Choose a tag to compare
  • targets support embedded structs
  • interface for custom decoding of the env var string
  • ignored field tag
  • targets support pointer fields
  • support for nested (non-embedded) structs
  • exposes underlying error within ParseError type

v1.1.0

04 Mar 06:49
Compare
Choose a tag to compare

This release adds support for slices, time.Duration, and struct tags to enable default values.

v1.0.0

21 Apr 02:23
Compare
Choose a tag to compare
Merge pull request #1 from aybabtme/clearer_error

Contextual info to error messages