Changelog¤
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.0.3 - 2024-10-17¤
Build¤
- Drop support for Python 3.8 (a212375 by Timothée Mazzucotelli).
1.0.2 - 2023-09-18¤
Bug Fixes¤
- Escape contents in command and output, to prevent interpretation by ansimarkup (0dbcb51 by Timothée Mazzucotelli).
1.0.1 - 2023-07-29¤
Bug Fixes¤
- Don't hang on large output (60b220f by Timothée Mazzucotelli).
1.0.0 - 2023-07-27¤
Breaking changes¤
failprint.runners.run_function_get_code(stderr)
parameter was removed.failprint.capture.cast_capture
was removed. Use Capture.cast instead.failprint.capture.StdBuffer
was removed. Use CaptureManager instead.failprint.capture.stdbuffer
was removed. Use Capture.here instead.
Features¤
- Capture standard output/error at the file descriptor level (0fbb2d4 by Timothée Mazzucotelli). Issue #17, Issue markdown-exec#21
Code Refactoring¤
- Reduce PTY delays to speed up code and tests suite (de543c8 by Timothée Mazzucotelli).
0.11.1 - 2023-04-10¤
Build¤
- Add missing typing-extensions dependency for Python less than 3.10 (3d121fc by Timothée Mazzucotelli).
0.11.0 - 2023-04-10¤
Features¤
- Accept name in lazy decorator (a0b9381 by Timothée Mazzucotelli).
0.10.0 - 2023-02-18¤
Features¤
- Provide a lazy decorator, allow running lazy callables (fa066b5 by Timothée Mazzucotelli).
0.9.0 - 2023-02-10¤
Features¤
- Support callables that raise
SystemExit
(867aa59 by Timothée Mazzucotelli). Issue #14 - Support tools that write to
sys.stdout.buffer
orsys.stderr.buffer
(1703b86 by Timothée Mazzucotelli). Issue #15 - Add command option to runner (6642698 by Timothée Mazzucotelli). Issue #9
Bug Fixes¤
- Fetch callable names from back frames (7f2a759 by Timothée Mazzucotelli). Issue #16
- Support other
SystemExit
code values (abcaf5e by Timothée Mazzucotelli). - Support
flush
method in buffers (2fe8077 by Timothée Mazzucotelli).
Code Refactoring¤
- Use future annotations (ad23ec3 by Timothée Mazzucotelli).
0.8.0 - 2021-07-31¤
Features¤
Bug Fixes¤
0.7.0 - 2021-06-20¤
Features¤
- Return output as well as exit code from the main runner (34e8ac1 by Timothée Mazzucotelli).
0.6.2 - 2021-01-20¤
Code Refactoring¤
- Use parsed options as dict directly (142e6f0 by Timothée Mazzucotelli).
- Add option in
add_flags
not to set defaults (dd9327e by Timothée Mazzucotelli). - Consistently use
cmd
between options and API (881d99d by Timothée Mazzucotelli). - Consistently use
fmt
between options and API (bda06a2 by Timothée Mazzucotelli).
0.6.1 - 2021-01-17¤
Code¤
- Separate method to add parser flags (9f2a58f by Timothée Mazzucotelli).
0.6.0 - 2020-10-11¤
Features¤
- Refactor, add tests and fix bugs (523e97b by Timothée Mazzucotelli).
- Restructure modules: create
capture
andprocess
- Rename argument
output_type
tocapture
- Rename
Output
enum toCapture
- Rename
combine
enum value toboth
- Rename
nocombine
enum value tonone
- Accept
True
andFalse
ascapture
values - Use more defaults in functions arguments
- Fix decoding error on Windows
- Restructure modules: create
0.5.1 - 2020-10-04¤
Bug Fixes¤
- Fix progress parser argument (d5fe999 by Timothée Mazzucotelli).
0.5.0 - 2020-10-04¤
Bug Fixes¤
- Use which to find exec path on Windows (5327b0c by Timothée Mazzucotelli).
- Fix quoting when running as shell command (0f11995 by Timothée Mazzucotelli).
- Run with
shell=True
on Windows (5e97141 by Timothée Mazzucotelli).
Features¤
- Refactor and add features (22a5e8d by Timothée Mazzucotelli).
- Add ability to run a function or callable
- Add
nocapture
output type - Add silent option to API
- Accept
None
as truthful function result - Add silent CLI flag
- Add no progress CLI flag
0.4.1 - 2020-09-29¤
Bug Fixes¤
- Don't crash on Windows (aaa2673 by Timothée Mazzucotelli).
0.4.0 - 2020-09-25¤
Features¤
- Add quiet option (b676335 by Timothée Mazzucotelli).
- Add option to allow failure (79b3ae7 by Timothée Mazzucotelli).
0.3.0 - 2020-05-01¤
Features¤
- Implement progress display for pretty format (7c244e2 by Timothée Mazzucotelli).
0.2.0 - 2020-04-28¤
Features¤
- Add
--no-pty
option (5ba21e8 by Timothée Mazzucotelli).
0.1.1 - 2020-04-23¤
Bug Fixes¤
- Fix default output type (f720cf7 by Timothée Mazzucotelli).
- Fix environment variable name (526f4df by Timothée Mazzucotelli).