Releases: mwouts/itables
Releases · mwouts/itables
Version 1.5.2
Fixed
- Integers that are too big for Javascript are converted to str (#152)
- If a downsampling occurs, the downsampling message is displayed even if the table only has a few rows
Added
- We have added a CI configuration where we test
itables
againstpandas
in pre-release versions
Version 1.5.1
Fixed
- Empty Polars DataFrame are now rendered correctly (#167)
Version 1.5.0
Fixed
- We have addressed the
window.initializeDataTable
is not a function error when a notebook is reloaded
(#160, #163). Many thanks again to François Wouts for providing the right fix!
Added
- Polars DataFrames are supported (#159)
- We have added an example to show how to include images in tables (#158)
- We have added links and images (flags from https://flagpedia.net) to the sample countries df (#158).
Changed
- We have updated the pre-commit hooks
Version 1.4.6
Added
- We have added a new
JavascriptCode
class to encapsulate JS Code. This will let the user set JS values for some options likecolumnDefs.render
(#154).
Version 1.4.5
Fixed
- Fixed an issue when
lengthMenu
is a 2D array (#151)
Changed
- We make sure that no argument passed to
show
is equal toNone
(for all tested options, passingNone
results in a datatable that never loads) - Running the test collection will not update the CSV files used for testing anymore
Version 1.4.4
Version 1.4.3
Changed
- When a table is made of only a few rows, we display just the table (not the search box, pagination control, etc)
Version 1.4.2
Version 1.4.1
1.4.1 (2022-12-04)
Fixed
- We have added
setuptools.build_meta
as the build backend inpyproject.toml
(#142) - We have fixed a typo in
itables.options.style
Changed
- We have updated the development status of the project to Production/Stable
Version 1.4.0
Fixed
- We have improved the support for dark themes by using the CSS from datatables.net in version 1.13.1 (#103)
- We have fixed a compatibility issue with old versions of pandas
- We have added a test to make sure that timezones are preserved
requests
was added as a build dependency (#123)- and the
flake8
pre-commit hook was fixed (#124) - thanks
to Anselm Hahn for these two contributions! - Duplicated column and index names are supported (#134)
Added
- The examples in the documentation are now executed as part of the test suite to increase the coverage.
- We have added a new
caption
argument to theshow
function to make it easier to add captions on tables.
Changed
- We have changed the default table to
style = "table-layout:auto;width:auto;margin:auto"
to fix an issue on the width of index columns (defaultstyle
waswidth:auto
previously) (#130) - The default classes applied to datatables are now
["display", "nowrap"]
- We have changed the default order to
order = []
i.e. we don't sort anymore the table, even when the index is monotonic, to fix an issue in the order of categories (#135) - We have set an explicit
maxRows = 0
and also increasedmaxColumns
to200
(instead of Pandas' default at 20).