Changelogs
dash v0.40.0
dash-renderer v0.21.0
dash-core-components v0.45.0
dash-html-components v0.15.0
Highlights
- Regression fixes for Slider and RangeSlider #486, #481
- Improved renderer performance #126
- Updated dcc Markdown component #492
- Support Graph restyle event #483
In Depth
setProps & callbacks
A frequent issue has been unexpected behavior when a component is not used as an input in a callback. This often caused the component not to update correctly and usually involved setting up a âhackâ callback that would listen for some arbitrary value on the component in order for it to behave correctly. This should not be required anymore as described in the updated documentation:
-
All Dash Core Components in a layout should be registered with a callback.
- Dash FAQ chapter -
Handling the case when setProps isn't defined
- React & Component Plugins for Python Devs
Note: If you were using props.children.props
in your components, this will no longer work. The information about the direct children can still be accessed through _dashprivate_layout
like in the dcc tabs. You can also have a look at the PRs here and here for details.
- Component type information still available but only as a type/namespace string
- Nested children information is also still available through the nested layouts
Markdown
The Markdown component update now makes it possible to use Markdown tables. It better follows the Markdown guidelines, so the resulting HTML may differ between this version and the old one.
Previous Release
Dash 0.39