Skip to content

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.2 - 2023-09-18¤

Compare with 1.0.1

Bug Fixes¤

  • Escape contents in command and output, to prevent interpretation by ansimarkup (0dbcb51 by Timothée Mazzucotelli).

1.0.1 - 2023-07-29¤

Compare with 1.0.0

Bug Fixes¤

  • Don't hang on large output (60b220f by Timothée Mazzucotelli).

1.0.0 - 2023-07-27¤

Compare with 0.11.1

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¤

Code Refactoring¤

  • Reduce PTY delays to speed up code and tests suite (de543c8 by Timothée Mazzucotelli).

0.11.1 - 2023-04-10¤

Compare with 0.11.0

Build¤

  • Add missing typing-extensions dependency for Python less than 3.10 (3d121fc by Timothée Mazzucotelli).

0.11.0 - 2023-04-10¤

Compare with 0.10.0

Features¤

  • Accept name in lazy decorator (a0b9381 by Timothée Mazzucotelli).

0.10.0 - 2023-02-18¤

Compare with 0.9.0

Features¤

  • Provide a lazy decorator, allow running lazy callables (fa066b5 by Timothée Mazzucotelli).

0.9.0 - 2023-02-10¤

Compare with 0.8.0

Features¤

  • Support callables that raise SystemExit (867aa59 by Timothée Mazzucotelli). Issue #14
  • Support tools that write to sys.stdout.buffer or sys.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¤

Compare with 0.7.0

Features¤

Bug Fixes¤

  • Initialize colorama support for Windows (deb0c78 by Timothée Mazzucotelli). PR #12

0.7.0 - 2021-06-20¤

Compare with 0.6.2

Features¤

  • Return output as well as exit code from the main runner (34e8ac1 by Timothée Mazzucotelli).

0.6.2 - 2021-01-20¤

Compare with 0.6.1

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¤

Compare with 0.6.0

Code¤

  • Separate method to add parser flags (9f2a58f by Timothée Mazzucotelli).

0.6.0 - 2020-10-11¤

Compare with 0.5.1

Features¤

  • Refactor, add tests and fix bugs (523e97b by Timothée Mazzucotelli).
    • Restructure modules: create capture and process
    • Rename argument output_type to capture
    • Rename Output enum to Capture
    • Rename combine enum value to both
    • Rename nocombine enum value to none
    • Accept True and False as capture values
    • Use more defaults in functions arguments
    • Fix decoding error on Windows

0.5.1 - 2020-10-04¤

Compare with 0.5.0

Bug Fixes¤

  • Fix progress parser argument (d5fe999 by Timothée Mazzucotelli).

0.5.0 - 2020-10-04¤

Compare with 0.4.1

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¤

Compare with 0.4.0

Bug Fixes¤

  • Don't crash on Windows (aaa2673 by Timothée Mazzucotelli).

0.4.0 - 2020-09-25¤

Compare with 0.3.0

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¤

Compare with 0.2.0

Features¤

  • Implement progress display for pretty format (7c244e2 by Timothée Mazzucotelli).

0.2.0 - 2020-04-28¤

Compare with 0.1.1

Features¤

  • Add --no-pty option (5ba21e8 by Timothée Mazzucotelli).

0.1.1 - 2020-04-23¤

Compare with 0.1.0

Bug Fixes¤

  • Fix default output type (f720cf7 by Timothée Mazzucotelli).
  • Fix environment variable name (526f4df by Timothée Mazzucotelli).

0.1.0 - 2020-04-23¤

Compare with first commit

Features¤

  • Support colors for combine format (3756dbd by Timothée Mazzucotelli).
  • Initial commit (182af93 by Timothée Mazzucotelli).