All Versions
10
Latest Version
Avg Release Cycle
55 days
Latest Release
2338 days ago
Changelog History
Changelog History
-
v0.4.1.0 Changes
August 29, 2018- โ Add
parseConfigSpecTH
functionality, now we can parse theConfigSpec
record at compilation time (closes #47) - โ Remove bug on CLI option parser, now it will coerce numbers and
booleans to string when specifying numbers and booleans over CLI
and the field type is a string (closes #48) - ๐ Improve Error Types to be more granular and descriptive
- ๐ Re-organize
Spec
parser functions in its own module - โ Add
switch
input for CLI spec (closes #41)
- โ Add
-
v0.4.0.3 Changes
June 03, 2018- โ Remove bug that stop configuration to be rendered when a default value was an empty array
-
v0.4.0.2 Changes
June 02, 2018- ๐ Improvement around unhelpful error being thrown when CLI Config Map didn't contain a value on a required (by code) field
-
v0.4.0.1 Changes
May 20, 2018- ๐ Improve pretty printer for configuration values (closes #32)
-
v0.4.0.0 Changes
May 13, 2018BREAKING CHANGES
- โ Add new
type
field toetc/spec
with support forstring
,number
,
bool
,[string]
,[number]
and[bool]
,[object]
- โ Remove
type
field incli
spec in favor oftype
onetc/spec
- ๐ Allow ENV vars to accept supported types (only strings were allowed) (closes #30)
- ๐ Allow CLI options to accept supported types (only strings and numbers were allowed)
- ๐ Allow spec file to have array as default values
- ๐ง Return a warning and an empty config whenever configuration files contain
entries not defined in the spec (closes #26)
- โ Add new
-
v0.3.2.0 Changes
April 24, 2018- โฌ๏ธ Upgrade to
rio
to version0.1.1.0
- โฌ๏ธ Upgrade to
-
v0.3.1.0 Changes
April 05, 2018- โ Add new
etc/files
entry to the spec file which allows specifying an
environment variable to fetch a file (issue #20)
- โ Add new
-
v0.3.0.0 Changes
March 28, 2018BREAKING CHANGES
- โฌ๏ธ Bump resolver to lts-11
- Replace
protolude
in favor ofrio
- โก๏ธ Update
parseConfigSpec
to no longer attempt to parse JSON whenyaml
cabal
flag is set - โ Add
sensitive
setting toetc/spec
entries - โ Add
Value
type to deal with sensitive values - โก๏ธ Update examples with
sensitive
values - โ Add optional key context to the
InvalidConfiguration
error (issue #12) - โ Add config printer function that renders config map with/without colors (issue #15)
- Give precedence to values that do not contain inner
JSON.Null
values (issue #16)
-
v0.2.0.0 Changes
May 26, 2017- ๐ Move
Config
API to typeclassIConfig
- โ Add a
Setup.hs
file to every hachage repo (issue #5) - โ Add example of a project with a config spec embedded in the binary
- ๐ Move
-
v0.1.0.0 Changes
April 17, 2017