Releases: jbasko/configmanager
Releases · jbasko/configmanager
v1.14.2
Allow disabling hooks. Do not check hook hierarchy if hooks haven't been enabled (or registered) in the root Config object.
v1.14.1
item_value_changed
hook added
v1.14.0
Load user-specific app configuration from standard location if app_name is passed to Config.
v1.13.0
Config sections are now instances of Section rather than Config. Section has less features, so the config object overall is lighter. Can pass meta configuration (configmanager_settings) to Config on creation.
v1.12.1
Bugfixes:
- Allow path supplied to iterators to be a tuple
- Fixes path parsing in iterators to also raise NotFound instead of builtin exceptions
v1.12.0
- Adds section_added_to_section hook
- Adds item_added_to_section hook
- Config.hooks is no longer ConfigRootAttribute as we need a separate instance on each level for consistency
- Section hook handler calls parent section hook handlers too
- Removes method Item.added_to_section — use hooks instead
- Removes method Config.added_to_section — use hooks instead
v1.11.0
Hooks - Config.hooks.not_found available
v1.10.0
Exceptions hierarchy established:
ConfigError
as base exception class
ConfigValueMissing
renamed to RequiredValueMissing
NotFound
introduced to be raised whenever an unknown item or section is requested no matter how