Skip to content

Releases: 20c/confu

1.9.0

21 Feb 18:36
Compare
Choose a tag to compare

Added

  • add SettingsManager.set_list()
  • add SettingsManager.try_include()
  • Python 3.10 support (#64)
  • Python 3.11 support
  • Python 3.12 support

Changed

  • documentation moved to github pages

Removed

  • Python 3.6 support
  • Python 3.7 support

1.7.0

27 Feb 14:01
Compare
Choose a tag to compare

Added

  • confu.util.SettingsManager: scoped settings management with environment variable override support

1.6.0

10 Feb 17:10
Compare
Choose a tag to compare

Added

  • Python 3.8 support (#33)
  • Python 3.9 support (#41)
  • apply_argparse: helper function to update Config object with output from parser (#31)
  • argparse_options: default_from_schema keyword argument added (#31)
  • Poetry added for dependency management (#39)

Removed

  • Python 3.5 support (#32)

1.4.0

29 Oct 13:23
Compare
Choose a tag to compare

Added

  • argparse_options: attributes keyword argument added (#24)
  • click_options: attributes keyword argument added (#24)

Changed

  • use pymdgen for automatic api docs (#22)

1.3.0

21 Oct 10:21
Compare
Choose a tag to compare

Added

  • Attribute: cli argument can now be a function (#21)

Fixed

  • fix #23: better error handling in apply_defaults

1.2.0

17 Sep 10:37
Compare
Choose a tag to compare

Added

  • defaults parameter for argparse_options and click_options (#20)

Fixed

  • List still requires name attribute on init (#17)

1.1.3

13 Sep 08:34
Compare
Choose a tag to compare

Fixed

  • Fixed issue where List holding Schema type items would lose items to validation warnings (#18)

1.1.2

18 Jun 11:46
Compare
Choose a tag to compare

Fixed

  • some attribute validators still have issues with a None default (#16)
  • For string attributes a blank default value should infer blank=True (#15)

1.0.0

05 Mar 18:09
Compare
Choose a tag to compare
1.0.0

0.6.0

21 Dec 12:05
Compare
Choose a tag to compare

Added

  • blank argument for Str attribute - specifies whether value can be blank or not, defaults to False

Fixed

  • proxy schema needs to be able to apply defaults (#10)
  • issue where list validation would sometimes lead to duplicate items added to the list

Changed

  • Directory attribute will forfeit validation if blank is True and value is ""