- Generalize atomSpec to suport arbitrary exactSpec matches
- Re-export
AltfromConfig.Schema.Spec
- Expose
Config.Schema.Load.Error.simplifyValueSpecMismatchfor providing more focused error feedback. - Added
instance ErrorAnnotation FilePosition
- Update to build against
config-value-0.7.0.0 - Added additional specs and instances to
Config.Schema.Spec - Primitive number spec now only matches
Number, previousIntegerSpecis now derived in terms ofNumberSpec
- Simplify field types of
ValueSpecMismatch - More aggressively eliminate
TypeMismatchandWrongAtomwhen other, more specific errors, are available.
- Rename
ValueSpectoPrimValueSpec - Rename
ValueSpecstoValueSpec - Rename
SectionSpectoPrimSectionSpec - Rename
SectionSpecstoSectionsSpec - Rename
Specclass toHasSpec - Rename
valuesSpectoanySpec - Custom specifications changed type to expose an error message.
- Move spec types to
Config.Schema.Types. NowConfig.Schema.Spechas only the exports needed for building specs and not defining new spec consumers. - Improve schema mismatch type and errors in
Config.Schema.Load.Error
- Support GHC 8.4.1
- Add Spec instances for Int and Word types. All instances including the previous Int instance now validate ranges.
- Changed argument order for
loadValueFromFile
- Add
loadValueFromFileandSchemaError. This is intended as a quick way to get a configuration file loaded with all errors being thrown as exceptions.
- Parameterize the Load module on a position type
- Allow Docs module to process recursively defined specifications as long as a named section breaks the loop.
- Add parentheses to docs when needed
- Add support for GHC 7.10.3
- Allow
generateDocsto work on any ValueSpec, rather than top-level empty-named section specs.
- Added "association list" specifications
- Use
prettylibrary for documentation generation - Reorder parameters so that documentation comes last
- Hide implementations of
ValueSpecsandSectionSpecs
- Expose
liftValueSpecandliftSectionSpec - Add
fractionalSpec - Add
nonemptySpecandoneOrNonemptySpec loadValuereturns aNonEmpty LoadError
- First version. Released on an unsuspecting world.