Skip to content

Releases: ronisbr/PrettyTables.jl

v1.2.2

04 Oct 14:33
Compare
Choose a tag to compare

PrettyTables v1.2.2

Diff since v1.2.1

v1.2.1

04 Oct 12:55
Compare
Choose a tag to compare

PrettyTables v1.2.1

Diff since v1.2.0

  • The deprecations removed in v1.2.0 were added again so that this new version is not breaking. (Issue #146)

Closed issues:

  • v1.2.0 was a breaking release (#146)

v1.2.0

02 Oct 19:35
Compare
Choose a tag to compare

PrettyTables v1.2.0

Diff since v1.1.0

Closed issues:

  • pretty_tables should return object that is showable as "text/html" (#130)
  • [Feature] Support DimensionalData.jl (#132)
  • A bug related to body_hlines (#133)
  • custom style attributes in HTMLDecoration (#134)
  • Question: html to string vector (#137)
  • Add option to prettily print a wide table with only a few rows (#138)
  • Slow compact printing of large table (#140)
  • Image cells in text backend (#142)

Merged pull requests:

v1.1.0

09 Jun 22:03
Compare
Choose a tag to compare

PrettyTables v1.1.0

Diff since v1.0.1

  • The text backend now supports custom text cells that can have escape characters to apply, for example, decorations. The custom cell URLTextCell is bundled with PrettyTables.jl to add hyperlinks to text using the escape sequence \e]8. (Issue #129)
  • The character % is now escaped in LaTeX. (Issue #125)

Closed issues:

  • roadmap towards 1.0 release (#100)
  • should IOContext affect the table objects? (#124)
  • Escape characters in LaTeX (#125)
  • Question: How to export html prettytable to file? (#127)
  • Pretty print table containing hyperlinks for terminal emulators (#129)

Merged pull requests:

v1.0.1

28 Apr 13:34
Compare
Choose a tag to compare

PrettyTables v1.0.1

Diff since v1.0.0

  • The alignment regex keys are now sorted before processing. This introduces a slight delay, but avoid a huge wait time for very large tables. (Ref: JuliaData/DataFrames.jl#2739)

v1.0.0

21 Apr 00:24
Compare
Choose a tag to compare

PrettyTables v1.0.0

Diff since v0.12.1

In this version, the API of text backend is stabilized. It means that current functionality will always work during the lifespan of v1. There can be new features, but none will be breaking. The only exception is if Julia printing system has a breaking change, which is allowed.

The HTML and LaTeX APIs are not stabilized. They can and will likely change during the lifespan of v1. However, any breaking change will only occur when the minor version is bumped. Those two backend must be considered beta.

  • Any AbstractDict can now be printed.

Closed issues:

  • Array-like output (#18)
  • Getting style and body separately (#30)
  • error at using headers in Julia V1.6 (#117)
  • PrettyTables 0.12.1 is causing Dataframes to go back down to v0.21.8 from v0.22.7 (#119)
  • Support AbstractDict and not just OrderedDict (#120)
  • Julia 1.5 support (#121)

v0.12.1

17 Apr 02:33
Compare
Choose a tag to compare

PrettyTables v0.12.1

Diff since v0.12.0

  • The minimum column width must be 1, otherwisepretty_table will crash when cropping an empty column in text backend. (Issue #118)
  • Some despecializations were performed and type instabilities were fixed, leading to a slightly performance increase.

v0.12.0

12 Apr 19:53
Compare
Choose a tag to compare

PrettyTables v0.12.0

Diff since v0.11.1

  • The backend selection is not handled by a Symbol anymore. It is now selected using a Val. Hence, backend = :text must be replaced by backend = Val(:text). The old API still works but it is marked as deprecated and will be removed in the next version. This drastically reduced the time to print the first table in LaTeX and HTML backends.
  • The header is not selected by an argument anymore, but by a keyword called header. The format has also changed. It must be now a tuple of vectors instead of a matrix. The first vector is the header whereas the others are the subheaders. The old API still works but it is marked as deprecated and will be removed in the next version.
  • Many internal code enhancements allowed to improve a lot the performance (despecializations, type instabilities fixes, code refactoring to avoid unnecessary allocations, tweaking @inline annotations, etc.). (Issue #116)
  • The package now has a precompilation script that reduced a lot the time to print the first table in all backends.
  • End of support of Julia 1.5. The supported versions are 1.0 and 1.6.

Closed issues:

  • Misaligned table in Literate/documentation (#111)
  • latex backend: wrap_table - unexpected behavior (#113)
  • Keyword crop is not documented (#114)
  • Profile guided despecialization in PrettyTables.jl (#116)

v0.11.1

10 Feb 17:33
Compare
Choose a tag to compare

PrettyTables v0.11.1

Diff since v0.11.0

  • In specific situations, the algorithm that aligns columns based on regexes was trying to align columns that were not printed, leading to segmentation fault. (Issue #112)

Closed issues:

  • Alignment anchor is accessing columns outside the print interval (#112)

v0.11.0

23 Jan 12:46
Compare
Choose a tag to compare

PrettyTables v0.11.0

Diff since v0.10.1

  • By default, all the cells are now rendered using the option :limit => true of IOContext. To return to the old behavior, use limit_printing = false.
  • HTML backend now supports row names.
  • LaTeX backend now supports row names.
  • A new LaTeX pre-defined format was added: tf_latex_modern.
  • A new LaTeX pre-defined format was added: tf_latex_booktabs.
  • The wrap table environment of LaTeX backend can now be changed using the keyword wrap_table_environment.
  • A new table type of LaTeX backend was added: :array.
  • In Text backend, it is now possible to align the column cells using regexes (see alignment_regex_anchor).
  • It is now possible to select the table label in LaTeX backend. (Issue #103)
  • LaTeX tables can now control whether to use the table environment or not.
  • HTML classes in CSS are now surrounded by quotes.
  • An unnecessary space in HTML tags was removed.
  • The color of omitted cell text in Text backend was changed from red to cyan. (Issue [#94])
  • The compat bounds of Reexport.jl was updated. (Issue #105)
  • PrettyTables.jl now support Tables.jl that returns tuples as columns. (Issue #90)
  • The option sortkeys can now be used when printing dictionaries using HTML backend.
  • The first header is now correctly set when using longtable in LaTeX backend, avoiding multiple entries in list of tables. (Issue #95)
  • The formatter ft_latex_sn now only modifies Number.
  • The arguments of @ptconf was not being escaped. (Issue #107)

Closed issues:

  • Add vertical divisions in LaTeX (#35)
  • LaTeX backend does not honor row_names (#69)
  • Change tf_markdown to adhere to Julia Markdown's Syntax of alignment (#82)
  • Use another color than red for "$n rows omitted" (#94)
  • Multi-page longtables generate multiple entries in listoftables. (#95)
  • Formatting fails on Julia 1.6 (#99)
  • Add a \label tag option for LaTeX output (work around provided) (#103)
  • Reexport compat bound issue? (#105)
  • @ptconf cannot use variables outside PrettyTables scope (#107)
  • Booktabs for LaTeX backend (#108)

Merged pull requests: