Panel 1.11.0 is a release about speed and about working with any DataFrame library. Tabulator, the DataFrame widget, Perspective and Vizzu now accept Polars, PyArrow and any other eager DataFrame supported by Narwhals without converting it to pandas, and pandas is no longer a required dependency of Panel.
Served apps are noticeably faster. Pages load far less JavaScript and CSS (a FastListTemplate page drops from 5.8 MB to about 3 MB of resources, or 0.8 MB on the wire now that responses are gzipped) and Panel's static files are cached by the browser. Building a session, constructing components, rendering panel-material-ui components, mutating large layouts and processing browser events all cost substantially less, and the browser to Python to browser round trip is roughly half what it was. Tabulator now updates the table in the browser incrementally on stream, patch and selection changes instead of rebuilding it, pn.cache hits are more than ten times cheaper, and Documents that are cleaned up without a session no longer leak.
The release also contains a large number of bug fixes, many of them for long-standing issues. It restores live updates from long running synchronous callbacks, fixes races on the document lock in threaded apps, makes notebooks sync every change of a message and stop echoing Python changes back, makes OAuth and login redirects work behind a reverse proxy or with --prefix, and contains fixes for Tabulator, Plotly, FloatPanel, Tabs, ReactiveHTML, the Param pane, the classic templates and serving apps with non-ASCII names. It also fixes pn.serve(threaded=True) scripts that stopped working in 1.10.0, adds compatibility with Bokeh 3.10.2 and Tornado 6.7 and closes an open redirect in the login flow.
A few changes may affect you after upgrading. pip install panel no longer installs pandas; install panel[recommended] or pandas itself if your app or the admin dashboard needs it. Frontend changes are now debounced for 20 ms instead of 50 ms, and served responses are gzipped by default (pn.serve(..., compress=False) turns this off). The default OAuth redirect URI now includes --prefix and, with --use-xheaders, follows the X-Forwarded-Host and X-Forwarded-Prefix headers, so you may have to register the new URI with your provider or pass the old one with --oauth-redirect-uri. With resources='server', a lazily loaded file that fails to load from Panel's static/extensions/ routes is now retried from the CDN. Hierarchical Tabulator group rows for index levels without an entry in aggregators are now left blank instead of showing a sum; pass aggregators explicitly (e.g. aggregators={'col': 'sum'}) to keep the sums. ReactiveHTML children declared as 'literal' in _child_config are now rendered as (sanitized) HTML markup, where previously only their text content was shown. pn.serve(..., start=False) and get_server(start=False) no longer install Panel's SIGINT handler. Smaller changes are marked as behaviour changes in the entries below.
Many thanks to @fizzbeom and @morgan-coded for responsibly reporting the security issues fixed in this release, and to the contributors to this release: @philippjfr, @hoxbro, @maximlt, @aarab-malik, @AaryanRS, @benjibunbun, @Cherith1222, @chiruu12, @Jojoussef, @SAMARTHJAISWAL, @Web4everyone32, @YashAnand69, @Adithya6721, @Adititodekar, @ahuang11, @Alpenj, @compiler-segfault, @danishkumar26, @JoeyTan21, @Kkkakania, @MarcSkovMadsen, @mmporong, @mvanhorn, @nightcityblade, @nojaf, @prabhushreyas, @ryandesign, @SuMayaBee, @sushan5140 and @tmichela.
๐ Features
- Accept Polars, PyArrow and any other eager DataFrame supported by Narwhals in
Tabulator, theDataFramewidget,PerspectiveandVizzuwithout converting it to pandas. Filtering, sorting, remote pagination, selection, edits,stream()andpatch()all work on these frames, with rows addressed by position since they have no index, and PyArrow tables keeplarge_stringand other large column types when they are edited, patched or streamed into (#8841, #9086)
โจ Enhancements
- Accept positional arguments to the cached function in
pn.state.as_cached(#9123) - Show a default
Filter by <column>...placeholder inTabulatorheader filters (#8452) - Add a
widget_placeholderparameter toChatInterfacethat sets, and later updates, the placeholder of its default input widget (#9040) - Add
max_completionstoAutocompleteInputto limit the number of suggestions shown (#9031) - Let
saveexport PNGs with Bokeh's Playwright backend, selected with the newbackendargument (e.g..save('x.png', backend='playwright')) orBOKEH_EXPORT_BACKEND, and apply Panel's page template and idle wait to screenshots again on Bokeh 3.10 (#8918) - Add a
compressoption topn.serveandget_server(defaultTrue) to turn off response compression, for example behind a proxy that already compresses (#9058) - Let
--oauth-guest-endpointsentries ending in/*or/cover the paths below them, so e.g. a branded login page can load its logo from--static-dirs; plain entries now match the path without the query string but still do not cover sub-paths (#9033) - Log a one-time warning per app when the Bokeh session token approaches the 8 KB request header limit of common proxies, which otherwise fails with an unexplained "Could not open websocket" (#8638)
- Load the
TextEditor(Quill) resources from the CDN configured withPANEL_NPM_CDNinstead of always from jsDelivr (#7826) - Add
keyboard_accessibleandsoft_wrapparameters toCodeEditor, so keyboard users can move focus out of the editor and long lines can wrap (#9120) - Add a
markersparameter toCodeEditorto highlight lines, and style its read-only tooltip (#9139)
โก Performance
This release removes much of the fixed cost of serving a Panel app, from the bytes a page loads to the work done per session, per component and per event. The numbers below are the ones measured in each pull request.
- Load fewer resources per page and serve them compressed and cached. MathJax is only loaded on pages that contain math, template resources are no longer loaded twice, responses are gzipped, static files are compressed once and versioned resources get long-lived cache headers. A
FastListTemplatepage went from 5831 KB to 3143 KB of local resources, 830 KB on the wire (#9058) - Cache the per-request resource bookkeeping, apply a template's design once and stop streaming log records into the admin dashboard when nobody is looking; generating the page for a 200-widget app went from 16.1 ms to 1.3 ms (#9068)
- Speed up Bokeh model creation in
server_doc; aColumnof 200 widgets went from 173 ms to 104 ms (#9064) - Cut the cost of constructing Panel components and of
pn.paneldispatch; aColumnof 20 sliders is 47% cheaper to create andpn.panel('text')42% cheaper (#9069) - Make
JSComponentandReactComponent, and with them everypanel-material-uicomponent, cheap to render and update;server_docof aui.Columnof 200 widgets went from 534 ms to 335 ms and appending to aui.Column(2000)from 167 ms to 13.7 ms (#9067, #9099) - Further reduce the cost of creating
ReactiveESMmodels, such as those ofpanel-material-uicomponents, by dropping default-valued properties when constructing the model and its DataModel, narrowing the reference scan of DataModel properties, registering event callbacks without a per-callback signature inspection and reusing the Document's shared stylesheets instead of building a throwaway per component;server_docof aui.Columnof 200 components went from 124 ms to 86 ms with an unchanged serialized Document (#9095) - Send a compiled inline ESM bundle once per document instead of once per component, so ten
panel-material-uibuttons in a notebook or exported HTML file go from 15 MB to 1.7 MB (#9104) - Make mutations of large layouts cheap; appending to a
Columnwith 2000 children went from 89.1 ms to 10.9 ms (#9057) - Share the loading indicator CSS across all models on a Document instead of sending a copy per model, shrinking the initial document of a
Columnof 200 widgets from 126.7 KB to 74.5 KB (-41%) (#9056) - Behaviour change: Cut the per-event overhead in the server and notebook update paths and lower the default debounce of frontend changes from 50 ms to 20 ms; the browser to Python to browser round trip on the benchmark app dropped from a median of ~64 ms to ~34 ms.
pn.reactive.Syncable._debouncecan still be raised globally or per component (#9066) - Batch model updates scheduled from worker threads into one message and combine held events in linear time; a 1 ms periodic callback with
PANEL_NUM_THREADS=4went from 299โ390 to 603โ682 ticks/s, and settingTextInput.valuesends one message instead of two (#9070) - Process events that arrive while changes are still pending on a worker thread with the document lock, so a synchronous callback no longer blocks the event loop and its updates reach the browser while it runs (#9075)
- Avoid redundant work on
Vega,HTML,MarkdownandPlotlypane updates: Vega data updates no longer re-embed the chart (mean latency 46.5 ms -> 22 ms), streaming 200 chunks containing math intoMarkdownwent from 3665 ms to 465 ms of JS time, and a Plotly layout change made in the browser from 269 ms to 6 ms (#9061) - Update
Tabulatorincrementally in the browser onstream,patchand selection instead of rebuilding the table; a one-cellpatchon 10k rows went from 15.3 ms to 0.4 ms of JS handler time (#9065) - Cut the Python-side cost of
Tabulatorupdates on large tables; on 200k rows a remote pagination page change went from 13.9 ms to 1.2 ms and a one-cellpatch()with a sorter active from 27.6 ms and a 6.3 MB message to 2.1 ms and a 1 KB message. Also fixespatch()with remote pagination (#9071) - Stop rebuilding every
Tabulatorcolumn on each edit when column names are not strings (e.g. years after a pivot), which also closed the editor when tabbing to the next cell (#9054) - Behaviour change: Reduce
pn.cacheper-call overhead (a hit onf(1)went from 22.5 ยตs to 1.4 ยตs), give decorations with different settings separate caches and let an exact type inhash_funcstake precedence over the defaults. Hashes of flat containers change, so existingto_disk=Truecaches are recomputed once (#9063) - Release Documents cleaned up without a session (liveness checks, warm-up, the ASGI server) and cut references from models to their Document when it is destroyed, so they no longer stay alive forever (#9059)
- Only unlock the parameters that are actually readonly or constant when syncing a widget value, instead of toggling every parameter of the widget; setting a value from Python is 2.9ร faster for a classic
IntSliderand 1.7ร forpn.ui.IntSlider, and a value change from the browser about 1.9ร faster. Also stops a constant parameter from staying writable on an instance after it was set insideedit_readonly(#9158) - Read the sizing properties of a layout's children without Bokeh's theme lookup, making the sizing inference on each layout change about 2.7ร cheaper (#9160)
- Skip the full-tree preprocessing walks on layout changes that do not add the components they handle (HoloViews, ECharts, param methods); appending to a
Columnof 500 items is 13 to 14% faster (#9162)
๐ Security
- Reject
next_urlvalues such as///evil.comor ones containing control characters, which browsers resolve to another site, in the basic auth and OAuth login redirects (#8938) - Stop importing the module named in
/components/resource URLs, which let any client, including when authentication is enabled, make the server import installed modules and shut it down with a single request (GHSA-wfhv-r23p-8x9w) - Apply
authorize_callbacktoautoload.jsand websocket connections, which previously let a logged-in user open a session of an app they were denied access to (GHSA-9cgh-cwhr-4rhg, #9152) - Stop
FileSelectorfrom navigating into sibling directories whose name starts with the name ofroot_directory, such as/app/data2for a root of/app/data(#9149)
๐ Bug Fixes
- Send updates made inside a long running synchronous callback to the browser while it runs instead of only once it returns, so e.g. a loading spinner toggled in the callback shows again, on Tornado as well as the ASGI servers (#8937, #9082)
- Only treat the document lock as held by the thread that acquired it, fixing
RuntimeError: _pending_writes should be non-Noneand concurrent document writes in threaded apps (--num-threads), including on free-threaded Python 3.14, and only let the lock owner write updates directly from a worker thread (#9008, #9009, #9024) - Keep a script that ends right after
pn.serve(..., threaded=True)serving, which since 1.10.0 answered every request with a 500 error (#9073) - Fix several timing issues: Plotly clicks and hovers right after render being dropped, quick
Tabsswitches leaving broken views, timers scheduled from worker threads firing late, aTabulatorscroll right after render being reset,PeriodicCallback.start()busy looping, and threaded servers leaking sockets on Windows (#8869) - Sync every property change of a message sent from the browser in notebooks, where only the first one reached Python, so e.g.
pn.state.browser_infoandFileInputfilenameandmime_typeare populated (#9045) - Stop notebooks from echoing changes made in Python back to Python, which caused
BokehUserWarning: reference already knownwarnings (#9055) - Stop sending a change made in the browser back to that browser when it arrives while the Document is held, e.g. by a callback running on a worker thread, which on high-latency deployments reset text inputs to stale text and lost the characters typed since (#9101)
- Write changes from unlocked callbacks, such as an async task streaming into a chat message, after the changes of a callback holding the document lock when they refer to models that callback has not sent yet, instead of writing them first so the browser dropped them with
reference ... isn't known; unrelated changes are still written immediately (#9105, #9107) - Write the changes of a locked callback that are handed to Bokeh, e.g. when a
hold()block exits while the socket is busy, as one message instead of one per change, so the browser no longer renders them in steps (#9106) - Keep every view of a notebook output responsive when the output is shown more than once, e.g. with JupyterLab's "Create New View for Cell Output" (#9062)
- Fix
MultipleInstanceErrorfromKernel.instance()(e.g. in ipyleaflet) after loading theipywidgetsextension, while still resolving the per-session kernel when serving ipywidgets from a notebook or the Jupyter preview, and render the first ipywidget of a served app reliably (#8949, #9025, #9074) - Behaviour change: Make OAuth and login redirects work behind a reverse proxy or with
--prefixwithout--oauth-redirect-uri, honouringX-Forwarded-HostandX-Forwarded-Prefixwith--use-xheaders. The default OAuth redirect URI now includes--prefixand follows those headers, so re-register it with your provider or pass--oauth-redirect-uri(#9072, building on #8211 by @TheoMathurin) - Behaviour change: Leave hierarchical
Tabulatorgroup rows blank for index levels without an aggregator instead of summing every column (and concatenating strings). Passaggregatorsexplicitly, e.g.aggregators={'grp': 'sum'}, to keep the previous sums (#9004, #9011) - Fix
Tabulator.streamon a table whose index is aDatetimeIndexor another non-numeric index, preserving the streamed index labels so repeated streams and subsequent patches work (#8858, #9023) - Convert
datetime,pd.Timestampandnp.datetime64values inTabulator.patch, which previously raised or wrote the wrong value (#9000) - Support clearing a cell in a nullable integer (
Int64)Tabulatorcolumn, which now stores<NA>and keeps the dtype (#8994) - Re-fit
Tabulatorcolumns with afit_datalayout after a cell edit or a newvalue, so longer content no longer clips; columns the user resized keep their width (#8968) - Let a
Tabulatordate header filter withfunc='like'match the timestamp text instead of raising, with remote pagination and incurrent_view(#8857) - Apply
Tabulator.stylecell styles to the right column whengroupsare set (#8966) - Behaviour change: Ignore the
widththat a pandasStyler(e.g.Styler.bar) sets onTabulatorcells, which made the column wider than its header; useTabulator.widthsto size columns (#8988) - Stop highlighting rows on hover when
Tabulatorhasselectable=False(#8955) - Support
Tabulator.jscallback(selection=...)and raise a clear error when ajscallbacktargets a parameter that only exists in Python (#8953) - Stop a
Tabulatorin an inactive tab from keeping the browser's main thread busy (#8936) - Fix
Perspective.stream()duplicating rows in the browser, make dict patches toPerspectiveupdate.object, and stop truncating edited Polars string values (#8841) - Keep datetime axes of a
Plotlypane as dates afterupdate_tracesorbatch_update(#8952) - Fix the serialization error that dropped
Plotlyupdates made insidefig.batch_update()(#8943) - Include multicategory
xvalues and heatmap and imagepointNumber/pointIndexinPlotlyclick, hover and selection data (#8954) - Play animated
Plotlyfigures by keeping their frames, also when the figure is given as a dict (#9043) - Behaviour change: Render
MatplotlibPNGs at twice thedpiwhenhigh_dpi=True(the default), as before Panel 1.0, so they are sharp on high-DPI screens at the same displayed size; PNGs are about 2-3x larger andhigh_dpi=Falserestores the previous output (#9047) - Render Matplotlib plots in a
HoloViewspane, e.g. of aHoloMaporDynamicMap, at the DPI of the HoloViews renderer, so they are no longer twice the size of the same plot rendered by HoloViews directly (#9049) - Behaviour change: Apply the
themeof aBokehpane in served apps, notebooks and saved files by setting it on the document, asHoloViews.themedoes, so it now applies to the whole document (#8996) - Style
Segmentglyphs, such as box plot whiskers, in the dark Bokeh themes so they are visible (#8980) - Load the full KaTeX stylesheet and bundle its fonts for the
LaTeXpane, so constructs such as\hlinerender correctly (#8965) - Stop the
Markdownpane from parsing*inside$$...$$math as emphasis, including while streaming (#8970, #9014) - Stop an
HTMLorMarkdownpane from throwing when its visibility changes before it is rendered, e.g. inside a collapsedpanel-material-uiCard(#9051) - Support Altair's
vegafusiondata transformer in theVegapane (#8939) - Render local PDF data in the
PDFpane withembed=Falsein Chromium (#8995) - Keep the per-row structure of nested columns, such as
PathLayerpaths, inDeckGLdata (#8982) - Generate Material UI widgets in
pn.ui.HoloViews, and design-specific widgets inpn.pane.HoloViews, as intended (#8976) - Keep one
HoloViewsslider option perHoloMapkey when formatted labels collide, so every frame can be selected (#8984) - Accept
pn.uilayouts forHoloViews.widget_layoutandChatReactionIcons.default_layout(#8932) - Allow non-string values in
AutocompleteInputwithrestrict=False(#8909) - Allow setting the
valueofTextInput,TextAreaInputandPasswordInputtoNone(#8917) - Show the default colour (
#000000) when thevalueof aColorPickeris set toNone, instead of raising a validation error (#9098) - Allow
fixed_startorfixed_endto beNoneon editable sliders, e.g. when generated bypn.Paramfor a parameter with one open bound, instead of raising aTypeError(#9103) - Select the right option in a
Selectwithgroupswhen the same label appears in several groups (#8956) - Select the right option when a
Selectsynced to the URL has numeric-looking options such as'02'(#8960) - Fix validation of
DatetimeInputwhen onlystartorendis set (#8910) - Show a rounded value (e.g.
0.1instead of0.10000000001) in theEditableFloatSlidertextbox when noformatis given, and apply laterformatandstepchanges to it (#8990) - Behaviour change: Round
interactslider defaults that fall between steps to the nearest step instead of flooring them, so(0, 4, 0.5, 1.3)now starts at1.5(#8947, #9013) - Render a
Nonevalue inLinearGaugelikenaninstead of raising aTypeError(#9039) - Size the animated stripes of an active
Progressbar to its height (#8981) - Respect
max_widthandmax_heightwhen sizing theDial(#8958) - Accept any
os.PathLike, such as anos.DirEntryfromos.scandir, as thefileof aFileDownload(#9090) - Render bounded
param.DateRangeandparam.CalendarDateRangeparameters without a default inParaminstead of failing to load the page (#8859) - Use an input widget for bounded
param.Numberandparam.Integerparameters whose value isNone, which previously failed to render (#8983) - Fix updating the
objectsof aparam.SelectorholdingParameterizedinstances inParam(#8985) - Behaviour change:
Widget.from_paramno longer wraps selectors ofParameterizedobjects in aRowwith an expand toggle; passexpand_button=Trueto opt back in (#8991) - Hide a single unpacked
Paramwidget when its parameter'sprecedencedrops below the display threshold (#8992) - Update the tab title when a
Tabsentry is renamed but keeps the same pane (#8944) - Support param references for
objectsinTabs,AccordionandFloatPanel(#8997) - Retain parameters such as
closableandtabs_locationwhen cloningTabsandAccordion, clampingactiveto the new objects (#8999, #9012) - Fix
clonefor components whose read-only parameters were edited withparam.edit_constant(#8948) - Size a
FloatPanelwithcontained=Falseto its content, while respecting a height set throughconfig={'panelSize': ...}(#8987, #9015) - Make
FloatPanelchildren with stretching sizing modes fill the panel height (#9001) - Let a
pn.ui.Modalgrow to fit wide content and apply an explicitwidthto the dialog (#9030) - Let
VSpacerfill the sidebar height in the Fast, Vanilla, React and Bootstrap templates (#8971) - Paint plots placed in the modal of the Fast templates in Chromium (#8972)
- Size
scale_bothandscale_heightcontent, such as responsive HoloViews plots with anaspect, in the Fast template (#8993) - Use the accent colour for the active Bokeh toolbar tool in the Fast templates (#9002)
- Show the slides when
SlidesTemplatehasmain_max_widthset (#8978) - Show the configured disconnect and ready notifications for templates built outside a session, e.g. before
template.show()(#8942) - Behaviour change: Fix
ReactiveHTMLcomponents with'literal'children failing to render the page, and render literal children as (sanitized) HTML markup rather than only their text content (#8989) - Detect
++and--assignments todata.*inReactiveHTMLscripts and no longer mistake comparisons for assignments (#8998) - Report the correct
event.nodeforReactiveHTMLcallbacks shared between several nodes (#8962) - Stop a child from disappearing from
pn.uilayouts when children are swapped inReactComponent(#8935) - Behaviour change: Stop
model.useStateinReactComponentfrom writing a stale value back over a newer model change, which could e.g. leave a widget stuck loading afterloading = Truefollowed byloading = False.setValuenow writes to the model synchronously, so a value set through it reaches the server before asend_msgsent in the same handler (#9100) - Set up
jslinkandjscallbacklinks on children added to aJSComponentorReactComponentlayout, e.g. withpn.ui.Column.extend(#9028) - Fix
JSComponentandReactComponentviews that are re-rendered or removed before they mount, which could abort the layout of the whole page (e.g. withCannot read properties of undefined (reading 'top_panel')for a Bokeh figure) or leave every component rendered afterwards blank (#9081) - Warn instead of raising when
.controls()cannot link a parameter to a missing model property (#8979) - Behaviour change: Keep the loading indicator of an async
ParamFunctionorParamMethodon until the function completes (#8946) - Behaviour change: Only inherit
Pipelinestage values from stages on the current route, so values from abandoned branches no longer leak into a stage (#8986) - Serve applications whose name or route contains non-ASCII characters, and show their decoded names on the index page (#8950, #9017)
- Honor
pn.config.admin_endpointandPANEL_ADMIN_ENDPOINT(#8945) - Open a single browser tab when serving with
num_procs > 1andshow=True(#8963) - Mount WSGI apps such as Flask at their route and
prefixso their routes resolve (#8967) - Change the ETag of a file served with
--static-dirswhen the file is rewritten, so browsers no longer keep a stale copy until a hard reload (#8961) - Read and write user files such as
--setupscripts, auth templates,panel convertoutput andpanel compileprojects as UTF-8, fixing non-ASCII text on Windows (#9036) - Behaviour change: Only install Panel's SIGINT handler in
get_serverandpn.servewhenstart=True; applications that start the event loop themselves should handle SIGINT (#9003) - Reload the page when
pn.state.location.reload = Trueis set while building the app, and no longer reload when it is set toFalse(#8964) - Give
pn.state.session_infowatchers distinct old and new values and make concurrent updates safe (#8957, #9016) - Run
Terminalsubprocesses withexecso the server's exit handlers no longer run in the forked child (#8940) - Inline component stylesheets, e.g. for
Tabulator, when saving withresources='inline'(#8969) - Behaviour change: Load lazily loaded component resources on hosts that rewrite or do not serve Panel's
static/extensions/routes, such as Shiny. A library the host already loaded under a rewritten URL is recognised instead of fetched again, a failed resource request is retried once from the CDN instead of hanging, and ESM components always carry the es-module-shims URL. Withresources='server', a page now makes a request to the configured CDN when astatic/extensions/request fails; a working server never does, and an air-gapped one sees that request fail as well (#9020) - Only merge embedded widgets that share a label when their type and options also match (#8974)
- Fix
pn.cachereturning the result for a different float with the same hash, such as-1.0for-2.0(#8922) - Avoid a
RecursionErrorwhen passing self-referential containers to apn.cachefunction (#8923) - Fix typos in
panel compilemessages (#8880) - Drop held changes to models the client has not been sent yet, which made the browser reject the whole patch with
reference ... isn't known(#8906, #9155) - Resize the container of ESM components, including the
panel-material-uiones, when their size changes after they rendered (#9108) - Resolve relative stylesheet urls against the route a session is on, so apps on nested routes load all their stylesheets (#9109)
- Fix serving a Bokeh figure under a global template, which failed with
unexpected attribute 'design' to figure(#9110) - Stream into a paginated
Tabulatorwithout "Scroll Error - Row not visible" errors or stale pages (#9111) - Stop a
hold()running on the event loop from leaving the Document incollectmode when a callback on a worker thread released the same hold (#9117) - Stop a
hold()released before the session loaded from writing the held Python changes back into their parameters (#9126) - Render Bokeh figures with a
SizeBarannotation inside React based layouts such as thepanel-material-uiones (#9119) - Keep apps converted with
panel convertworking when the CDN does not have the wheel of the locally installed Bokeh version (#9121) - Keep the basemap of a
DeckGLpane with a CartomapStylealigned with the deck.gl layers when the pane is created and when itsinitialViewStatechanges (#9122, #9129) - Fix a race in
CodeEditorwithon_keyup=Truewhere a stalevalue_inputcould overwrite a newer one (#9127) - Fire
Tabulator.on_editcallbacks when the edit event arrives after the data patch (#9128) - Allow creating a
DatetimeRangeInputwithout avalueand without bothstartandend(#9132) - Keep an explicitly set
min_widthormin_heighton a layout instead of replacing it with one inferred from its children (#9133) - Hash
datetime.timeanddatetime.timedeltaarguments by value inpn.cache, which could return the result for a different argument (#9137) - Resize a container-sized
Vegachart whenever its container changes size (#9138) - Keep other query parameters unchanged when updating the URL query, so e.g.
02134no longer becomes2134(#9141) - Select the matching option when a
Selectis created with aNonevalue (#9143) - Keep tuple values when editing the value input generated for a range parameter, e.g. by
RangeSlider.controls(jslink=True), which raised aValueError(#9135) - Apply changes that reach a view before it has rendered, e.g. the child of a React component that is not mounted, instead of aborting the rest of the patch, and apply Plotly relayouts and restyles sent before the plot rendered once it does (#9154, #9156)
- Allow defining a custom component with a pandas
param.DataFramedefault without polars installed (#9157) - Apply
disabled_optionsto options inside groups of aSelect(#9165)
โ๏ธ Compatibility
- Behaviour change:
pn.state.as_cachednow requiresttlto be passed by keyword (#9123) - Behaviour change: pandas is no longer a required dependency and moves to the
recommendedextra, as announced in the 1.9.0 release notes.Tabulator, theDataFramewidget,Perspective,VizzuandChatMessagework without it; the admin dashboard still requires pandas and raises a clear error without it (#8841) - Add compatibility with Bokeh 3.10.2, which clamps slider values to their range; editable sliders now widen their range in Python, and changing
fixed_startorfixed_endclamps the value into the new bounds (#8927) - Stop passing the
HTTPServerRequestarguments that Tornado 6.7 removed (#9046) - Bump
dompurifyto 3.4.17 (#8908) - Export the
Fullscreenwrapper added inpanel-material-ui0.17 frompanel.ui(#9144)
โ ๏ธ Deprecations and Removals
TerminalSubprocess.runkeyword arguments other thanshell,cwd,envandexecutable(e.g.timeoutorcheck) are now ignored with a deprecation warning and will be removed in Panel 2.0 (#8940)
๐ Documentation
- Add a Version 1.11 section to the upgrade guide, including the CDN fallback for server resources, and document the
compressoption ofpn.serve,PANEL_ADMIN_ENDPOINTand the admin dashboard's pandas requirement, PNG export with Playwright, when MathJax is loaded, and that pandas is no longer installed with Panel (#9078, #9091) - Cover the 1.11 changes in the reference gallery, including Polars and PyArrow data in the
DataFramewidget,PerspectiveandVizzu,Tabulatorheader filter placeholders,Matplotlib.high_dpiand automatic MathJax loading inMarkdown(#9079) - Add a how-to guide for serving a REST API next to an app with a
--pluginsmodule, and record what the deprecated REST providers still do (#9041) - Add an "Other DataFrame libraries" section with a Polars example to the
Tabulatorreference (#8841) - Point the "Using Panel with an AI assistant" guide at the
llms.txtand Markdown URLs that resolve, and remove the leftover reference notebook for the LangChainPanelCallbackHandlerremoved in 1.10, mappingStreamlitCallbackHandlertoChatStepin the Streamlit chat migration guide instead (#9080) - Document how to sync a list of
Parameterizedobjects with the URL (#8705) - Document setting a favicon on standalone exports (#9005)
- Add an introductory article and video to the Getting Started resources (#8785)
- Correct the
Tabulatorreference, which stated that hierarchical index levels default to thesumaggregator (#9011) - Restore the Architecture and Styling sections in the Explanation navigation (#8977)
- Remove nonexistent parameters from the
on_msgandshow_serverdocstrings (#8926) - Show which library version Panel loads in the reference pages of JavaScript-backed panes (#9134)
- Note that templates are trusted code that runs on the server and that values passed with
Template.add_variableare not escaped (#9148)