Skip to content

Version 2.8.2

Choose a tag to compare

@mwouts mwouts released this 18 Jul 23:08
· 24 commits to main since this release

Added

  • We have added a css argument to show (and a matching itables.options.css) to inject custom CSS. Unlike display(HTML(f"<style>{css}</style>")), this CSS is embedded in the output of every table, so it does not depend on that separate cell's output being rendered - some notebook front-ends (e.g. VS Code) defer rendering outputs that are scrolled out of view, so a standalone CSS cell may not take effect until it becomes visible (#572).

Changed

  • We have sped up the CI: the pytest matrix jobs now install the wheel built once by build-wheel instead of each rebuilding the JS bundle from source, tests now run in parallel with pytest-xdist, and pytest-pixi-updated (which overlaps with the weekly scheduled run) is skipped on pull requests.

Fixed

  • We have fixed the dark mode detection so that it also reacts to theme changes that happen after the table has been rendered, e.g. when the user switches the Jupyter Lab or VS Code theme (#576).
  • We have fixed the dark mode detection in offline mode (#564).
  • We have fixed the dark mode detection in Quarto documents (#536).
  • We have fixed the misaligned ColumnControl search dropdown (e.g. columnControl={"content": ["searchDropdown"]}) (#536).
  • The dash version used to generate src/itables_for_dash/ITable.py is now pinned to dash==4.4.0 to avoid jitter in ITable.py.

Security

  • We have added zizmor to our CI to scan the GitHub Actions workflows for security issues. All actions are now pinned to a commit SHA, checkout steps no longer persist credentials, jobs use least-privilege permissions, and we fixed a code-injection risk in the PR-comment workflow where untrusted pull request metadata was interpolated directly into a github-script template.