Change8

v1.6.2

📦 panelView on GitHub →
9 features🐛 22 fixes🔧 19 symbols

Summary

Panel 1.x introduces easier subclassing, enhanced ReactComponent capabilities, ESM improvements, and full compatibility with Bokeh 3.7 along with numerous bug fixes.

Migration Steps

  1. Upgrade Bokeh to version >=3.7 to maintain compatibility.

✨ New Features

  • Simplified subclassing of Panel components.
  • Added support for `model.useState` in `ReactComponent` to reference nested parameter values.
  • Enabled providing shared ESM modules.
  • Added ability to define root node for `ReactComponent`.
  • Improved pretty printing in `HoloViews` pane.
  • Supported serializing joint dict/Parameterized types on `DataModel`.
  • Enhanced `ListLike` and `NamedListLike` to better match Python list behavior.
  • Improved rendering of `ReactComponent` children.
  • Allowed overriding Param input widgets.

🐛 Bug Fixes

  • Fixed handling of empty source files.
  • Added extra guard around `get_ipython` check.
  • Ensured `ReactComponent` children are sized correctly.
  • Prevented `ChatStep` from toggling from failed to success.
  • Fixed heights of `Feed` and scrollable layout children not being fixed.
  • Declared more `Child` parameters on various components.
  • Stopped syncing parameters mapped to None on ESM components.
  • Ensured `esm.css` is always included for ESM components.
  • Prevented duplicate stylesheet inclusion.
  • Ensured `ChatStep` text does not overflow its container.
  • Refactored `ChatFeed` post hook to process correct message.
  • Applied hooks to root components with `Fast` design.
  • Set resource mode correctly in notebooks.
  • Cleared state cookie when OAuth access token expires and cannot be refreshed.
  • Fixed formatting in `TextEditor` widget.
  • Switched to Ace editor version without require.js dependency.
  • Ensured multiple sequential notifications render.
  • Styled correct column when frozen `Tabulator` column is an index.
  • Cleared IconButton tooltip timer on multiple mouseenter events.
  • Applied pre-processors to ESM children.
  • Corrected layout of outputs after initial render of `EditableTemplate`.
  • Fixed regression related to providing Path to ESM component stylesheets.

🔧 Affected Symbols

ReactComponentmodel.useStateDataModelListLikeNamedListLikeTextEditorChatStepFeedChildESMChatFeedFastIconButtonEditableTemplatePlotlyHoloViewsTabulatorAceget_ipython