Releases: mwouts/itables
Releases · mwouts/itables
Version 2.5.2
Version 2.5.2
Fixed
platformdirsis an optional dependency of ITables (#437)
Version 2.5.1
Changed
tomliis an optional dependency of ITables (#436)
Version 2.5.0
Fixed
- The offline mode now allows the init cell to be rendered after the table cells. It should work more reliably in VS Code (#424)
Added
- We have added the
columnControlextension that was recently added to DataTables (blog post) (#403) - The default options can be set through an
itables.tomlconfiguration file, either in the current or in a parent folder (#429)
Changed
- We have changed the default value of the
htmlargument initables.sample_dfs.get_countries. It now defaults toFalse, in which case the example dataframes contains no HTML code.
Version 2.4.5
Version 2.4.4
Fixed
- We have fixed an assertion when a
table_idis passed toDT(#417)
Version 2.4.3
Fixed
- We have fixed an issue with an index not shown when
polarsis not installed (#415)
Version 2.4.2
Added
- We have added a
Framework :: Dashclassifier to highlight the fact that ITables has a component for Dash - We have added more type annotations (#390)
Fixed
Version 2.4.1
Added
Changed
- The
warn_on_undocumented_optionoption now defaults toTrueand only check the option names - We have added a new option
warn_on_unexpected_option_typethat defaults towarn_on_undocumented_optionwhentypeguard>=4.4.1is installed (Falseotherwise) - Wrapping JS function definitions in parentheses prior to JS eval is now done on the JS side.
Fixed
- We have added type hints to
itable.optionseven for the options that don't have a default value (#224) - The optional final semicolon in
styleargument is now supported again (#386) - The index of Pandas Style object is now rendered when non-trivial (#393)
- We have made the CSS files compatible with the shadow dom used by Marimo (#383)
- A workaround for the incorrect widget weight in Shiny is to use
fillable=Falsein theoutput_widget(#360) - We have fixed a Javascript error in the Jupyter widget ('t.state_change is undefined') (#407)
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)