Changelog History
Page 2
-
v0.2.11 Changes
February 16, 2015- ๐ Added support for Cabal-1.18. This is supposed to make the build more robust and simplify integration with existing build infrastructure and other packages.
-
v0.2.10 Changes
February 07, 2015๐ Moved all internal APIs to the
Internalname space. Exposing them in 0.2.9 was considered a bug.๐ง Configuration files can be formatted either as JSON or as YAML. For remote configuration files the HTTP
Content-Typeheader is used to determine the format, for local files the file suffix is used. The default format is YAML.Set the HTTP
acceptheader for JSON and YAML when requesting remote configuration files.
-
v0.2.9 Changes
February 05, 2015Use tight constraint for all validation functions. Previously the constraint where unnecessarily restrictive.
โก๏ธ Added
updatePropertyfunction that generalized%.:in the same way assetPropertygeneralizes..:.๐ง Added a validation function for configuration file arguments.
Allow usage of more than a single
--config-fileoption on the command line.๐ง Support for static configuration file locations. Configuration files can be marked as
requiredoroptional.๐ง Support for loading of configuration files form HTTP and HTTPS URLs. There are new flags for disabling validation of SSL certificates and white listing SSL certificates based on their fingerprint.
โก๏ธ Added tools for updating configurations with a monoid instance.
๐ Added two new option parsers for boolean flags.
- The
boolOption_parser uses the syntax--featureand--no-featureto enable and respectively disable a feature. - The
enableDisableFlagparser uses the syntax--enable-featureand--disable-featureto enable and respectively disable a feature.
- The
๐จ Refactored the module layout. The API of the existing modules is is backward compatible, but a lot of code got moved into submodules.
๐ Improved documentation.
โ Improved test suite.
-
v0.2.8 Changes
January 23, 2015Added validation functions for Boolean values, numeric values and orders.
๐ง Added operator
!..:for parsing of configuration values that are required to be present in a configuration file, thus preventing the default value from being used.More consistent usage of case in metavar values.
๐ Drop support for optparse-applicative < 0.10.
-
v0.2.7 Changes
๐ง Added
viewfunction for lenses toConfiguration.Utils.Internal.๐ง Added support for validation of configuration values.
๐ง Added module
Configuration.Utils.Validationthat provides primitives for validating different basic configuration values.
-
v0.2.6 Changes
For git repositories include also light-weight (non-annotated) tags in the version description.
Added new function
boolReader,boolOption,fileOption, andeitherReadPtoUtils.๐ Added new function
maybeOptionand improved documentation aboutMaybeconfig values.Included optimisation level into long info.
-
v0.2.5 Changes
- ๐ง
Configuration.Utils.Setup: exportmkPkgInfoModulesfunction that modifies a givenUserHooksrecord to generate anPkgInfomodule during configuration.
- ๐ง
-
v0.2.4 Changes
๐ง Configuration.Utils.Setup: fixed generation of
PkgInfomodule for package configurations with explicit flags.๐ Improved documentation for
Maybevalues.
-
v0.2.4.1 Changes
- ๐ Support for optparse-applicative >= 0.10.
-
v0.2.3 Changes
Show the help options in the options summary message.
Add
-?as short version of for--helpin addition to-h.๐ Remove
showHelpOnErroranddisambiguatefrom option parser preferences.Added file
INSTALL_ON_WINDOWS.mdwith installation instructions for windows to the package.