Skip to content

v2.0.0

Compare
Choose a tag to compare
@logdnabot logdnabot released this 09 Jun 17:14
· 2 commits to main since this release

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

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.