Changelog History
Page 1
-
v3.1.1 Changes
January 30, 2021๐ Bugfix: Fixes a multiline text rendering crash when inputs had differing lengths. Thanks to @chulkilee for the fix.
No breaking changes.
-
v3.1.0 Changes
December 31, 2020๐ Multiline cell support ๐
๐ Thanks to @rubysolo, TableRex's ASCII-style plain text renderer has gained the ability to render multiline strings without any extra effort on behalf of the calling clients, simply insert your line breaks into your strings and the ๐ feature will handle rendering with correct padding, coloring & alignment.
No (known) breaking changes.
-
v3.0.0 Changes
April 19, 2020No external API changes, but we are dropping support for Elixir v1.7 and below along with Erlang OTP v20 and below and as such the major version number is โฌ๏ธ bumping to appreciate that.
-
v2.0.0 Changes
April 29, 2018๐ Version 2 has no external API breaking changes but we are bumping the major version ๐ number as the internal data structure of the %Cell{} struct has changed. See note below.
๐ New features:
sort! Tables can now have a basic sort function which uses Elixir's term ordering to sort your table rows by a specific column in either ascending or descending order. Please see the README for usage; many thanks to everyone at @elixir-poa for this change.
๐ you are now free to add your own ANSI color wrappers to text within an inline cell, the extra characters this adds are ignored as part of width calculations and therefore the structure of the table no longer breaks when you do this. Thanks to @geolessel for this change.
%Cell{} struct change
Previously Cells only stored the string-coerced version of the data you wanted to insert into the table. This was limiting as it meant we could not sort your tables as type information was lost in that process. It also opens up TableRex to many other features now that we keep the original data.
The stringified value of a Cell used to be stored at
value
, it is now stored atrendered_value
- with the original being stored atraw_value
.To migrate:
- If you are creating Cells, instead of passing
value
, passraw_value
. - If you are using Cells, it's likely you'll want to use
Cell.rendered_value
which is now what the removedCell.value
used to be.
-
v1.0.0 Changes
December 10, 2017๐ The API seems stable enough, sans major complaints, and has no major open bugs ๐ so here is our version 1 release!
๐ This release brings only new feature:
- TableRex has gained the ability to stretch the table width to accommodate long titles, thanks to @matt-harvey.
And one breaking change:
- ๐ We are dropping support for Elixir v1.2.x and Erlang 18.x. For the time โ being, we support the latest 3 minor versions of Elixir, and the latest 2 major versions for Erlang.
๐ From now on - as per semver, new breaking changes will increment the major release ๐ number, new non-breaking features will increment the minor release number and ๐ bug fixes will update the patch number.
-
v0.10.0 Changes
January 14, 2017๐ฅ Breaking changes
โฌ๏ธ Dropped support for Elixir v1.1.x. We support the latest 3 minor versions, and โ the latest 2 major versions for Erlang OTP.
Other changes:
๐ Fixed all compiler warnings resulting from Elixir 1.3 and 1.4 releases.
-
v0.9.0 Changes
January 14, 2017๐ Justin G (@theredcoder) has added support for header, column and cell level foreground & background ANSI colouring. Many thanks to Justin.
-
v0.8.3 Changes
August 12, 2016๐ Fixed warnings caused by Elixir 1.3's unsafe variable checker.
-
v0.8.2 Changes
August 12, 2016โก๏ธ Updated some locked development dependencies to reduce warning output during usage.
-
v0.8.1 Changes
June 30, 2016๐ Fixed a compilation bug in the new Elixir 1.3. No other changes.