Skip to content

Releases: jedib0t/go-pretty

v6.2.1

23 Apr 06:20
6d0f408
Compare
Choose a tag to compare

Bug-Fixes

  • progress
    • remove unsafe read/write of Tracker.Message (#165)

v6.2.0

22 Apr 15:54
Compare
Choose a tag to compare

Bug-Fixes

  • progress (lot of fixes from @virtuald again -- thanks!)
    • don't use mutex twice in ETA function (#158)
    • add incremental failure mode (#160)
    • Tracker.UpdateMessage() to safely update the tracker Message mid-way (#162)

Misc

  • default branch is now main instead of master

v6.1.1

07 Apr 04:44
4ce9954
Compare
Choose a tag to compare

Bug-Fixes

  • progress (lot of fixes from @virtuald)
    • simplify indeterminate indicator code (#148)
    • don't leak time.Tick channel (#152)
    • way to tell that a tracker/operation failed (#153)
    • fix incorrect mutex usages (#154)

Misc

  • documentation fixes

v6.1.0

30 Jan 04:43
606435c
Compare
Choose a tag to compare

Features

  • progress
    • Style.Chars.Indeterminate: mechanism to show progress where the end is unknown
    • Quite a few built-in styles for this, including a semi-decent Pac-Man version ;)

Bug-Fixes

  • progress
    • plug possible race conditions due to bad mutex usage

v6.0.6

20 Jan 18:28
a74acfa
Compare
Choose a tag to compare

Features

  • progress
    • ShowETA(): show ETA for individual trackers

v6.0.5

01 Oct 21:08
9875be5
Compare
Choose a tag to compare

Bug-Fixes

v6.0.4

11 Jun 05:05
88e6896
Compare
Choose a tag to compare

Features

  • table
    • SuppressEmptyColumns(): hide all columns that have no content in any of the rows

v6.0.3

27 May 20:10
fccf2a0
Compare
Choose a tag to compare

Fixes

  • text:
    • remove dependency on go-openapi/strfmt which indirectly added a lot of unnecessary transitive dependencies

Thanks @titanous!

v6.0.2

17 May 17:28
3a6002f
Compare
Choose a tag to compare

Features

  • table
    • provide options in Style.HTML to control HTML rendering:
      • CSSClass to set the CSS class-name for the table (default: go-pretty-table)
      • EmptyColumn to control what to print for an empty column (default:  )
      • EscapeText to control whether to invoke html.Escape on all columns (default: true)
      • Newline: to control whether \n should be replaced, and with what (default: <br/>)

Deprecations

table

Old Functionality Replacement
SetHTMLCSSClass Style().HTML.CSSClass

v6.0.1

16 May 20:17
3554271
Compare
Choose a tag to compare

Bug-Fixes

  • table
    • Footer rows should not have a auto-generated index with SetAutoIndex