Repository navigation
v6.9.1
What's Changed
- text: panic and other fixes by @jedib0t in #458
- text: format times before the epoch in the time transformers
- text: print a single sign for negative numbers in NewNumberTransformer
- text: wrap text that has cursor and erase sequences in it
- text: avoid a panic in AlignJustify with a negative length
- text: keep grapheme clusters whole in the wrap functions
- table: fix borders, alignment and column widths in edge cases by @jedib0t in #459
- table: draw the top border of a table that has only footers
- table: align headers and footers properly in a table without data rows
- table: size columns for the column IDs rendered with the auto-index
- table: size columns for multi-line content after it has been wrapped
Full Changelog: v6.9.0...v6.9.1
2026-11-20 [EDIT] Behavior change: alignment in tables without data rows
- table: headers and footers in a table without data rows are no longer
right-aligned by default. Every column used to be taken as numeric; now a
column is numeric only if its footers hold nothing but numbers. This changes
the default output of such tables:- Markdown: the separator goes from
---:to--- - HTML:
align="right"is dropped from the<th>/<td>tags - Text: headers and footers are left-aligned where the column is wider than
the content - To get the old alignment back, set
HeaderAlign,FooterAlignand
RowAligntotext.AlignRightinStyle().Format - Last release with the old behavior: v6.9.0. Changed in: v6.9.1 (#459).
- Markdown: the separator goes from