Skip to content

Releases: dlang-community/configy

v2.0.0: Module name changes, minor fixes around validation

05 Mar 14:26
Compare
Choose a tag to compare

What's Changed

  • Add support for fromYAML hook by @Geod24 in #45
  • Trivial: Add some extra check as used in DUB fork by @Geod24 in #44
  • Update macOS runners to 11 by @Geod24 in #49
  • Trivial: Update documentation by @Geod24 in #47
  • Make hooks work for the top-level type by @Geod24 in #48
  • Improve support for static arrays and non-CTFEable opEquals by @Geod24 in #50
  • Modernize CI infrastructure by @Geod24 in #53
  • Implement wrapException to generalize parseConfigFileSimple by @Geod24 in #52
  • Commit selections file and fix test failure with latest D-YAML by @Geod24 in #54
  • fix(Read): Correct help text for -O by @Geod24 in #56
  • chore(Read): Rename private wrapException -> wrapConstruct by @Geod24 in #55
  • fix: Properly handle invalid values in enabled / disabled handling & other minor fixes by @Geod24 in #57
  • fix!(Exception): Remove 'key' special member by @Geod24 in #58
  • refactor!: Abstract away file location in its own struct by @Geod24 in #59
  • refactor!: Rename module to not use uppercase by @Geod24 in #60
  • configy: Catch and re-throw validation errors by @VPanteleev-S7 in #65
  • doc/FAQ: Fix typos by @VPanteleev-S7 in #62

New Contributors

Full Changelog: v1.0.0...v2.0.0

v1.0.0: Initial release of Configy

06 Sep 22:12
Compare
Choose a tag to compare

Config: Simple, efficient YAML -> struct converter

Configy is designed to read a YAML file (or string) according to a struct definition and fill it accordingly.
It supports default value, complex structure, and provides good user-facing messages.
From v1.30.0, it will be the default library used while parsing dub.json files.