New:
- Better AssertionError messages when default values have the wrong type.
New:
- Improve error reporting when raising on wrongly typed defaults
New:
- Enforce type checking on every getconf.getXXX() call
- Add getconf.getstr() method
- Enable using None as default value for every function
- Better support for Python 3.3, 3.4 and wheel distribution
Deprecated:
- Use of strings as default values for getconf.getlist()
- Use of getconf.get() in favor of getconf.getstr()
New:
- Add getfloat() method
- Allow globs in config_files
- <PROJECT>_CONFIG env var will now have the same behaviour than config_files items
Bugfix:
- Fix version number
New:
- Add support for directory-based configuration and providing defaults through a dict
Removed:
- Remove support for
ConfigGetter(namespace, file1, file2, file3)
syntax (deprecated in 1.1.0), useConfigGetter(namespace, [file1, file2, file3])
instead
New:
- New initialization syntax
Deprecated
- Using argument list for config file paths when initializing ConfigGetter is now deprecated, you need to use a list (use ConfigGetter(namespace, ['settings_1.ini', 'settings_2.ini']) instead of ConfigGetter(namespace, 'settings_1.ini', 'settings_2.ini'))
Bugfix:
- Fix packaging (missing requirements files)
New:
- First version