Releases: ronisbr/PrettyTables.jl
Releases · ronisbr/PrettyTables.jl
v0.6.0
- The format of the horizontal line in the table, which are drawn using the option
hlines
, can now be selected using the keywordhlines_format
. - The alignment of a single cell can now be changed regardless of the column alignment. This can be achieve by the keyword
cell_alignment
. - The line between the header and the data can now be hide using the variable
header_line
of the structurePrettyTableFormat
. (Issue #15) - New predefined highlighters:
hl_cell
,hl_col
,hl_row
, which can be used to apply highlights to single cells or to entire columns or rows, respectively. - The formatter
ft_printf
is now only applied to cells that are of typeNumber
. (Issue #19) - The formatter
ft_printf
can now receive one integer if the user wants to format only a single column. - End of support of Julia 1.1. The supported versions are 1.0 and 1.2.
v0.5.1
v0.5.0
- The macro
@pt
can be used to print tables with global configurations. Those configurations can be set by the macro@ptconf
. - There is now the option
nosubheader
to suppress printing sub-headers. This can be useful when printingDataFrame
orDict
and it is desired to hide the types of the columns. (Issue #14) - PrettyTables.jl is now compatible with Tables.jl 0.2. It means that if an elements that is passed to
pretty_table
is not one of those natively supported, then it will callTables.columns
to automatically convert it. If it fails, than Tables.jl will throw an error instead of PrettyTables.jl. (Issue #13) - If only one highlighter is wanted, then an instance of
Highlighter
can now be directly passed to the keywordhighlighters
, i.e. it does not must be aTuple
anymore.
v0.4.1
- If the user wants to crop the output, then the printing function does not need to process the entire matrix. Thus, now it will only process the columns and rows that will be actually printed, which yielded a huge performance gain when big matrices are printed with crop on.
- Matrices with
nothing
andmissing
are now correctly printed.
v0.4.0
- The text can now be horizontally and / or vertically cropped to fit the available screen size. Notice that, by default, the screen size is obtained and the text is cropped, which is a breaking change compared to the previous version. This behavior can be modified by the keywords
crop
andscreen_size
. Vector
can now be printed natively.- The user can now specify filters for the data using the keywords
filters_col
andfilters_row
, so that only a partial subset of the input is printed. Dict
can now be printed natively. (Issue #6)- The formatting was wrong when printing a table with sub-headers and the row number column. (Issue #9)
- The row number column size is now correctly computed when the header is omitted. (Issue #10)
v0.3.1
v0.3.0
- Every styling option is now handled by Crayons.jl.
- Strings are escaped before printing the header. This avoids problems in formatting if escape sequences are present. (Issue [#4][gh-issue-4])
- The text inside the cells can have multiple lines. The header can be suppressed when printing the table. (Issue [#3][gh-issue-3])
- Many performance improvements.
- The
hlines
keywords can accept ranges. (PR [#5][gh-pr-5]) - The pre-defined formatter
ft_printf
uses the functionsprintf1
from the package Formatting.jl instead of the macro@sprintf
, leading to a huge performance gain. (Issue [#7][gh-issue-7])
v0.2.1
v0.2.0
- The header is not assumed to be on the data anymore. It is now specified by a new parameter called
header
. - Only
Matrix{Any}
was allowed to be printed. - Support for highlighters.
- Some pre-defined highlighters were added.
- Some pre-defined formatters were added.
- Initial support for Tables.jl API.
- New package documentation using Documenter.jl.
- Support for sub-headers.
- There is now an option called
hlines
to draw horizontal lines between selected rows. - New pre-defined formats:
unicode_rounded
andborderless
.
v0.1.0 - Initial version
Version 0.1.0
- Initial version.