Skip to content

Releases: plotly/dash

Dash v2.17.0

03 May 17:00
95520f7
Compare
Choose a tag to compare

Added

  • #2832 Add dash startup route setup on Dash init.
  • #2819 Add dash subcomponents receive additional parameters passed by the parent component. Fixes #2814.
  • #2826 When using Pages, allows for app.title and (new) app.description to be used as defaults for the page title and description. Fixes #2811.
  • #2795 Allow list of components to be passed as layout.
  • #2760 New additions to dcc.Loading resolving multiple issues:
    • delay_show and delay_hide props to prevent flickering during brief loading periods (similar to Dash Bootstrap Components dbc.Spinner)
    • overlay_style for styling the loading overlay, such as setting visibility and opacity for children
    • target_components specifies components/props triggering the loading spinner
    • custom_spinner enables using a custom component for loading messages instead of built-in spinners
    • display overrides the loading status with options for "show," "hide," or "auto"
  • #2822 Support no output callbacks. Fixes #1549
  • #2822 Add global set_props. Fixes #2803

Fixed

  • #2362 Global namespace not polluted any more when loading clientside callbacks.
  • #2833 Allow data url in link props. Fixes #2764
  • #2822 Fix side update (running/progress/cancel) dict ids. Fixes #2111
  • #2817 Change hashing algorithm from md5 to sha256. Fixes #2697
  • #2816 Fix dcc.Dropdown value not updated when option is removed. Fixes #2733
  • #2823 Fix None in "wait" methods causing incorrectly passing tests. Fixes #2818

Dash v2.16.1

06 Mar 20:00
6c50a18
Compare
Choose a tag to compare

Fixed

  • #2783 Remove dynamic loading.

Dash v2.16.0

01 Mar 20:26
add7112
Compare
Choose a tag to compare

Fixed

  • #2756 Prevent false dangerous link warning. Fixes #2743
  • #2752 Fixed issue with Windows build, for first time build on Windows, the dev needs to use npm run first-build

Changed

  • #2734 Configure CI for Python 3.10 #1863
  • #2735 Configure CI for Python 3.8 and 3.12, drop support for Python 3.6 and Python 3.7 #2736

Added

  • #2762 Add dynamic loading of component libraries.
    • Add dynamic_loading=True to dash init.
    • Add preloaded_libraries=[] to dash init, included libraries names will be loaded on the index like before.
  • #2758
    • exposing setProps to dash_clientside.clientSide_setProps to allow for JS code to interact directly with the dash eco-system
  • #2730 Load script files with .mjs ending as js modules
  • #2770 Add running to regular callbacks.

Dash v2.15.0

31 Jan 18:19
115aa4e
Compare
Choose a tag to compare

Added

  • #2695 Adds triggered_id to dash_clientside.callback_context. Fixes #2692
  • #2723 Improve dcc Slider/RangeSlider tooltips. Fixes #1846
    • Add tooltip.template a string for the format template, {value} will be formatted with the actual value.
    • Add tooltip.style a style object to give to the div of the tooltip.
    • Add tooltip.transform a reference to a function in the window.dccFunctions namespace.
  • #2732 Add special key _dash_error to setProps, allowing component developers to send error without throwing in render. Usage props.setProps({_dash_error: new Error("custom error")})

Fixed

  • #2732 Sanitize html props that are vulnerable to xss vulnerability if user data is inserted. Fix Validate url to prevent XSS attacks #2729

Changed

  • #2652 dcc.Clipboard supports htm_content and triggers a copy to clipboard when n_clicks are changed
  • #2721 Remove ansi2html, fixes #2613

Dash v2.14.2

28 Nov 00:56
Compare
Choose a tag to compare

Fixed

  • #2700 Fix _allow_dynamic_callbacks for newly-added components.

Dash v2.14.1

26 Oct 20:29
8e025a9
Compare
Choose a tag to compare

Fixed

  • #2672 Fix get_caller_name in case the source is not available.

Changed

  • #2674 Raise flask & werkzeug limits to <3.1

Dash v2.14.0

11 Oct 15:59
7ea246c
Compare
Choose a tag to compare

Fixed

  • #2634 Fix deprecation warning on pkg_resources, fix #2631

Changed

  • #2635 Get proper app module name, remove need to give __name__ to Dash constructor.

Added

  • #2647 routing_callback_inputs allowing to pass more Input and/or State arguments to the pages routing callback
  • #2649 Add _allow_dynamic_callbacks, register new callbacks inside other callbacks.
    WARNING: dynamic callback creation can be dangerous, use at you own risk. It is not intended for use in a production app, multi-user or multiprocess use as it only works for a single user.

Dash v2.13.0

28 Aug 15:33
7adb654
Compare
Choose a tag to compare

Changed

  • #2610 Load plotly.js bundle/version from plotly.py

Added

  • #2630 New layout hooks in the renderer

Dash v2.12.1

16 Aug 18:05
d131833
Compare
Choose a tag to compare

Fixed

  • #2625 Fix background callbacks without cancel arguments failing setup, fix #2624

Dash v2.12.0

14 Aug 20:14
ee88361
Compare
Choose a tag to compare

Fixed

  • #2619 Fix for dash-table column IDs containing special characters
  • #2616 Add mapping of tsconfig compiler option moduleResolution, fixes #2618
  • #2596 Fix react-dom throwing unique key prop error for markdown table, fix #1433
  • #2589 CSS for input elements not scoped to Dash application
  • #2599 Fix background callback cancel inputs used in multiple callbacks and mixed cancel inputs across pages.

Changed

  • #2593 dcc.Input accepts a number for its debounce argument

Updated

  • #2621 Update plotly.js to 2.25.2 from 2.24.2
    • Feature release 2.25.0, Add "Equal Earth" project, options to include legends for shapes, Plotly.deleteActivateShape.
    • Patch release 2.24.3 Fix for doubles clicks and legend group.
    • Patch release 2.25.1 Fix clearing legend using react.
    • Patch release 2.25.2 Fix potential prototype pollution in plot API calls.