Terminal Table v3.0.1 Release Notes

Release Date: 2021-05-10 // 6 months ago
    • ๐Ÿ‘Œ Support for unicode-display_width 2.0
    • ๐Ÿ›  Fix issue where last row of an empty table changed format

Previous changes from v3.0.0

    • ๐Ÿ‘Œ Support for (optional) Unicode border styles on tables. In order to support decent looking Unicode borders, different types of intersections get different types of intersection characters. This has the side effect of subtle formatting differences even for the ASCII table border case due to removal of certain intersections near colspans.

    For example, previously the output of a table may be: +------+-----+ | Title | +------+-----+ | Char | Num | +------+-----+ | a | 1 | | b | 2 | | c | 3 | +------+-----+

    ๐Ÿšš And now the + character above the word Title is removed, as it is no longer considered an intersection:

        +------------+
        |   Title    |
        +------+-----+
        | Char | Num |
        +------+-----+
        | a    | 1   |
        | b    | 2   |
        +------+-----+
    
    • 0๏ธโƒฃ The default border remains an ASCII border for backwards compatibility, however multiple border classes are included / documented, and user defined border types can be applied as needed.

    โšก๏ธ In support of this update, the following issues were addressed:

    • colspan creates conflict with colorize (#95)
    • 0๏ธโƒฃ Use nice UTF box-drawing characters by default (#99)
      • Note that AsciiBorder is stll the default
    • ๐Ÿ’… Border-left and border-right style (#100)
    • ๐Ÿ’… Helper function to style as Markdown (#111)
      • Achieved using MarkdownBorder