Version 2.4.0
Added
- The ITable widget, and the ITable components for Dash and Streamlit have the same features as the
showfunction. They can show non-finite floats, bigints, Pandas Style objects and use custom JavaScript formatters (#374) - We have added type hints for the
showfunction and for the various app components. A SyntaxWarning is issued if either the argument name or type does not match whenwarn_on_undocumented_option=True(the default whentypeguard>=4.4.1is installed) - We have added more application examples, and documented how to use ITables in Marimo (#348)
Changed
- By default, the HTML content in Pandas and Polars dataframes is now escaped. Use
allow_html=Trueto display HTML content (use this option only if you trust the content of the table!) (#346) - Consistently with Pandas Style, the HTML content in Styler objects is not escaped - make sure you trust the content of the corresponding tables.
- We have updated DataTables to its latest release 2.3.0
- ITable now requires Python 3.9, due to the addition of type hints
- The
domargument (deprecated in v2.0) has been removed.
Fixed
- We have added a new option
text_in_header_can_be_selected(defaults toTrue). With that option the text in headers can be selected, giving you the option to select and copy the column names back to your Python code. - We have fixed the rendering of Polars Struct columns (#290)