Skip to content

Version 2.4.0

Choose a tag to compare

@mwouts mwouts released this 17 May 21:57
· 42 commits to main since this release

Added

  • The ITable widget, and the ITable components for Dash and Streamlit have the same features as the show function. They can show non-finite floats, bigints, Pandas Style objects and use custom JavaScript formatters (#374)
  • We have added type hints for the show function and for the various app components. A SyntaxWarning is issued if either the argument name or type does not match when warn_on_undocumented_option=True (the default when typeguard>=4.4.1 is 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=True to 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 dom argument (deprecated in v2.0) has been removed.

Fixed

  • We have added a new option text_in_header_can_be_selected (defaults to True). 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)