Changelog of @hackage/conferer 1.1.0.0

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to PVP.

Unreleased

Nothing

v1.1.0.0 - 2021-03-01

Changed

  • Rename fromFilePath to fromFilePath'.
  • Define a new fromFilePath whose type is FilePath -> SourceCreator instaed of FilePath -> IO Source.
  • (Internal) Remove the mismatched type exception since it's not actionable by the user
  • (Internal) Use a list for default values so that many different defaults are available, possible point of extension in the future.
  • Constraint valid key names to lowercase ascii and numbers (previously some non ascii characters were allowed)

Added

  • isValidKeyFragment and isKeyCharacter to validate Keys
  • Added an overriding method based on type and key (details in the docs)

v1.0.0.1 - 2021-01-17

Fixed

  • In the File's FromConfig instance, if the default is present and it's type is File, it throws, which doesn't follow the rest of the library.

Added

  • Add mkConfig' which allows creating a config by passing a list of defaults and a list of source creators.
  • Add addSources, which allows to add several sources to a config.
  • Define the type Defaults, which is a list of associations from Key to Dynamic.

v1.0.0.0 - 2020-12-29

First release