Skip to content

Releases: Nukesor/comfy-table

v2.1.0

26 Jan 22:01
Compare
Choose a tag to compare

[2.1.0] - 2021-01-26

Added

  • DynamicFullWidth arrangement.
    This mode is basically the same as the Dynamic arrangement mode, but it will always use the full available width, even if there isn't enough content to fill the space.

v2.0.0

26 Jan 22:01
Compare
Choose a tag to compare

[2.0.0] - 2021-01-16

Added

Dynamic arrangement

A new logic to optimize space usage after splitting content has been added.
If there is a lot of unused space after the content has been arranged, this space will now be redistributed ot the remaining columns.
Or it will be removed if there are no other columns.

This is considered a breaking change, since this can result in different table layouts!!

This process is far from perfect, but the behavior is better than before.

Old behavior:

+-----------------------------------+-----------------------------------+------+
| Header1                           | Header2                           | Head |
+==============================================================================+
| This is a very long line with a   | This is text with a               | smol |
| lot of text                       | anotherverylongtexttesttest       |      |
+-----------------------------------+-----------------------------------+------+

New behavior:

+-----------------------------------------+-----------------------------+------+
| Header1                                 | Header2                     | Head |
+==============================================================================+
| This is a very long line with a lot of  | This is text with a         | smol |
| text                                    | anotherverylongtexttesttest |      |
+-----------------------------------------+-----------------------------+------+

Old behavior:

+------------------------------------------------+
| Header1                                        |
+================================================+
| This is text with a                            |
| anotherverylongtexttesttestaa                  |
+------------------------------------------------+

New behavior:

+-------------------------------+
| Header1                       |
+===============================+
| This is text with a           |
| anotherverylongtexttesttestaa |
+-------------------------------+

v1.6.0

26 Jan 22:00
Compare
Choose a tag to compare

[1.6.0] - 2021-01-16

Added

  • Add the NOTHING preset, which prints no borders or lines at all.

v1.5.0

29 Dec 02:57
Compare
Choose a tag to compare

[1.5.0] - 2020-12-29

Added

  • Add table::trim_fmt, which trims all trailing whitespaces on tables with no right border.

v1.4.0

06 Dec 01:10
Compare
Choose a tag to compare

[1.4.0] - 2020-12-06

Added

  • Allow to set custom delimiters on tables, columns and cells.

Changed

  • Expose all important traits. I.e. ToRow, ToCell and ToCells.

v1.3.0

08 Nov 18:17
Compare
Choose a tag to compare

[1.3.0] - 2020-11-20

Added

  • New ColumConstraint for hiding columns

v1.2.0

03 Nov 03:09
Compare
Choose a tag to compare

[1.2.0] - 2020-10-27

Added

  • Add the option to set a max-height on rows. Long content will be truncated.

v1.1.1

02 Oct 10:46
Compare
Choose a tag to compare

[1.1.1] - 2020-08-23

Changed

  • A simple update of all dependencies.

v1.1.0

02 Oct 10:44
Compare
Choose a tag to compare

[1.1.0] - 2020-08-23

Changed

  • Move is_tty logic from atty to crossterm.
  • Remove skeptic, since it fails in CI and bloats compile time. Compile time is reduced by ca. 40%.

v1.0.0

11 Jul 15:05
Compare
Choose a tag to compare

[1.0.0] - 2020-07-07

Changed

  • The project has been in use for quite some time and seems to be quite stable!
  • Use cargo's example functionality for examples.