Skip to content

Releases: thombashi/pytablewriter

v1.2.0

08 Oct 13:07
v1.2.0
Compare
Choose a tag to compare
  • Add enable_style_filter method and disable_style_filter method to writer classes
  • Add check_style_filter_kwargs method to the Theme class
  • Add pytablewriter-altcol-theme to theme extras
  • Add margin support to the CssTableWriter class
  • Add support for Python 3.12
  • Modify the style filter to be applicable to table headers: #37 (Thanks to @shawalli)
  • Change the add_col_separator_style_filter method that raises NotImplementedError to debug-log output
  • Improve discovery of pytablewriter plugins
  • Bump minimum required version of typepy to 1.3.2
  • Fix margin, stream, and style_filter_kwargs to be propagated correctly in from_writer method
    • Fix the output of HtmlTableWriter.write_table method when the method called with write_css=True
  • Fix an issue where the CSS output would be incorrect if the HtmlTableWriter.write_table method was called with write_css=True when table_name was not specified
  • Fix style applying for headers of CssTableWriter writer class
  • Fix type annotations

Full Changelog: v1.1.0...v1.2.0

v1.1.0

24 Sep 09:39
v1.1.0
Compare
Choose a tag to compare
  • Add color support for GFM to MarkdownTableWriter class
  • Add FontStyle.TYPEWRITER
  • Add styles supported by Latex writers
    • Style.fg_color
    • Style.decoration_line: DecorationLine.STRIKE, DecorationLine.LINE_THROUGH
    • Style.decoration_line: DecorationLine.UNDERLINE
  • Add warnings for when invalid style attributes are passed to the Style class
  • Modify the output format of Latex table writers
  • Improve type annotations
  • Fix Excel worksheet name generation
  • Bump minimum required version of DataProperty to 1.0.1

Full Changelog: v1.0.0...v1.1.0

v1.0.0

25 Jun 09:58
Compare
Choose a tag to compare
  • Add support for Python 3.11
  • Drop support for Python 3.6
  • Fix a regular expression range of LatexWriter: #57
  • Add support for Elasticsearch 8
  • Drop support for Elasticsearch 7
  • Reduce import time for non-pandas use
  • Update pathvalidate dependency to allow v3
  • Bump minimum version requirement of SimpleSQLite
  • Improve type annotations
  • Add zip_safe=False
  • Change the Cell class to an immutable data class
  • Update docs
  • Replace deprecated setup.py calls
  • Add pandas extras
  • Add __all__ to __init__.py
  • Remove deprecated functions and properties
    • dump_tabledata
    • set_log_level
    • AbstractTableWriter.header_list
    • AbstractTableWriter.type_hint_list
    • AbstractTableWriter.styles
    • AbstractTableWriter.style_list
    • AbstractTableWriter.value_preprocessor.setter

Full Changelog: v0.64.2...v1.0.0

v0.64.2

21 Mar 07:54
v0.64.2
Compare
Choose a tag to compare
  • Fix to thousand_separator of default_style not properly applied: #55 (Thanks to @riklopfer)
  • Add support for PyYAML v7
  • Avoid installation error with setuptools>=58
  • Modify type annotations:
    • default_style property
    • StyleFilterFunc.__call__ method
    • ColSeparatorStyleFilterFunc.__call__ method

Full Changelog: v0.64.1...v0.64.2

v0.64.1

17 Oct 06:10
v0.64.1
Compare
Choose a tag to compare
  • Fix write failed when the inputs include dict values: #52 (Thanks to @rutsam)
  • Improve write performance

Full Changelog: v0.64.0...v0.64.1

v0.64.0

02 Oct 15:41
v0.64.0
Compare
Choose a tag to compare
  • Modify to accept deuote keyword argument at writer class constructors: #51 (Thanks to @andormarkus)
  • Make it possible to specify type hints by strings

v0.63.0

20 Sep 16:00
v0.63.0
Compare
Choose a tag to compare
  • Add max_precision argument to writer class constructors: #44
  • Improve output precision of real numbers: #44
  • Remove trailing whitespace when table does not have a name #46 (Thanks to @movermeyer)
  • Fix AsciiDoc table header output: #47 (Thanks to @jvdvegt)
  • Fix to dequote in cells properly: #49 (Thanks to @hugovk)
  • Modify to accept type hints by strings as well
  • Add CodeQL analysis
  • Add type annotations
  • Allow XlsxWriter v3
  • Add setup-ci target to Makefile

v0.62.0

18 Jul 02:13
v0.62.0
Compare
Choose a tag to compare
  • Add support for CommonMark as a flavor for MarkdownTableWriter class
  • Add support for kramdown/Jeklly as a flavor for MarkdownTableWriter class
  • Add support styles(fg_color, bg_color, font_weight, font_style) for AsciiDocTableWriter class
  • Add table_style for MediaWikiTableWriter: #43
  • Add overwrite_type_hints argument to from_dataframe method
  • Add types to pytablewirter.typehint
  • Add support for string with thousand separators as integer: #44
  • Add support for string with thousand separators as integer
  • Made it possible to set flavor as a keyword argument of MarkdownTableWriter constructor
  • Fix to flavor keyword argument properly applied when executing write_table method at the second time
  • Change to just output warning instead of raising exception when set_theme method failed
  • Improve error messages when a theme not found
  • Improve output precision of numbers: #44
    • This may increase output decimal places of real numbers compared to the previous versions
  • Remove an unused class

v0.61.0

16 Jun 13:23
v0.61.0
Compare
Choose a tag to compare
  • Add an alias for Style.color as Style.fg_color
  • Make it possible to set theme via writer class constructors
  • Make it possible to initialize writer from dataframe via writer class constructors
  • Fix comparison of Style.__eq__ method
  • Fix CSS output of HtmlTableWriter.write_table method when write_css=True
  • Vendoring msgfy package

v0.60.0

12 May 16:57
v0.60.0
Compare
Choose a tag to compare
  • Add support for AsciiDoc format
  • Add format name ssv for SpaceAlignedTableWriter class
  • Make it possible to set write_callback via writer class constructors
  • Fix format attributes of UNICODE/BOLD_UNICODE enums
  • Remove es5/es6 from extras_require