Panel-material-ui 0.17.0 released

We are pleased to announce the release of panel-material-ui 0.17.0, alongside Panel 1.11. This release makes the components faster and sturdier under load.

Faster

  • Streaming 500 tokens into the last message of a 500 message ChatFeed went from about 20 s to 0.2 s, the same as Panel’s own ChatFeed.
  • Widgets construct up to twice as fast, and setting TextInput.value on a rendered widget is twice as fast.
  • Re-rendering a Select with 50,000 options went from about 2.7 s to 30 ms, and opening a searchable Select with 10,000 options from 2 s to 0.2 s.
  • Switching tabs in a dynamic=True Tabs or Accordion is four to five times faster, and switching dark mode takes a single message instead of one round trip per component.
  • Page and the notification area no longer leak, and the theme is now tracked per session.

New components

  • Fullscreen lets any component take over the screen, from its toggle button, its active parameter or a keyboard shortcut.
  • Reveal scrolls to elements with a given CSS class and briefly outlines them, e.g. to point users at part of a page.

Enhancements

  • Dialog gains an actions footer and closes on Escape by default (close_on_escape).
  • Popup(modal=False) behaves as an accessible non-modal dialog.
  • Buttons accept aria_label, aria_expanded and a badge.
  • Select takes an integer size for a scrollable list, like pn.widgets.Select.
  • Classic DataFrame and Markdown tables are styled to match MUI tables.
  • Dark mode uses a more legible tint of the primary color for text.

Behaviour changes and compatibility

panel-material-ui now requires Panel 1.10, Bokeh 3.10 and Python 3.12 or later, and loads MUI 9.6. Several changes alter behaviour you may notice, for example the default Dialog title is smaller, collapsed Accordion sections unmount their contents, and sliders send value at most every 50 ms while dragging. They are listed first in the release notes.

pip install --upgrade panel-material-ui
# or
conda install -c pyviz panel-material-ui

Many thanks to @YashAnand69 and @philippjfr for their contributions to this release.

Full release notes: Release Notes — Panel Material UI v0.17.0

1 Like