Releases: craigfe/progress
0.5.0
CHANGES:
-
Update to
ocamlformat.0.27.0(@dinosaure, #49) -
Remove the
Vectormodule and use theDynarraymodule when it's availablebreaking change:
progressprovides a new sub-libraryprogress.vector
which, depending on the OCaml version, corresponds to thevectoropam
package for OCaml < 5.2.0 orStdlib.Dynarrayfor OCaml >= 5.2.0. It unlocks
the ability to linkprogresswith some projects which define their own
Vectormodule.
0.4.0
0.3.0
0.2.2
0.2.1
CHANGES:
- Fix the count segment of
Progress.counter(whenppis passed) to show the
running total rather than the latest reported value. (#19; @craigfe, report
by @Ngoguey42) - Fix
Terminalstubs on MacOS. (#13; @craigfe, report by @Ngoguey42) - Fix package tests on Windows.
Progressdoes not yet support the Windows and
Cygwin terminals; this is tracked by #16. (#15; @emillon)
0.2.0
CHANGES:
Major update of the API, including a number of new features:
- Rename the
Segmentmodule toLine, and improve the set of primitives for
progress bar construction significantly. This includes time-sensitive segments
(e.gbytes_per_sec,eta) and padding segments (lpadandrpad). - Add
Progress.interject_withfor interleaving logging with rendering, and
functions for usingProgresswithLogsreporters. - Add support for adding lines to an ongoing rendering process via
Display. - Improve the behaviour of the rendering core: handle terminal width changes /
respond to user input etc. more cleanly. - Add many more examples and general improvements to the documentation.
- Extract terminal-specific utilities to a new
Terminalpackage.
Also contains a number of smaller fixes:
- Fix the display of minutes and seconds of
Progress.Units.secondsand
Progress_unix.counter. (#6, @Ngoguey42) - Raise an exception when attempting to run separate render processes
simultaneously. (#8, @craigfe)
0.1.1
CHANGES:
-
Rename
Progress.with_displaytoProgress.with_reporters. (#3, @craigfe) -
Change the default display mode of progress bars to
ASCIIrather than
UTF8. (#2, @craigfe) -
Change
Segment.box_dynamicto take a function rather than a reference. (#1,
@craigfe) -
Fix a bug causing multi-line layouts to occasionally not adapt to terminal
size changes. (#1, @craigfe)