Skip to content

Version 1.4.0

Choose a tag to compare

@Neraste Neraste released this 27 Mar 09:29
· 189 commits to develop since this release

1.4.0 - 2022-03-27

Added

  • config.Config object to store config.
    Config can be loaded from a file (once).
    When accessing a value, it is first searched in environment variables, then in stored values.
  • Methods that add a message to a raised exception can be generated from exceptions.generate_exception_handler.
  • All exceptions of the program can be caught in __main__.py with exceptions.handle_all_exceptions.
  • Application directories are available with the object directory.directories.
  • Mac OS support.

Changed

  • config.load_config was integrated in config.Config as method load_file.
    Its different actions were divided:
    • Loading the config file: config.Config.load_file;
    • Checking mandatory keys: config.Config.check_mandatory_keys; and
    • Setting debug mode: config.Config.set_debug.
  • Checking the validity of parameters of HTTPClient is now done in the load method.

Removed

  • Dropped Python 3.5 and 3.6 support.