Releases: NetherlandsForensicInstitute/confidence
Releases · NetherlandsForensicInstitute/confidence
v0.17.2
25 Nov 12:34
Compare
Sorry, something went wrong.
No results found
Fix dump functions failing to write nested Configuration instances in TOML format.
v0.17.1
15 Oct 13:54
Compare
Sorry, something went wrong.
No results found
Avoid crashing on template loaders containing {extension}, issue a deprecation warning when this is used.
v0.17
08 Oct 11:58
Compare
Sorry, something went wrong.
No results found
Drop support for Python 3.9.
Introduce confidence.Format with three concrete implementations: confidence.JSON, confidence.TOML and confidence.YAML, which can be customized before use (e.g. format = YAML(suffix='.yml')).
Deprecate the use of extension argument to loading functions and encoding argument to dumping functions, both can be controlled with a confidence.Format.
v0.16.1
26 Aug 12:27
Compare
Sorry, something went wrong.
No results found
Let Configuration.get() mimic the behaviour of dict.get(), returning None by default for missing keys.
v0.16
18 Apr 12:31
Compare
Sorry, something went wrong.
No results found
Drop support for Python 3.8.
Add merge function to combine multiple mappings into a single Configuration.
Enable the use of the binary or / union operator on Configuration instances, analogous to a builtin dict (e.g. config = defaults | overrides).
0.12
01 Mar 16:46
Compare
Sorry, something went wrong.
No results found
Use named loggers, default confidence.* library loggers to silence as described in the docs .
Resolve references in sequences.
0.11
25 Nov 10:30
Compare
Sorry, something went wrong.
No results found
Parse values of environment variables as YAML values (e.g. NAME_KEY=yes will result in key being True)
Add INFO-level logging of files and environment variables being used to load configuration
0.10
04 Aug 14:09
Compare
Sorry, something went wrong.
No results found
Remove configurable key separator, hardcode the default.
Rename enumeration values (like Locality.USER) to be upper case.
Add dump, dumpf and dumps functions to dump Configuration instances to YAML format.
0.9
01 Feb 14:57
Compare
Sorry, something went wrong.
No results found
Add type hints to confidence
0.8
14 Dec 11:59
Compare
Sorry, something went wrong.
No results found
Add human-readable reprs to Configuration and ConfigurationSequence
Make ConfigurationSequence more list-like by enabling addition operator (configured_sequence + [1, 2, 3] or (1, 2, 3) + configured_sequence)