Releases: thombashi/pytablewriter
Releases · thombashi/pytablewriter
v0.59.0
- 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
v0.57.0
- 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
v0.56.0
- 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
- 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
- Add
kwargs
todump
method of writer classes - Add
indent
keyword argument support forwrite_table
/dump
/dumps
methods - Add
sort_keys
keyword argument support forwrite_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
forNone
values - Modify output format of
JsonTableWriter.write_table
method - Remove
EmptyHeaderError
- Update requirements
v0.53.0
v0.52.0
- 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 includingDecimal
values - Fix
from_tabledata
method not properly propagatetable_name
when the value is None - Fix
__repr__
method ofStyle
class - Fix style filter to properly apply align
- Update requirements
- Minor bug fixes
v0.51.0
- 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 withHtmlTableWriter
: #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 withinTableFormat
- Change the default
table_name
value to an empty string - Update requirements
- Minor bug fixes