Skip to content

Releases: plotly/dash

Dash v1.20.0

08 Apr 22:35
49a80bb
Compare
Choose a tag to compare

Dash and Dash Renderer

Changed

  • #1531 Update the format of the docstrings to make them easier to read in the reference pages of Dash Docs and in the console. This also addresses #1205
  • #1553 Increase the z-index of the Dash error menu from 1001 to 1100 in order to make sure it appears above Bootstrap components.

Fixed

  • #1546 Validate callback request outputs vs output to avoid a perceived security issue.

Dash Core Components

Added

  • #863 Adds a new Download component. Along with this several utility functions are added to help construct the appropriate data format:
    • dcc.send_file - send a file from disk
    • dcc.send_data_frame - send a DataFrame, using one of its writer methods
    • dcc.send_bytes - send a bytestring or the result of a bytestring writer
    • dcc.send_string - send a string or the result of a string writer

Changed

  • #923
    Set autoComplete to off in dcc.Dropdown. This fixes #808

Fixed

  • #930 Fixed a bug #867 with DatePickerRange that would sometimes shift the allowed dates by one day.
  • #934 Fixed a bug in EnhancedTab component that ignored disabled_className property

Dash HTML Components

Fixed

  • #179 - Fixes #77 Added allow and referrerPolicy properties to html.Iframe

  • #178 - Fix #161 data property, and fix #129 obsolete, deprecated, and discouraged elements. No elements were removed, but comments were added to the documentation about these elements detailing their limitations.

    Dash Table

    Changed

    • #862 - update docstrings per #1205
    • #878 - update build process to use Webpack 5 and other latest dependencies

Dash v1.19.0

20 Jan 00:00
1ba1275
Compare
Choose a tag to compare

Dash and Dash Renderer

Added

  • #1508 Fix #1403: Adds an x button
    to close the error messages box.
  • #1525 Adds support for callbacks which have overlapping inputs and outputs. Combined with dash.callback_context this addresses many use cases which require circular callbacks.

Changed

  • #1503 Fix #1466: loosen dash[testing] requirements for easier integration in external projects. This PR also bumps many dash[dev] requirements.

Fixed

  • #1530 Dedent error messages more carefully.
  • #1527🐛 get_asset_url now pulls from an external source if assets_external_path is set.
    • updated _add_assets_resource to build asset urls the same way as get_asset_url.
    • updated doc string for assets_external_path Dash argument to be more clear that it will allways be joined with the assets_url_path argument when determining the url to an external asset.
  • #1493 Fix #1143, a bug where having a file with one of several common names (test.py, code.py, org.py, etc) that imports a dash component package would make import dash fail with a cryptic error message asking whether you have a file named "dash.py"

Dash Core Components

Fixed

  • #905 Make sure the figure prop of dcc.Graph receives updates from user interactions in the graph, by using the same layout object as provided in the prop rather than cloning it. Fixes #879.
  • #903 Part of fixing dash import bug #1143

Updated

Added

  • #888 Adds a drag_value prop to dcc.Sliderto be able to fire callbacks from dragging and releasing the slider.

Dash HTML Components

Fixed

  • #169 - part of fixing dash import bug #1143

Dash Table

Fixed

  • #854 - part of fixing dash import bug #1143

Dash v1.18.1

09 Dec 22:01
1cc7b3e
Compare
Choose a tag to compare

Dash-Core-Components

Updated

Dash v1.18.0

07 Dec 22:26
f776fa0
Compare
Choose a tag to compare

Dash-Table

Fixed

  • #844 Fix a bug where the table is using classes that are styled by Bootstrap

Dash-Core-Components

Updated

Dash v1.17.0

29 Oct 21:21
Compare
Choose a tag to compare

Dash and Dash-Renderer

Changed

  • #1442 Update from React 16.13.0 to 16.14.0

Fixed

  • #1434 Fix #1432 for Julia to import non-core component packages without possible errors.

Changed

  • #1448 Provide a hint in the callback error when the user forgot to make app.callback(...) a decorator.

Dash-Core-Components

Added

  • #871 Add Julia syntax highlighting support for dcc.Markdown

Fixed

  • #878
    • Fixed #751, a bug that causes dcc.Slider and dcc.RangerSlider tooltips to be visible even if the slider component isn't visible (e.g. overflow),

Updated

Dash-Table

Fixed

  • #841
    • Fix prop-types regression causing console errors in browser devtools
    • Fix syntax highlighting regression for Markdown cells
  • #842 Fix a regression introduced with #722 causing the tooltips to be misaligned with respect to their parent cell and incompletely addressed in #817

Added

  • #841 Add Julia syntax highlighting support for Markdown cells
  • #831 Add the tooltip_header prop and add nested prop use_with (with values: header, data, both) to the tooltip prop to configure header cell tooltips

