Skip to content

Releases: plotly/dash

Dash v1.10.0

01 Apr 23:11
Compare
Choose a tag to compare

Dash and Dash-Renderer

Added

  • #1134 Allow dash.run_server() host and port parameters to be set with environment variables HOST & PORT, respectively

Changed

  • #1145 Update from React 16.8.6 to 16.13.0

Fixed

Dash-Core-Components

Changed

  • #766 Update from React 16.8.6 to 16.13.0
  • #768 Added title property to dcc.Link
  • #776 Update dcc.Link to set href as children if children not defined. Makes href a required prop as well.
  • #767 Updated dcc.Link to respond to click modifiers, and added a target prop.
  • #774 Fixed dcc.Location firing callbacks for wrong property.
  • 772 Modified dcc.Link to work with absolute paths if refresh=True.

Updated

Dash-Html-Components

Updated

  • Update generated props
  • Update generated R artifacts

Dash-Table

Changed

  • #713 Update from React 16.8.6 to 16.13.0

Dash v1.9.0

04 Feb 18:08
Compare
Choose a tag to compare

Dash and Dash-Renderer

Fixed

  • #1080 Handle case where dash fails to load when used inside an iframe with a sandbox attribute that only has allow-scripts

Dash-Core-Components

Changed

  • #743 Location component now emits an event on URL path update from Link component
  • #739 Async Slider and RangeSlider
  • #729 Handle case where dcc fails to load when used inside an iframe with a sandbox attribute that only has allow-scripts

Fixed

  • #730 Fixed bug in which input components with type number did not correctly update their values.
  • #731 Fixed bug where non-clearable dropdowns could still be cleared by typing backspace

Updated

Dash v1.8.0

14 Jan 18:37
Compare
Choose a tag to compare

Dash and Dash-Renderer

Added

  • #1073 Two new functions to simplify usage handling URLs and pathnames: app.get_relative_path & app.trim_relative_path.
    These functions are particularly useful for apps deployed on Dash Enterprise where the apps served under a URL prefix (the app name) which is unlike apps served on localhost:8050.
    • app.get_relative_path returns a path with the config setting requests_pathname_prefix prefixed. Use app.get_relative_path anywhere you would provide a relative pathname, like dcc.Link(href=app.relative_path('/page-2')) or even as an alternative to app.get_asset_url with e.g. html.Img(src=app.get_relative_path('/assets/logo.png')).
    • app.trim_relative_path a path with requests_pathname_prefix and leading & trailing
      slashes stripped from it. Use this function in callbacks that deal with dcc.Location pathname
      routing.
      Example usage:
    app.layout = html.Div([
        dcc.Location(id='url'),
        html.Div(id='content')
    ])
    @app.callback(Output('content', 'children'), [Input('url', 'pathname')])
    def display_content(path):
        page_name = app.strip_relative_path(path)
        if not page_name:  # None or ''
            return html.Div([
                html.Img(src=app.get_relative_path('/assets/logo.png')),
                dcc.Link(href=app.get_relative_path('/page-1')),
                dcc.Link(href=app.get_relative_path('/page-2')),
            ])
        elif page_name == 'page-1':
            return chapters.page_1
        if page_name == "page-2":
            return chapters.page_2

Changed

  • #1035 Simplify our build process.
  • #1074 Error messages when providing an incorrect property to a component have been improved: they now specify the component type, library, version, and ID (if available).

Fixed

  • #1037 Fix no_update test to allow copies, such as those stored and retrieved from a cache.

Dash-Core-Components

Added

  • #711 Added support for dcc.Link (dccLink) and nested dcc.Markdown (dccMarkdown) react components inside of dcc.Markdown
  • #706
    • Added new responsive property that overrides the underlying Plotly.js graph responsiveness from Dash-land
    • Added responsiveness on graph parent element resize (previously only worked on window.resize)
    • Added new dash-graph--pending class to dcc.Graph, present while resizing, (re-)rendering, loading

Changed

  • #723 Changed npm package content to allow source code inclusion from other projects
  • #725 Improve async graph performance by parallelizing resource fetching instead of fetching sequentially
  • #720 highlight.js is now bundled into the package, and no longer sets the window.hljs variable. Similarly to how plotly.js is handled, it is overridden by a user-provided version if one exists.

Updated

Dash-Table

Added

  • #606 Add markdown support for table cells. Cells will be rendered as markdown if the column presentation is specified as markdown.
    • Add highlight.js for syntax highlighting. If window.hljs is specified, that will be used for highlighting instead.

Fixed

  • #670 Fix a bug where derived_filter_query_structure was not getting updated properly
  • #677 Fix a bug where the table fails to load when used inside an iframe with a sandbox attribute that only has allow-scripts
  • #665 Fix a bug in Firefox where the dropdown cells height is incorrect

Dash v1.7.0

27 Nov 20:57
Compare
Choose a tag to compare

Dash and Dash-Renderer

Added

  • #967 Add support for defining
    clientside JavaScript callbacks via inline strings.
  • #1020 Allow visit_and_snapshot API in dash.testing.browser to stay on the page so you can run other checks.

Changed

  • #1026 Better error message when you forget to wrap multiple children in an array, and they get passed to other props.

Fixed

  • #1018 Fix the dash.testing stop API with process application runner in Python2. Use kill() instead of communicate() to avoid hanging.
  • #1027 Fix bug with renderer callback lock never resolving with non-rendered async component using the asyncDecorator

Dash-Core-Components

Updated

  • Upgraded plotly.js to 1.51.2 #708
    • Patch release 1.51.2 containing several bug fixes.

Changed

  • #695 Improvements to Slider and RangeSlider
    • Marks outside of the range specified by min and max are now omitted when the slider renders.
    • Padding is now dependent on the orientation (vertical or horizontal), and whether or not tooltips are always displayed.
    • The whitespace is now preserved for marks labels.

Added

  • #695 Added new property verticalHeight to Slider and RangeSlider, to allow the user to specify the height (in px) of vertical sliders. This defaults to 400.

Dash v1.6.1

14 Nov 20:56
Compare
Choose a tag to compare

Dash

Fixed

  • #1006 Fix IE11 / ES5 compatibility and validation issues
  • #1006 Fix bug with renderer wrapper component TreeContainer to prevent useless re-renders
  • #1001
    • Fix and improve the clear_input() API in dash.testing, so it's more robust handling react input.
    • make the percy_snapshot() API more robust, and the timeout of wait_for_callbacks (if set to True) will not fail the snapshot execution, but logged as potential error.

Dash-Core-Components

Fixed

  • #696 Fix IE11 compatibility issues and ES5 compatibility and validation

Changed

  • #687 Use start_date, min_date_allowed, end_date, or max_date_allowed for the initial visible month if the value of the parameter initial_visible_month is not supplied.

Dash-Html-Components

Fixed

  • #143 Fix IE11 compatibility issues and ES5 compatibility and validation

Dash-Table

Fixed

  • #637 Fix multiple issues
    • Fix IE11 compatibility issues and add ES5 compatibility and validation
    • Fix a bug with loading_state being handled incorrectly, causing the table to steal focus

Dash v.1.6.0

04 Nov 21:15
Compare
Choose a tag to compare

Dash

Fixed

  • #999 Fix fingerprint for component suites with metadata in version.
  • #983 Fix the assets loading issues when dashR application runner is handling with an app defined by string chunk.

Dash-Core-Components

Added

  • #692 Async DatePickerSingle, DatePickerRange, Dropdown, Markdown, Upload components

Dash v1.5.1

30 Oct 01:35
Compare
Choose a tag to compare

Dash and Dash-Renderer

Fixed

  • #987 Fix cache string handling for component suites with nested folders in their packages.
  • #986 Fix a bug with evaluation of _force_eager_loading when application is loaded with gunicorn

Dash v1.5.0

29 Oct 17:12
Compare
Choose a tag to compare

Dash and Dash-Renderer

