All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
1.4.3 - 2024-10-17
- Drop support for Python 3.8 (4f5d6ec by Timothée Mazzucotelli).
1.4.2 - 2024-09-10
1.4.1 - 2024-08-15
- Fix call to
eval_type
(missingtype_params
argument on Python 3.13) (eae6c85 by Timothée Mazzucotelli).
- Update Griffe tool (3f69fa0 by Timothée Mazzucotelli).
1.4.0 - 2024-05-19
- Allow passing additional arguments, preventing their interpretation by delimitating them with
--
if needed (9df0437 by Timothée Mazzucotelli). Issue-15 - Rewrite callables as "tools", to allow building the
command
value automatically (55c9b9f by Timothée Mazzucotelli). Issue-21 - Expose all callables in their parent module (e3357b9 by Timothée Mazzucotelli).
- Add callable for Griffe (36644c4 by Timothée Mazzucotelli).
- Add callable for git-changelog (c236b43 by Timothée Mazzucotelli).
- Add callable for build (efbe66e by Timothée Mazzucotelli). Issue-18
- Add callable for Twine (608c1c2 by Timothée Mazzucotelli). Issue-19
1.3.0 - 2024-04-28
- Support duty parameters annotated as type unions, with both old and modern syntax, even on Python 3.8 and 3.9 (e8ca7c1 by Timothée Mazzucotelli).
1.2.0 - 2024-01-31
- Support safety v3 in safety callable (5f832b1 by Timothée Mazzucotelli).
1.1.0 - 2023-10-25
- Exclude failprint 1.0 from accepted versions (25f088a by Timothée Mazzucotelli).
1.0.0 - 2023-06-27
- Drop support for Python 3.7
- Remove dependencies for Python 3.7 (a1d2629 by Timothée Mazzucotelli).
- Cast parameters using default values' type when there's no annotation (c93db55 by Timothée Mazzucotelli). Issue #10
- Fix parameter casting for stringified annotations (56090e5 by Timothée Mazzucotelli).
- Remove Python 3.7 related code (b412f29 by Timothée Mazzucotelli).
- Add duties module to
sys.modules
after loading it (5730f5f by Timothée Mazzucotelli).
0.11.1 - 2023-05-23
0.11.0 - 2023-04-13
- Add callable for
ssort
(11b54da by Timothée Mazzucotelli).
0.10.0 - 2023-04-10
- Support updated lazy decorator from
failprint
(a0446ac by Timothée Mazzucotelli).
0.9.0 - 2023-03-07
0.8.0 - 2023-02-18
- Make all callables lazy, allowing to call them directly (a499e4b by Timothée Mazzucotelli).
- Provide callables for popular tools (0e065e2 by Timothée Mazzucotelli). Issue #7
- Add option to skip duties based on condition (629b988 by Timothée Mazzucotelli). Issue #6
0.7.0 - 2021-08-01
- Make
ctx.run
return the command output (1810623 by Timothée Mazzucotelli). Issue #4 - Add
allow_overrides
andworkdir
options (ddbf7a2 by Timothée Mazzucotelli). Issue #1 - Allow passing standard input to a command (thanks to failprint 0.8). Issue #3
- Make duties unwrappable (c96325a by Timothée Mazzucotelli).
0.6.0 - 2021-02-06
This release greatly improves usability on the command line!
You will now be able to override silent
, capture
and other options
with arguments like --silent
, --no-silent
, --capture=both
, etc.
See Usage in the docs for details!
- Implement type casting based on annotations (52ea614 by Timothée Mazzucotelli).
- Improve CLI usage (93e10cd by Timothée Mazzucotelli).
0.5.0 - 2020-10-11
- Use
failprint
version 0.6.0 (changelog).
0.4.1 - 2020-10-05
- Fix
-d
option parsing (a004c7f by Timothée Mazzucotelli).
- Accept args and kwargs in decorator (567334f by Timothée Mazzucotelli).
0.4.0 - 2020-10-05
- Add list options and aliases (c238110 by Timothée Mazzucotelli).
0.3.1 - 2020-10-04
- Add missing
failprint
dependency (5b1663c by Timothée Mazzucotelli).
0.3.0 - 2020-10-04
- Add missing
__call__
method toDuty
(290e283 by Timothée Mazzucotelli).
- Better handle CLI arguments (144b33d by Timothée Mazzucotelli).
- Handle keyboard interruptions (1c5b594 by Timothée Mazzucotelli).
0.2.0 - 2020-10-02
- Initial features (3c395d3 by Timothée Mazzucotelli).
0.1.0 - 2020-10-02
- Initial commit (371ef31 by Timothée Mazzucotelli).