Skip to content

Releases: thombashi/pytablewriter

v0.59.0

04 May 09:14
v0.59.0
Compare
Choose a tag to compare
  • Add support for Python 3.10
  • Drop support for Python 3.5
  • Markdown alignment cells respect margin #36 (Thanks to @shawalli)
  • Add validation to margin setter
  • Make it possible to set more writer settings via writer class constructors
  • Forced to set margin to zero for CSV/sourcecode writer classes
  • Fix _repr_html_ method to properly apply writer settings
  • Fix to margin value setting changes are properly applied after written a table
  • Modify type annotations
  • Update requirements

v0.58.0

30 Aug 14:28
v0.58.0
Compare
Choose a tag to compare
  • Add PandasDataFramePickleWriter class
  • Add support for keyword arguments initialization to TableWriterFactory instantiation
  • Fix initialization by keyword arguments of writer class constructor
  • Remove deprecated properties

v0.57.0

22 Aug 15:47
v0.57.0
Compare
Choose a tag to compare
  • Add table_format property to writer classes
  • Add clear_theme method to writer classes
  • Add TableFormat.from_file_extension class method
  • Make it possible to initialize writer instance with constructor
  • Fix plugin discovery to avoid errors when some of the functions not implemented
  • Fix the case that style filters are not properly applied

v0.56.1

16 Aug 11:29
v0.56.1
Compare
Choose a tag to compare
  • Add theme extras

v0.56.0

16 Aug 09:23
v0.56.0
Compare
Choose a tag to compare
  • Add set_theme/list_themes functions to writer classes
  • Add es extras
  • Implement __repr__ method for text writer classes
  • Modify pytest stream detection
  • Modify not to raise an error when input data is empty
  • Fix to properly propagate max_workers value to a dependency package
  • Update requirements

v0.55.0

26 Jul 13:17
v0.55.0
Compare
Choose a tag to compare
  • Add enable_ansi_escape attribute to writer classes: #30 (Thanks to @calebstewart)
  • Add update method to Style class
  • Modify to disable ANSI escapes during dump method execution
  • Modify type annotations for dump method
  • Fix to propagate enable_ansi_escape/colorize_terminal at _repr_html_ method
  • Fix colorize_terminal to clear preprocess data when the value changed
  • Update requirements

v0.54.0

16 May 15:09
v0.54.0
Compare
Choose a tag to compare
  • Add kwargs to dump method of writer classes
  • Add indent keyword argument support for write_table/dump/dumps methods
  • Add sort_keys keyword argument support for write_table/dump/dumps method of JSON writer classes
  • Changes to accept list of dict as value_matrix for JSON table writer classes
  • Change the default indent level of JsonTableWriter class
  • Fix output of JsonLinesTableWriter for None values
  • Modify output format of JsonTableWriter.write_table method
  • Remove EmptyHeaderError
  • Update requirements

v0.53.0

10 May 15:21
v0.53.0
Compare
Choose a tag to compare
  • Add GitHub Flavored Markdown support
  • Add DecorationLine support as a style
  • Add is_header_row method to Cell class
  • Modify type annotations

v0.52.0

05 May 16:05
v0.52.0
Compare
Choose a tag to compare
  • Add YamlTableWriter writer class
  • Add Cell class
  • Add style_filter_kwargs attribute to writer classes
  • Add pytablewriter.typehint module
  • Add color support with style
  • Make it possible to apply style filter to column separators
  • Make it possible to apply part of the style filter to headers
  • Make it configurable header row crosspoint characters for text format writer classes
  • Make "sort_keys" not True by default #15 (Thanks to @Zackhardtoname)
  • Change to convert None values for Style class constructor arguments to default values.
  • Improve an error message: #26 (Thanks to @hugovk)
  • Change signatures of StyleFilterFunc
  • Change max_workers attribute default value to 1
  • Allow non ascii characters for JSON formats
  • Fix changing chars for text format tables not properly applied due to initialization order
  • Fix TomlTableWriter not properly rendered when including Decimal values
  • Fix from_tabledata method not properly propagate table_name when the value is None
  • Fix __repr__ method of Style class
  • Fix style filter to properly apply align
  • Update requirements
  • Minor bug fixes

v0.51.0

12 Apr 16:03
v0.51.0
Compare
Choose a tag to compare
  • Add BoldUnicodeTableWriter class
  • Add BorderlessTableWriter class
  • Add underscore support for thousand separators
  • Add TableFormat.from_name class method
  • Add from_writer method to writers
  • Add vertical align to style (only for HtmlTableWriter): #13 (Thanks to @jimkohl)
  • Add write_css argument add an interface to write CSS with HtmlTableWriter: #16 (Thanks to @domino-blake)
  • Add AbstractTableWriter class to public paths
  • Add margin property to AbstractTableWriter class to avoid lint errors
  • Make it possible to apply styles to headers
  • Fix to properly apply align for HtmlTableWriter
  • Make style filter applicable to HtmlTableWriter
  • Add CssTableWriter class
  • Fix to include py.typed to the package
  • Modify type annotations
  • Increase priority of the xlsx format within TableFormat
  • Change the default table_name value to an empty string
  • Update requirements
  • Minor bug fixes