Skip to content

Version 0.3.0

Latest
Compare
Choose a tag to compare
@devkral devkral released this 31 Jan 00:52
0.3.0
4f4febc

Breaking

This is an emergency release. It removes the feature that implicitly evaluates settings during __init__. This
is very error prone and can lead to two different versions of the same library in case the sys.path is manipulated.
Also failed imports are not neccessarily side-effect free.

Added

  • evaluate_settings has now two extra keyword parameters: onetime and ignore_preload_import_errors.

Changes

  • evaluate_settings behaves like evaluate_settings_once. We will need this too often now and having two similar named versions is error-prone.
  • evaluate_settings_once is now deprecated.
  • Setting the evaluate_settings parameter in __init__ is now an error.
  • For the parameter ignore_import_errors of evaluate_settings the default value is changed to False.