Dash v1.16.3

07 Oct 20:54
Compare
Choose a tag to compare

Dash and Dash-Renderer

Fixed

  • #1426 Fix a regression caused by flask-compress==1.6.0 causing performance degradation on server requests

Dash v1.16.2

25 Sep 12:40
Compare
Choose a tag to compare

Dash and Dash-Renderer

Fixed

  • #1415 Fix a regression with some layouts callbacks involving dcc.Tabs, not yet loaded dash_table.DataTable and dcc.Graph to not be called
  • #1416 Make callback graph more robust for complex apps and some specific props (width in particular) that previously caused errors.

Dash v1.16.1

16 Sep 21:06
Compare
Choose a tag to compare

Dash and Dash-Renderer

Changed

  • #1376 Extends the getTransform logic in the renderer to handle persistenceTransforms for both nested and non-nested persisted props. This was used to to fix dcc#700 in conjunction with dcc#854 by using persistenceTransforms to strip the time part of the datetime so that datepickers can persist when defined in callbacks.

Fixed

  • #1408 Fixes a bug where the callback graph layout would reset whenever a callback fired, losing user-initiated layout changes (#1402) or creating a new force layout (#1401)

Dash-Core-Components

Fixed

  • #854 Used persistenceTransforms to strip the time part of the datetime in the persited props of DatePickerSingle (date) and DatePickerRange (end_date, start_date), fixing dcc#700.

Added

  • #850 Add property prependData to Graph to support Plotly.prependTraces
    • refactored the existing extendTraces API to be a single mergeTraces API that can handle both prepend as well as extend.

Updated

Dash v1.16.0

03 Sep 18:20
Compare
Choose a tag to compare

Dash and Dash-Renderer

Added

  • #1371 You can now get CSP script-src hashes of all added inline scripts by calling app.csp_hashes() (both Dash internal inline scripts, and those added with app.clientside_callback) .

Changed

  • #1385 Closes #1350 and fixes a previously undefined callback behavior when multiple elements are stacked on top of one another and their n_clicks props are used as inputs of the same callback. The callback will now trigger once with all the triggered n_clicks props changes.
  • #1179 New and improved callback graph in the debug menu. Now based on Cytoscape for much more interactivity, plus callback profiling including number of calls, fine-grained time information, bytes sent and received, and more. You can even add custom timing information on the server with callback_context.record_timing(name, seconds)

Fixed

  • #1384 Fixed a bug introduced by #1180 breaking use of prevent_initial_call as a positional arg in callback definitions

Dash-Core-Components

Updated

Dash v1.15.0

25 Aug 18:32
Compare
Choose a tag to compare

Dash and Dash Renderer

Added

  • #1355 Removed redundant log message and consolidated logger initialization. You can now control the log level - for example suppress informational messages from Dash with app.logger.setLevel(logging.WARNING).
  • #1253, #1377 Added experimental --jl-prefix option to dash-generate-components, optionally generates Julia version of components and corresponding Julia package

Changed

  • #1180 and #1375 Input, Output, and State in callback definitions don't need to be in lists. You still need to provide Output items first, then Input items, then State, and the list form is still supported. In particular, if you want to return a single output item wrapped in a length-1 list, you should still wrap the Output in a list. This can be useful for procedurally-generated callbacks.
  • #1368 Updated pytest to v6.0.1. To avoid deprecation warnings, this also updated pytest-sugar to 0.9.4 and pytest-mock to 3.2.0. The pytest-mock update only effects python >= 3.0. Pytest-mock remains pinned at 2.0.0 for python == 2.7.

Dash Core Components

Added

  • #851 Add support for Dash.jl Julia built components
  • #840 Add styling properties to dcc.Loading component
    • parent_className: Add CSS class for the outermost dcc.Loading parent div DOM node
    • parent_style: Add CSS style property for the outermost dcc.Loading parent div DOM node
    • provides a workaround for the previous behaviour the of className property, which changed in #740. parent_className (or inline styles in parent_style) now allow CSS rules to be applied to the outermost dcc.Loading div, which is no longer covered by className on loading completion as of Dash Core Components >= 1.9.1 (Dash >= 1.11.0).

Dash HTML Components

Added

  • #165 Add support for Dash.jl Julia component generation.

Dash Table

Added

  • #820 Add support for Dash.jl Julia built components

Fixed

  • #817 Fix a regression introduced with #722 causing the tooltips to be misaligned with respect to their parent cell
  • #818 Fix a regression causing copy/paste not to work when selecting a range of cells with Shift + mouse click
  • #819 Fix pagination page_current and page_count fields to accommodate larger numbers