Skip to content

v5.0.0

Compare
Choose a tag to compare
@jedib0t jedib0t released this 08 May 16:48
fe76e12

Features

  • table
    • AppendSeparator to append a separator after the last appended row
    • ColumnConfig.Hidden flag to control the visibility of individual columns
    • ColumnConfig.WidthMaxEnforcer to customize how WidthMax is applied/enforced
    • ResetFooters to reset and remove all appended footers
    • ResetHeaders to reset and remove all appended headers
    • ResetRows to reset and remove all appended rows
    • Deprecated interfaces have been removed; refer to the table below for details
  • General
    • Transition from dep to go mod for dependency management

Deprecations

table

Old Functionality Replacement
SetAlign SetColumnConfig with ColumnConfig.Align
SetAlignFooter SetColumnConfig with ColumnConfig.AlignFooter
SetAlignHeader SetColumnConfig with ColumnConfig.AlignHeader
SetAllowedColumnLengths SetColumnConfig with ColumnConfig.WidthMax
SetColors SetColumnConfig with ColumnConfig.Colors
SetColorsFooter SetColumnConfig with ColumnConfig.ColorsFooter
SetColorsHeader SetColumnConfig with ColumnConfig.ColorsHeader
SetVAlign SetColumnConfig with ColumnConfig.VAlign
SetVAlignFooter SetColumnConfig with ColumnConfig.VAlignFooter
SetVAlignHeader SetColumnConfig with ColumnConfig.VAlignHeader