Skip to content

Releases: craigfe/progress

0.4.0

20 May 09:08
Compare
Choose a tag to compare

CHANGES:

  • Revert the terminal API and keep an "happy" path to get size of a tty
    and be compatible with MirageOS (@art-w, @msprotz, #42, #43)
  • Use a float instead of a int in flow_meter per-second (@mbarbin, #23, #27)

0.3.0

13 Apr 15:38
Compare
Choose a tag to compare

CHANGES:

  • Be compatible with MirageOS and remove ocaml_terminal_get_sigwinch (@art-w, #38)
  • Clear all lines in interject_with (@Gbury, #30)
  • Add Display.remove_line (@mbarbin, #26)
  • Fix compilation for OCaml 5.2 (reported by @Gbury, fixed by @dinosaure, #40)
  • Add Display.{pause,resume} (@Gbury, #37)

0.2.2

02 Jun 08:56
f4affea
Compare
Choose a tag to compare

CHANGES:

0.2.1

29 Jun 13:39
Compare
Choose a tag to compare

CHANGES:

  • Fix the count segment of Progress.counter (when pp is passed) to show the
    running total rather than the latest reported value. (#19; @craigfe, report
    by @Ngoguey42)
  • Fix Terminal stubs on MacOS. (#13; @craigfe, report by @Ngoguey42)
  • Fix package tests on Windows. Progress does not yet support the Windows and
    Cygwin terminals; this is tracked by #16. (#15; @emillon)

0.2.0

26 Jun 21:25
Compare
Choose a tag to compare

CHANGES:

Major update of the API, including a number of new features:

  • Rename the Segment module to Line, and improve the set of primitives for
    progress bar construction significantly. This includes time-sensitive segments
    (e.g bytes_per_sec, eta) and padding segments (lpad and rpad).
  • Add Progress.interject_with for interleaving logging with rendering, and
    functions for using Progress with Logs reporters.
  • 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 Terminal package.

Also contains a number of smaller fixes:

  • Fix the display of minutes and seconds of Progress.Units.seconds and
    Progress_unix.counter. (#6, @Ngoguey42)
  • Raise an exception when attempting to run separate render processes
    simultaneously. (#8, @craigfe)

0.1.1

13 Oct 09:34
Compare
Choose a tag to compare

CHANGES:

  • Rename Progress.with_display to Progress.with_reporters. (#3, @craigfe)

  • Change the default display mode of progress bars to ASCII rather than
    UTF8. (#2, @craigfe)

  • Change Segment.box_dynamic to 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)

0.1.0

12 Oct 11:28
Compare
Choose a tag to compare

CHANGES:

Initial release.