dash

Data Apps & Dashboards for Python. No JavaScript Required.

MIT License

Downloads
3.6M
Stars
20.6K
Committers
161

Bot releases are visible (Hide)

dash - Dash v2.17.0 Latest Release

Published by T4rk1n 6 months ago

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 - Dash v2.16.1

Published by T4rk1n 8 months ago

Fixed

  • #2783 Remove dynamic loading.
dash - Dash v2.16.0

Published by T4rk1n 8 months ago

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 - Dash v2.15.0

Published by T4rk1n 9 months ago

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 - Dash v2.14.2

Published by alexcjohnson 11 months ago

Fixed

  • #2700 Fix _allow_dynamic_callbacks for newly-added components.
dash - Dash v2.14.1

Published by T4rk1n 12 months ago

Fixed

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

Changed

  • #2674 Raise flask & werkzeug limits to <3.1
dash - Dash v2.14.0

Published by T4rk1n about 1 year ago

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 - Dash v2.13.0

Published by T4rk1n about 1 year ago

Changed

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

Added

  • #2630 New layout hooks in the renderer
dash - Dash v2.12.1

Published by T4rk1n about 1 year ago

Fixed

  • #2625 Fix background callbacks without cancel arguments failing setup, fix #2624
dash - Dash v2.12.0

Published by T4rk1n about 1 year ago

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.
dash - Dash v2.11.1

Published by T4rk1n over 1 year ago

Fixed

  • #2573 Disable jupyter dash in Databricks, as the implementation here does not work in a Databricks notebook. Dash Enterprise customers can use the separate databricks-dash package for this purpose.

Changed

  • #2573 Use julia --project command inside JuliaRunner.
  • #2579 Add warning if using JupyterDash
dash - Dash v2.11.0

Published by T4rk1n over 1 year ago

Added

  • #2530 Merge JupyterDash repository with Dash.
    • Add jupyter_mode argument to app.run, defaults to inline and configurable via jupyter_dash.default_mode.
    • Add prefixed arguments from JupyterDash to app.run: jupyter_width, jupyter_height, jupyter_server_url.

Fixed

  • #2555 Fix browser back button when removing one of multiple location components from layout, fix #1312
  • #2565 Fix sorting for > 10 pages, fix #2564

Updated

  • #2474 Update plotly js to 2.24.2 from 2.23.2
    • Feature release 2.24.0 add pattern to pie, funnelarea, sunburst, icicle and treemap traces
    • Patch release 2.24.1 and 2.24.2
dash - Dash v2.10.2

Published by T4rk1n over 1 year ago

Changed

  • Set Flask and Werkzeug version upper bound to <2.3.
dash - Dash v2.10.1

Published by T4rk1n over 1 year ago

Fixed

  • #2545 Fix typescript objectOf generation.
  • #2548 Fix component as props callback triggering other callbacks not in response, fix #2487.
dash - Dash v2.10.0

Published by T4rk1n over 1 year ago

Changed

  • #2538 Add an upper bound to Flask and Werkzeug versions at <2.2.3 because 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.4 after we fix incompatibilities elsewhere in the Dash ecosystem.

Added

  • #2540 Add include_pages_meta=True to Dash constructor, 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 legend references to traces.
    • Feature release 2.21.0 adds label.texttemplate to 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 - Dash v2.9.3

Published by T4rk1n over 1 year ago

Fixed

  • #2489 Fix location change event handling when Location objects 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 Patch objects by making Patch objects picklable
  • #2491 Fix clientside inline function name not found, fix #2488
dash - Dash v2.9.2

Published by T4rk1n over 1 year ago

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 multiple gunicorn workers.
  • #2471 Fix allow_duplicate output with clientside callback, fix #2467
  • #2473 Fix background callbacks with different outputs but same function, fix #2221
dash - Dash v2.9.1

Published by T4rk1n over 1 year ago

Fixed

  • #2461 Fix pytest plugin make report when testing not installed, fix #2420
dash - Dash v2.9.0

Published by T4rk1n over 1 year ago

Breaking

  • #2450 Set label style display: block if inline is false in RadioItems & Checklist components. To keep previous behavior, set inline=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.path for pages_folder, to match assets_folder
    • Fix inferring use_pages=True when you supply a custom pages_folder
    • Fix for pages_folder that includes special characters
    • New test fixture clear_pages_state
    • Make imported pages act more like regular Python modules
  • #2068 Added refresh="callback-nav" in dcc.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=True to 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.0 before running your app, or inside the app call dash._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_duplicate to Output arguments 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=True callbacks.

Changed

  • #2425 Moved the logger namespace to dash.dash, as library logger it should be on that namespace instead of the user app.

Updated

  • #2241 Update Plotly.js to v2.20.0 from v2.18.0.
    • Feature release 2.20.0 adds automargin to the main plot title.
    • Feature release 2.19.0 adds text labels to layout.shapes, and adds a labelalias property to replace specific axis tick labels.
    • Patch releases 2.18.1,
      2.18.2,
      2.19.1 fix various bugs.
dash - Dash v2.8.1

Published by T4rk1n over 1 year ago

Fixed

  • #2400 Added disable_n_clicks=True to the html.Div components in page_container.