Skip to content

Releases: mwouts/itables

Version 1.5.2

26 Mar 18:42
Compare
Choose a tag to compare

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 against pandas in pre-release versions

Version 1.5.1

12 Mar 00:32
Compare
Choose a tag to compare

Fixed

  • Empty Polars DataFrame are now rendered correctly (#167)

Version 1.5.0

11 Mar 22:38
Compare
Choose a tag to compare

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

31 Jan 23:25
29ec54c
Compare
Choose a tag to compare

Added

  • We have added a new JavascriptCode class to encapsulate JS Code. This will let the user set JS values for some options like columnDefs.render (#154).

Version 1.4.5

23 Jan 09:01
fe27982
Compare
Choose a tag to compare

Fixed

  • Fixed an issue when lengthMenu is a 2D array (#151)

Changed

  • We make sure that no argument passed to show is equal to None (for all tested options, passing None 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

15 Jan 18:56
992a3f2
Compare
Choose a tag to compare

Fixed

  • We have added numpy to the dependencies, pytz is an optional dependency (used in the sample dataframes only), and we do not depend on six anymore (#149)
    The build time dependencies pathlib and requests are listed in pyproject.toml (since #123, itables==1.4.0)

Version 1.4.3

14 Jan 00:17
e960b46
Compare
Choose a tag to compare

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

23 Dec 19:21
41f1422
Compare
Choose a tag to compare

Fixed

  • We make sure that the table content has the same number of columns as the header (#141)
  • We have updated the documentation on column widths (#145)

Version 1.4.1

04 Dec 23:04
Compare
Choose a tag to compare

1.4.1 (2022-12-04)

Fixed

  • We have added setuptools.build_meta as the build backend in pyproject.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

04 Dec 18:34
Compare
Choose a tag to compare

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 the show 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 (default style was width: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 increased maxColumns to 200 (instead of Pandas' default at 20).