packages feed

opt-env-conf 0.5.1.0 → 0.5.1.1

raw patch · 3 files changed

+9/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## [0.5.1.1] - 2024-08-08++### Changed++* Fixed a bug in which a `setting` with only a default `value` was considered invalid.+ ## [0.5.1.0] - 2024-08-08  ### Removed
opt-env-conf.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           opt-env-conf-version:        0.5.1.0+version:        0.5.1.1 synopsis:       Settings parsing for Haskell: command-line arguments, environment variables, and configuration values. homepage:       https://github.com/NorfairKing/opt-env-conf#readme bug-reports:    https://github.com/NorfairKing/opt-env-conf/issues
src/OptEnvConf/Lint.hs view
@@ -288,7 +288,8 @@                 isNothing settingSwitchValue,                 not settingTryOption,                 isNothing settingEnvVars,-                isNothing settingConfigVals+                isNothing settingConfigVals,+                isNothing settingDefaultValue               ]           )           $ validationTFailure LintErrorEmptySetting