Releases: plotly/dash
Releases · plotly/dash
Dash v2.10.0
Changed
- #2538 Add an upper bound to Flask and Werkzeug versions at
<2.2.3because we expect the Dash ecosystem to be incompatible with the next minor release of Flask (this excludes the current latest Flask release 2.3.x). We will raise the upper bound to<2.4after we fix incompatibilities elsewhere in the Dash ecosystem.
Added
- #2540 Add
include_pages_meta=TruetoDashconstructor, and fix a security issue in pages meta tags #2536.
Fixed
- #2508 Fix error message, when callback output has different length than spec
- #2207 Fix object of components support.
- #2500 Passing customdata by click for scattermapbox, fix #2493
- #2513 Raise error when iterating over patch objects, fix #2512
Updated
-
#2533 and #2538 Update Plotly.js to v2.23.2 from v2.20.0.
- Feature release 2.23.0 adds legend/colorbar xref/yref.
- Feature release 2.22.0 adds
legendreferences to traces. - Feature release 2.21.0 adds
label.texttemplateto parametric shapes. - Patch releases 2.23.1 and 2.23.2 fix heatmap rendering on iOS and Safari when zsmooth is set to false and shape text when drawing a new shape.
-
#2538 Update JS dependencies in dcc, html, dash-table, dash-renderer, and dash
Dash v2.9.3
Fixed
- #2489 Fix location change event handling when
Locationobjects are removed from the layout. Event handlers would not be removed and eventually change props of a random DOM element, fix #1346 - #2498 Fix error when caching callbacks which return
Patchobjects by makingPatchobjects picklable - #2491 Fix clientside inline function name not found, fix #2488
Dash v2.9.2
Fixed
- #2479 Fix
KeyError"Callback function not found for output [...], , perhaps you forgot to prepend the '@'?" issue when using duplicate callbacks targeting the same output. This issue would occur when the app is restarted or when running with multiplegunicornworkers. - #2471 Fix
allow_duplicateoutput with clientside callback, fix #2467 - #2473 Fix background callbacks with different outputs but same function, fix #2221
Dash v2.9.1
Dash v2.9.0
Breaking
- #2450 Set label style
display: blockifinlineis false in RadioItems & Checklist components. To keep previous behavior, setinline=True. This is already how it was described and worked in our documentation and other places with CSS stylesheets that set the default orientation of RadioItems and Checklist options to vertical (including Dash Design Kit), but for unstyled pages it is a breaking change.
Added
- #2392 Improved pages feature:
- Accept an absolute path or a
pathlib.pathforpages_folder, to matchassets_folder - Fix inferring
use_pages=Truewhen you supply a custompages_folder - Fix for
pages_folderthat includes special characters - New test fixture
clear_pages_state - Make imported pages act more like regular Python modules
- Accept an absolute path or a
- #2068 Added
refresh="callback-nav"indcc.Location. This allows for navigation without refreshing the page when url is updated in a callback. - #2417 Add wait_timeout property to customize the behavior of the default wait timeout used for by wait_for_page, fix #1595
- #2417 Add the element target text for wait_for_text* error message, fix #945
- #2425 Add
add_log_handler=Trueto Dash init, if you don't want a log stream handler at all. - #2260 Experimental support for React 18. The default is still React v16.14.0, but to use React 18 you can either set the environment variable
REACT_VERSION=18.2.0before running your app, or inside the app calldash._dash_renderer._set_react_version("18.2.0"). THIS FEATURE IS EXPERIMENTAL. It has not been tested with component suites outside the Dash core, and we may add or remove available React versions in any future release. - #2414 Add
dash.Patchfor partial update Output props without transferring the previous value in a State. - #2414 Add
allow_duplicatetoOutputarguments allowing duplicate callbacks to target the same prop.
Fixed
- #2429 Fix side effect on updating possible array children triggering callbacks, fix #2411.
- #2417 Disable the pytest plugin if
dash[testing]not installed, fix #946. - #2417 Do not swallow the original error to get the webdriver, easier to know what is wrong after updating the browser but the driver.
- #2425 Fix multiple log handler added unconditionally to the logger, resulting in duplicate log message.
- #2415 Fix background callbacks progress not deleted after fetch.
- #2426 Set default interval to 1 second for app.long_callback, restoring the behavior it had before v2.6.0 when we introduced
backround=Truecallbacks.
Changed
- #2425 Moved the logger namespace to
dash.dash, as library logger it should be on that namespace instead of the user app.
Updated
Dash v2.8.1
Fixed
- #2400 Added
disable_n_clicks=Trueto thehtml.Divcomponents inpage_container.
Dash v2.8.0
Dash v2.7.1
Dash v2.7.0
Removed
- #2282 Dropped support for Internet Explorer. Our build process now targets vendor-supported browsers released in the last 7 years. Currently this means ES2015 but over time this will natually advance as older browser versions pass the 7-year threshold.
Added
- #2261 Added new
placeholder_textproperty tofilterOptionsfor DataTable which allows overriding the default filter field placeholder.
Updated
- #2282 Widespread dependency upgrades
- Update Plotly.js to v2.16.1 (from v2.13.3)
- Feature release 2.14.0 adds arrows to
sankeylinks, andeditSelectionoption to config. - Feature release 2.15.0 adds directed arrowheads and markers to
scatterand scatter-like traces and increased control of automargin and legend sizing - Feature release 2.16.0 adds clustering to
scattermapboxtraces and restricted bounds tomapboxplots. - Patch releases 2.15.1 and 2.16.1 fix several bugs.
- Feature release 2.14.0 adds arrows to
- Update Plotly.js to v2.16.1 (from v2.13.3)
Fixed
- #2292 Pages: find the 404 page even if
pages_folderis nested, or the 404 page is nested insidepages_folder. - #2265 Removed deprecated
before_first_requestas reported in #2177. - #2257 Fix tuple types in the TypeScript component generator.
- #2293 Fix Dropdown useMemo not detecting equal objects
- #2277 Use dropdown styles from node_modules, instead of from stored css file
- #2105 Fix order of dash component libraries imports.
Changed
- #2291 Move
flask-compressdependency to new extras requiresdash[compress]
Dash v2.6.2
Fixed
- #2237 Ensure calls to
plotly.jsfromdcc.Graphare properly sequenced even if React initiates multiple render cycles in quick succession. - #2218 Fix bug #1348 Validate children prop (required or not).
- #2223 Exclude hidden folders when building
dash.page_registry. - #2182 Fix #2172 Make it so that when using pages, if
suppress_callback_exceptions=Truethevalidation_layoutis not set. - #2152 Fix bug #2128 preventing rendering of multiple components inside a dictionary.
- #2187 Fix confusing error message when trying to use pytest fixtures but
dash[testing]is not installed. - #2202 Fix bug #2185 when you copy text with multiple quotes into a table
- #2226 Fix #2219 pages register & background callbacks.