Releases: matthewhartstonge/configurator
Releases · matthewhartstonge/configurator
v0.3.2
v0.3.1
v0.3.0
v0.2.0
v0.1.0
0.1.0 (2024-06-19)
Features
- .github:
ConfigParser
addsType() string
for informing the user which parser is being used. (#4) (e2b675e) - a lot of new goodies. (f322f89)
- adds MIT license. (98b86f3)
- ConfigFileType: implements
ConfigParser
return of filepath forParse
. (e0b0b9b) - ConfigFileType: makes naming consistent and simplifies implementation due to functionality provided by
ConfigType
. (2b711f6) - ConfigImplementer:
Validate
now takes in adiag.Component
. (247a51e) - ConfigParser:
Parse
now returns filepath andValues
returns the state of the parsed configuration. (ee7e7d0) - ConfigTypeable: now requires implementing
fmt.Stringer
. (a5d73d7) - ConfigType: implements
ConfigParser.Values
. (4e7a860) - ConfigType: simplifies dependant use by implementing base functionality. (e76bdbc)
- configurator:
FileParser
renamed toConfigFileParser
, implementsStat
with diagnostic support. (23a6378) - diag: adds
FromComponent
to enable logging on a passed in component. (87723d4) - diag: adds diag builder for a developer friendly API. (07cc7cb)
- diag: builder now returns
Diagnostics
instead of*Diagnostics
. (c76038d) - diag: reverses the parameters for builder as summary should be smaller than detail. (35b507e)
- diags: initial diagnostics implementation. (68f3319)
- env/envconfig: hoists env to a top level package, simplifies envconfig implementation. (b5fbc38)
- env/envconfig: implements
ConfigTypeable
fmt.Stringer
and updatesParse
to return the environment variable prefix. (efd3036) - file: implements
fmt.Stringer
. (4894201)
Bug Fixes
- diag:
Diagnostics
no longer attempts to append if supplied diags are empty. (4306601) - diag: if
Diagnostics
is nil, builder will now return an emptyDiagnostics
. (7466466)