All Versions
Latest Version
Avg Release Cycle
16 days
Latest Release

Changelog History
Page 2

  • v2.2.0 Changes

    January 14, 2020
    • ๐Ÿ†• New column_formatter option on Tabulo::Table initializer, enabling the table's default column formatter to be customized.
    • New row_divider_frequency option on Tabulo::Table initializer, to add a horizontal dividing line after every N rows.
  • v2.1.1 Changes

    December 31, 2019
    • ๐Ÿ›  Fix issue where blank lines appear in table when certain border types (e.g. :classic) are used with a non-nil border_styler.
    • ๐Ÿ“š Minor documentation fix
  • v2.1.0 Changes

    December 21, 2019
    • New reduced_ascii and reduced_modern border options
    • ๐Ÿ›  Fix column_width option not properly inherited from original table by the new table created by calling #transpose.
  • v2.0.2 Changes

    November 12, 2019
    • ๐Ÿ“š Minor documentation fixes
  • v2.0.1 Changes

    November 04, 2019
    • ๐Ÿ“š Minor documentation fix
  • v2.0.0 Changes

    ๐Ÿ†• New features

    • ๐Ÿ†• New border option for Tabulo::Table initializer allows for better customization of border and divider characters, using a preset list of options, viz.: :ascii, :modern, :markdown, :blank and :classic. In particular, the :modern border option uses smoothly drawn Unicode line characters; and the :markdown option renders a GitHub-flavoured Markdown table.
    • Tabulo::Table#horizontal_rule method accepts :top, :bottom and :middle options to allow the appropriate border characters to be used depending on its intended position in the table.
    • When iterating a Tabulo::Row, it's now possible to get the formatted string value of an individual Tabulo::Cell, not just its underlying "raw" value.
    • ๐Ÿ”ง Column padding can now optionally be configured separately for left and right column sides, by passing a 2-element Array to the column_padding option of the Tabulo::Table initializer.

    ๐Ÿ’ฅ Breaking changes

    • A Tabulo::Row is now a collection of Tabulo::Cell, not a collection of underlying "raw" values. This makes it easier to get at both formatted string values and underlying "raw" values of Cells when traversing a Row. To get at the raw underlying value, call Tabulo::Cell#value.
    • โœ‚ Remove deprecated columns option from Tabulo::Table initializer (existing cols positional parameter now renamed to columns).
    • โœ‚ Remove deprecated shrinkwrap! method (use pack instead).
    • 0๏ธโƒฃ By default, table now has a border line at the bottom. Pass :classic to the border option of the Tabulo::Table initializer to get the old behaviour.
    • Removal of horizontal_rule_character, vertical_rule_character and intersection character options from Tabulo::Table initializer, and from Tabulo::Table#transpose method. Use the border option instead.

    Other noteworthy changes

    • โœ… Test coverage is now at exactly 100%
    • hirb gem now mentioned in README
  • v1.5.1 Changes

    • โฌ†๏ธ Dependency version upgrades
    • ๐Ÿ“š Minor documentation fixes
  • v1.5.0 Changes

    • ๐Ÿ‘Œ Support use of ANSI escape sequences to add colours and other styling to table elements without breaking the formatting.
    • โ™ป๏ธ Major refactor, moving various computations into a new Cell class.
  • v1.4.1 Changes

    • ๐Ÿ“š Minor documentation fix
  • v1.4.0 Changes

    • ๐Ÿ†• New #transpose function to produce a new Table in which the rows and columns are transposed relative to the original one.
    • Properly handle multibyte characters when calculating widths, wrapping etc..