Added

  • #964 Adds support for preventing updates in clientside functions.
    • Reject all updates with throw window.dash_clientside.PreventUpdate;
    • Reject a single output by returning window.dash_clientside.no_update
  • #899 Add support for async dependencies and components
  • #973 Adds support for resource caching and adds a fallback caching mechanism through etag

Dash-Core-Components

Added

  • #616 Async Graph and Plotly.js

Dash-Table

Changed

  • #554 Async loading of xlsx library on export

Dash v1.4.1

17 Oct 14:02
Compare
Choose a tag to compare

Dash and Dash-Renderer

Fixed

  • #969 Fix warnings emitted by react devtools coming from our own devtools components.

Dash-Core-Components

Updated

  • Upgraded plotly.js to 1.50.1 #681
    • Patch release 1.50.1 containing several bug fixes.

Fixed

  • #681 Fix a bug with the dcc.Graph component logging errors in certain circumstances when nested inside a dcc.Loading component

Dash-Table

Fixed

  • #618 Fix a bug with keyboard navigation not working correctly in certain circumstances when the table contains readonly columns.
  • #206 Fix a bug with copy/paste to and from column filters not working.
  • #561 Fix an incorrect React PureComponent usage causing warnings in DevTools.
  • #611 Fix a bug with copy/paste causing hidden columns to be removed from the table

Dash v1.4.0

08 Oct 19:43
Compare
Choose a tag to compare

Dash and Dash-Renderer

Added

  • #948 Support setting working directory for R apps run using the dashr fixture, primarily useful for tests with assets. dashr.start_server supports a cwd argument to set an explicit working directory, and has smarter defaults when it's omitted: if app is a path to an R script, uses the directory of that path; if app is a string, uses the directory the test file itself is in.
  • #944
    • Relevant dash.testing methods can now be called with either an element or a CSS selector: select_dcc_dropdown, multiple_click, clear_input, zoom_in_graph_by_ratio, click_at_coord_fractions.
    • Three new dash.testing methods: clear_local_storage, clear_session_storage, and clear_storage (to clear both together)
  • #937 dash.testing adds two APIs zoom_in_graph_by_ratio and click_at_coord_fractions about advanced interactions using mouse ActionChain
  • #938 Add debugging traces to dash backend about serving component suites, to verify the installed packages whenever in doubt.

Fixed

  • #944 Fix a bug with persistence being toggled on/off on an existing component.

Dash-Table

Added

#546

  • New prop export_columns that takes values all or visible (default). This prop controls the columns used during export

#597

  • Add is blank unary operator. Returns true for undefined, null and ''.

#299

  • New prop page_count that sets the maximum number of pages that are
    accessible via the pagination menu when using backend pagination.

Changed

#598

  • Allow values with whitespaces in column filters

#580

  • Change pagination menu button UI to use arrow icons instead of plain
    buttons
  • Move pagination menu to bottom-right of table
  • Include go-to-first and go-to-last buttons
  • Include current-page and total-pages display in pagination menu
  • Include input box for user to navigate directly to a page

Fixed

#460

  • The datestartswith relational operator now supports number comparison
  • Fixed a bug where the implicit operator for columns was equal instead of the expected default for the column type

#546

  • Visible columns are used correctly for both header and data rows

#563

  • Fixed a bug where any string beginning with a relational operator was being interpreted as that operator being applied to the rest of the string (e.g., "lens" was interpreted as "<=ns")

#591

  • Fixed row and column selection when multiple tables are present

#600

  • Fixed reconciliation when validation default value is 0 (number)
  • Apply reconciliation value when deleting cells, if possible

Dash-Core-Components

Added

  • Added search_value prop to Dropdown, for server-side options loading/filtering. #660

Updated

  • Upgraded plotly.js to 1.50.0 #675
    • Feature release 1.50.0 which contains:
      • A new treemap trace type for display of hierarchical data.
      • texttemplate support for all traces with on-graph text, and custom date formatting for templated on-graph and hover text.
      • Transitions (animation) for bar charts.
      • Numerous other performance improvements, features, and bug fixes.
    • Patch release 1.49.5 containing several bug fixes.