The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Version v1.0.0 - 2025-10-22
Version v0.2.5 - 2024-06-12
iocapturenow accepts anio_contextkeyword argument that is passed to theIOContextthat wrapsstdoutandstderr. (#26)
Version v0.2.4 - 2023-01-17
iocapturenow accepts apassthroughkeyword argument that passes through output tostdoutas well as capturing it. (#19, #20)- The new
capture_bufferkeyword argument allows to replace the internalIOBuffer()used for capturing, enabling arbitrary dynamic processing of the captured output. (#21, #23)
Version v0.2.3 - 2023-05-18
- User code that creates a lot of "method definition overwritten" warnings no longer stalls in
IOCapture.capturedue to a buffer not being emptied. ([JuliaDocs/Documenter.jl#2121][documenter-2121], [#15][github-15])
Version v0.2.2 - 2021-06-13
IOCapture.capturenow correctly handles the random number generator seeds on Julia 1.7. (#11)
Version v0.2.1 - 2021-03-14
- User code that writes a lot into
stdoutorstderrno longer stalls inIOCapture.capturedue to a buffer filling up. (fredrikekre/Literate.jl#138, #9)
Version v0.2.0 - 2020-11-08
-
The
iocapturefunction has been renamed tocaptureand is no longer exported. The recommended way to refer to the function by fully qualifying the name (i.e.IOCapture.capture). (#3, #6)For upgrading: Instances of
iocapture(orIOCapture.iocapture) should be replaced byIOCapture.capture. -
The
throwerrorskeyword argument tocapture(previouslyiocapture) has been renamed torethrowand accepts now exception types as arguments (instead of:interrupt/true/false). (#2, #4, #6)For upgrading:
- Any uses of
throwerrors = ...should be replaced byrethrow = .... throwerrors = :interrupt(orrethrow = :interrupt) should be replaced byrethrow = InterrupException.throwerrors = true(orrethrow = true) should be replaced byrethrow = Any.throwerrors = false(orrethrow = false) should be replaced byrethrow = Union{}.
- Any uses of
Version v0.1.1 - 2020-10-29
iocapturenow accepts thecolorkeyword argument to enable the capturing of ANSI color sequences (on Julia 1.6 and above). (#1)
Version v0.1.0 - 2020-09-20
Initial release exporting the iocapture function.