Skip to content

Releases: logdna/env-config-node

v2.0.1

09 Jun 20:30
Compare
Choose a tag to compare

2.0.1 (2022-06-09)

Bug Fixes

  • Do not throw errors until validateEnvVars is called 8afa07d - Darin Spivey

v2.0.0

09 Jun 17:14
Compare
Choose a tag to compare

2.0.0 (2022-06-09)

Bug Fixes

  • Correct boolean test to not use required 6f730aa - Darin Spivey

Code Refactoring

  • A value of empty string should apply the default value 1c93bba - Darin Spivey

Features

  • allowEmpty() will allow '' to be a valid value f46bb1d - Darin Spivey

Miscellaneous

  • CI test with newer versions of node bb2482e - Darin Spivey
  • eslint-config-logdna@6.1.0 c48ec52 - Darin Spivey
  • tap@16.2.0 ec66875 - Darin Spivey

Style

  • Give custom errors their own files 59c3811 - Darin Spivey

BREAKING CHANGES

  • This change affects the way that default values
    are assigned, and the default value will now be used if the
    env var's value is ''. Also, using .required() and .default()
    in the same definition will now result in a mutex error.

v1.1.0

16 Apr 16:16
Compare
Choose a tag to compare

1.1.0 (2021-04-16)

Features

  • expose a list type 19b5c0d - Eric Satterwhite

Miscellaneous

v1.0.5

16 Feb 21:02
Compare
Choose a tag to compare

1.0.5 (2021-02-16)

Bug Fixes

  • Replace .npmignore with files whitelist b0f3e68 - Darin Spivey

Miscellaneous