- #17
Add
Exec
provider that executes an executable and provides its output. - #18
Add conditional providers under sub-namespaces
String
,Int
andBool
:
IF
,EQ
,NE
,GT
,GE
,LT
,LE
,AND
,OR
,XOR
,NOT
. - #19
Try to parse string values as int or bool, and provide
*AsInt
/*AsBool
values on success.
- #2
TextFile
: Add``..``
to access the parent directory. TextFile
: Add optional parameterEncoding
.
The possible values areUTF-8
,UTF-16-le
,UTF-16-be
,UTF-32-le
andUTF-32-be
.
When not provided, the encoding is guessed automatically, as before.- #12
TextFile
: Strip the byte order mark from text content. - #14
Env
andTextFile
: Add optional parameterEnsureExists
.
Whentrue
, if the file or environment variable doesn't exist, a compile-time error is raised.
Otherwise,DefaultValue
is used, or an empty string if not provided, as before.
Env
: Add ability to load.env
file from resolution path.
AddLoadEnvFile: bool
static parameter to decide whether to load the.env
file.
- Remove
*OrDefault
providers and instead add parameterized versions of their base providers. - Add
BuildDate
.
- Add
Env
,EnvOrDefault
. - Add
TextFile
,TextFileOrDefault
.