Releases¶
Latest development release¶
Version: 1.28Released: 2023-03-20
1.28 (2023-03-20)¶
- Use critical urgency by default with notifier if message is an error.
- Ignore BrokenPipeError.
- Add full_width argument to
render_bar()
. - Require secondary arguments to
Color
be keyword arguments. - Require secondary arguments to
plural
be keyword arguments. - Add max_col_width parameter to
columns()
. - Added type hints.
1.27 (2022-09-15)¶
- Add markers to
ProgressBar
. - Change order of arguments to
dedent()
. - Drop support for Python 2.
1.26 (2021-09-15)¶
- Added
dedent()
. - Added
LoggingCache
.
1.25 (2021-07-07)¶
- Allow culprits to be falsy.
1.24 (2021-05-18)¶
- Defer evaluation of stdout and stderr.
1.23 (2020-08-26)¶
- Strip out empty culprits and codicils.
1.22 (2020-08-24)¶
- Added clone argument to
InformantFactory
.
1.21 (2020-07-20)¶
- Allow
ProgressBar
output to be suppressed. - Allow
/
to be overridden inplural
- Various enhancements to
conjoin()
andfull_stop()
. - Added
parse_range()
andformat_range()
functions. - Added
title_case()
function.
1.19 (2019-09-25)¶
- Minor fixes.
1.18 (2019-08-10)¶
1.17 (2019-05-16)¶
- Added
is_mapping()
1.16 (2019-04-27)¶
1.15 (2019-01-16)¶
1.14 (2018-12-03)¶
- Added
render_bar()
utility function. - Added
ProgressBar
class. - Added
Info
class. - Added
Inform.join_culprit()
method and join_culprit()
.
- Added
- Allow culprit to be passed into
Error.report()
and Error.terminate()
.
- Allow culprit to be passed into
- Added
Error.reraise()
method. - Allow a codicil or codicils to be added to any informant.
- Added codicil named argument to informants and
Error
. - Added informant named argument to
Error
. - Use colorscheme of active informer as default for colorizers.
Error.get_culprit()
now returns a tuple rather than a string.- Added
Error.join_culprit()
. - Added
Error.get_codicil()
.
1.13 (2018-08-11)¶
- Added
aaa()
debug function. - Added exit argument to
done()
,terminate()
, - and
terminate_if_errors()
.
- Added exit argument to
terminate()
now produces an exit status of 0 if there was- no errors reported.
- Added
set_culprit()
,add_culprit()
- and
get_culprit()
.
- Added
1.12 (2018-02-18)¶
- do not use notify override on continuations.
- tidied up a bit.
1.11 (2017-12-25)¶
- Released the documentation.
- Added ability to override template in
Error
. - Added stream_policy option.
- Added notify_if_no_tty option.
- Informers now stack, so disconnecting from an existing informer reinstates
- the previous informer.
- Generalize
cull()
. - Add support for multiple templates.
- Added
join()
function.