Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Sep 22:50
· 123 commits to master since this release

PrettyTables v2.0.0

Diff since v1.3.1

  • The default option of standalone in HTML backend is new false instead of true.
  • The filters were removed to improve the code maintainability. Table filtering must be done now before calling pretty_table.
  • The cells with undefined reference is now handled differently to avoid confusion with cells that contains undef. (Issue [#170][gh-issue-170])
  • The support of Julia 1.0 was dropped.
  • The following options and structures were renamed (the old versions are now deprecated):
  • HTMLDecoration => HtmlDecoration
  • HTMLHighlighter => HtmlHighlighter
  • HTMLTableFormat => HtmlTableFormat
  • URLTextCell => UrlTextCell
  • crop_num_lines_at_beginning => reserved_display_lines
  • noheader => show_header
  • nosubheader => show_subheader
  • row_name* => row_label*
  • rownum_header_crayon => row_number_header_crayon
  • Many bugs in LaTeX escaping were fixed. - ![Feature][badge-feature] Two new options were added to limit the number of rows and columns that will be printed in all backends: max_num_of_columns and max_num_of_rows.
  • The HTML backend now shows the omitted cell summary.
  • The HTML backend now have vertical cropping.
  • The HTML backend now have a top bar where the user can print information.
  • The HTML highlight now has an option to change the font style.
  • The type HtmlCell can now be used to add raw HTML code to a table cell. (Issue [#166][gh-issue-166])
  • The row number and label can now be decorated in HTML.
  • The option maximum_columns_width can be used in HTML to limit the maximum width of the cells.
  • The option title can now be customized for the header cells in HTML (header_cell_titles).
  • Many internal changes allowed to drastically increase the performance. The input tables are now wrapped in a new structure that is responsible to merge the data to be printed (header, additional columns, etc.).
  • The algorithm to obtain the cells from tables with row access (Tables.jl) were improved. (Issue [#174][gh-issue-174])
  • OffsetArrays.jl is now supported. (Issue [#110][gh-issue-110])

Closed issues:

  • pretty_table should require_one_based_indexing (#110)
  • tf_dataframe is missing from predefined_formats (#155)
  • Row headers (#158)
  • Keyword arguments: change noheader=true -> header=false ? (#160)
  • Wrong computation of EOL when using CustomTextCells (#161)
  • stacked cells (#163)
  • LaTeX Backend: Captions (#164)
  • Percent character in html (#165)
  • Rich HTML output (#166)
  • option to render new lines normally in HTML (#167)
  • Printing of UndefInitializer() (#170)
  • Question: Add comma to numbers (#171)
  • Escape Latex characters (#172)
  • Tables.jl interface and iterators (#174)

Merged pull requests: