Changed
- #4118 The JupyterLab extension now ships prebuilt, so JupyterLab 3 and 4 load it without asking for a rebuild. JupyterLab 2 is no longer supported. Fixes #3828.
Fixed
- #3957 Fix
running=with a pattern-matchingALL/ALLSMALLERid crashing the renderer when none of the matching components are on the current page. Fixes #3297. - #4144 Fix
Patch.updatechanging the caller's dictionary, so reusing one dictionary acrossupdatecalls with different keywords no longer changes earlier queued merges. Fixes #4143. - #4197 Fix
dcc.Inputwithtype="number"anddebouncesometimes putting back an old value over what the user typed after using the stepper buttons. - #4102 Fix
dcc.Graphzoom, pan and other edits being reset by a new figure or aPatchwhileuirevisionis unchanged, a regression from #3882. Fixes #4093. - #4103 Speed up components that use
dashChildrenUpdate(dcc.Tabsand others): unrelated paths are now rejected before any allocation on each store update. Addresses #4032. - #4167
dash-generate-componentsno longer crashes when generating an R package from apackage.jsonwhoseauthoris an object or includes a URL, and a missing author email now gets the intended error message. Fixes #1577. - #4169 Fix the inferred path of a page whose module name contains the pages folder name:
pages/landing_pages.pyno longer gets/andpages/subpages/report.pyno longer gets/report. Fixes #4168. - #4174 Fix
dcc.Graphdiscarding earlier layout changes when multiplePlotly.relayoutcalls run before React delivers the updated figure prop. Fixes #4172. - #4175 Fix clientside callbacks dispatching empty property updates and unnecessarily rendering components whose outputs all return
dash_clientside.no_update. Fixes #4173. - #4171 Hot reload no longer stops for the rest of the session when the assets watcher finds a file it cannot stat, such as a dangling symlink (an Emacs lock file) or a temp file deleted mid-scan. Fixes #4170.
- #4165 Use
@pytest.hookimpl(tryfirst=True)onpytest_addhooksindash.testing.pluginto eliminatePytestRemovedIn10Warningduring pytest plugin registration and preserve compatibility with pytest 10. Fixes #2420. - #4104 Allow
update_title=Nonein theDashconstructor type hints. - #4129
set_propsnow returnsno_update, soyield set_props(...)in a streaming callback sends the side update right away, and aset_propscalled after the last yield is no longer dropped. Fixes #4127. - #4137 Fix FastAPI
after_requesthooks to match Flask: multiple hooks run in LIFO order on every route, get the response and can return a new one. Quartafter_requesthooks get the response too. - #4184 Fix ASGI streaming callbacks being cancelled after 10 seconds under load, when a browser's previous downlink closed late and marked its new one closed.
- #4185 Fix
RedisSharedStoragestreaming callbacks failing under load with redis-py 8 (MaxConnectionsError: Too many connections): calls now wait for a free connection. - #4186 Fix
LocalSharedStorageelecting a second, empty owner under load when the owner was too busy to accept connections, which reset every open stream. - #4194 Fix
dcc.Markdownrendering numeric character references above U+FFFF, such as😀emoji, as blank (regression in 4.5.0). Upgrades to react-markdown 10. - #4037 Only load the IPython and Jupyter integration modules when Dash is imported inside IPython. Roughly halves
import dashtime in environments that have IPython installed.