Releases: jedib0t/go-pretty
v4.0.3
This patch release does a better job at calculating character widths for Unicode characters as they appear on the console and render tables with such characters with a higher precision. It is not going to be 100% right all the time as the typeface plays a huge role in how the character gets rendered, but it will be better than before.
New Dependency: github.com/mattn/go-runewidth
v4.0.2
v4.0.1
v4.0.0
This major release refactors the text package to have much more user-friendly and usable functions. This renames quite a few existing functions and hence the major release.
- refactor text/ functions to make it a lot more useful and usable
- please look at GoDoc for the latest signatures
- table: restore some performance lost due to PR#66
- update README.md for the text changes and update benchmark results
- adds GoDoc examples to most functions
v3.3.2
v3.3.1
v3.3.0
This release includes support in progress
for rendering an "Overall" Tracker to track the progress of the entire operation (not just a single task). It also includes a bunch of bug-fixes:
- progress: support "Overall" tracker to track the entire progress with an approx. ETA
- progress: fix tracker string generation for fractional progress
- text: fix RepeatAndTrim() for strings with Unicode chars; fixes #58
- text: fix WrapText() to work with escape sequences; fixes #59
- text: color: fix race condition while generating escape sequences
v3.2.0
This minor release has code to detect if the console/terminal supports ANSI escape codes/sequences. On Windows, it will try to enable support (Win 10 supports it with a toggle), and if that doesn't work, it falls back to no-color mode. On other systems, the code assumes that ANSI escape codes are supported.
This release also deprecates /util
and moves all the functionality into appropriate places in /table
and /text
.
v3.1.1
This patch release includes a bug-fix to the way the progress tracker bar was being rendered. There were corner cases where the bar would include an additional "dot" going over the expected/set progress bar length. This release includes a fix for such a case.