Releases: jedib0t/go-pretty
Releases · jedib0t/go-pretty
v6.1.1
v6.1.0
v6.0.6
v6.0.5
Bug-Fixes
- table
- Title row length should match rest of the table when shorter (thanks @FoamCactus)
- Adjust auto-index column IDs for for golang/go#32479 (thanks @eclipseo)
v6.0.4
v6.0.3
v6.0.2
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 invokehtml.Escape
on all columns (default:true
)Newline
: to control whether\n
should be replaced, and with what (default:<br/>
)
- provide options in Style.HTML to control HTML rendering:
Deprecations
table
Old Functionality | Replacement |
---|---|
SetHTMLCSSClass |
Style().HTML.CSSClass |
v6.0.1
v6.0.0
Make go-pretty
compatible with go mod
.
You should now be able to run: go get -u github.com/jedib0t/go-pretty/[email protected]
.
v5.1.0
Features
- table
- support auto-merge of cells in a row with
RowConfig.AutoMerge
(2nd part of fix for #93)
- support auto-merge of cells in a row with
Bug-Fixes
- table
- text.Format* can now deal with escape sequences; (fix for #112)
Note
This will be the last dep
compatible release thanks to go mod
enforcing major versions above v1 to be part of the import path.