Releases: Tarmil/FSharp.Data.LiteralProviders
Releases · Tarmil/FSharp.Data.LiteralProviders
Version 1.0
Version 0.4
- #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.
Version 0.3
Env
: Add ability to load.env
file from resolution path.
AddLoadEnvFile: bool
static parameter to decide whether to load the.env
file.
Version 0.2.7
- Add assemblies to the NuGet package whose presence is required to build a netstandard2.0 library while running the compiler on net4x.
- Add net45 version of the library for compatibility with pre-netstandard2.0 frameworks.
Version 0.2
- Remove
EnvOrDefault
and move it toEnv
- Remove
TextFileOrDefault
and move it toTextFile
- Add
BuildDate<?format>
provider
Version 0.1
Env
providerEnvOrDefault<name, ?default>
providerTextFile
providerTextFileOrDefault<path, ?default>
provider