📣 Dash v1.10.0 Release - New dcc.Graph features, updated dcc.Link, React upgrade and bug fixes

Update: version 1.16 has been released since this was posted.

Dash v1.10.0 is a minor release with minor bug fixes and incremental feature improvements :tada:

Official Changelog
Dash v1.10.0

Highlights

  • dash.run_server() host and port parameters through environment variables HOST and PORT
  • Update React version from 16.8.6 to 16.13.0
  • Improved dcc.Link:
    • New title prop which is used for tooltips
    • children defaults to href if not defined,
    • click modifiers. dcc.Link behaves more like a proper html.A. Most notably, this means that if you control-click on a link, it will open in a new tab just like a regular link.
    • absolute path bug fix
  • dcc.Location callback bug fix
  • Update Plotly.js, the library behind the dcc.Graph, component to v1.53.0, compatible with the recently-released Plotly.py 4.6
    • rangebreaks on date axes #4614 which allow you to exclude weekends from time series. This is especially important for financial charts displaying data when the markets are open and excluding when they are closed (like weekends).
    • (x|y) unified hovermode #4620. This allows you to combine your hover tooltips on the graph into a single hover label instead of having multiple hover labels for each trace.
    • “hovered data” mode to spikesnap #4665
    • “full-json” export format to Plotly.toImage and Plotly.dowloadImage #4593
    • node.customdata and link.customdata in sankey traces #4621
    • opacityscale for surface traces #4480

Previous Releases
Dash v1.9.0
Dash v1.8.0
Dash v1.7.0

Component developers
Upgrading from React 16.8.6 to 16.13.0 makes it possible to use all the latest React syntax and features when developing components.

Do note that unsafe lifecycle events componentWillMount, componentWillReceiveProps, componentWillUpdate have been deprecated and need to be updated to the UNSAFE_* version.

Documentation Updates

We will update this post when documentation is available for the new dcc.Graph features.

Upcoming Release

Support for dynamic callbacks via what we’re tentatively calling “Pattern Matching” callbacks will be available in the next release, alongside many bug fixes to callback updates. See preliminary documentation in Pull requests · plotly/dash-docs · GitHub. Coming soon, likely next week!

4 Likes