Dash v1.21.0
Dash and Dash Renderer
Added
- #1675 Add new
Dashconstructor argumentextra_hot_reload_paths. This allows you to re-initialize the Python code of the app when non-Python files change, if you know that these files impact the app.
Changed
- #1675 Remove the constraint that
requests_pathname_prefixends withroutes_pathname_prefix. When you are serving your app behind a reverse proxy that rewrites URLs that constraint needs to be violated. - #1611 and #1685 Package dash-renderer artifacts and dependencies with Dash, and source renderer resources from within Dash.
- #1567 Julia component generator puts components into
src/jl- fixes an issue on case-insensitive filesystems when the component name and module name match (modulo case) and no prefix is used. Also reduces JS/Julia clutter in the overloadedsrcdirectory.
Fixed
- #1664 Fix #1649, makes the devtools readable with a dark theme.
- #1640 Fix #1475, missing
timing_informationafter certain modifications to Flask behavior
Dash Core Components
Fixed
-
This applies the fix from #878 to the RangeSlider.
It not only fixes the bug where the tooltips were visible when slider was not, but it also reduces the lag in the
tooltip when the slider handles are moved.
Updated
- #939 Upgrade Plotly.js to v2.2.1. Note that this is a major version upgrade to Plotly.js, however we are not treating this as a breaking change for DCC as the majority of breaking changes in Plotly.js do not affect the Dash API. The one exception is that several trace types that have long been deprecated are removed entirely.
- Major release 2.0.0:
- Stop exporting d3 as
Plotly.d3, and remove many other deep pieces of the public API. This does not affect thedcc.Graphcomponent, but if you make use ofPlotlyfrom the global scope in some other way you may be affected. - Drop the deprecated trace types
contourglandarea, as well as legacy pre-scatterpolarpolar attributesbar.r,bar.t,scatter.r,scatter.t,layout.radialaxis,layout.angularaxis. Usescatterpolar,barpolar, andpolarsubplots instead. heatmapglandpointcloudtrace types, and thetransformattribute are deprecated, and will be removed in a future release.- Increase CSP safety by removing function constructors. 3D plots still use function constructors, but if you place one of the non-3D bundles (including the new
strictbundle) in yourassetsfolder you will have no function constructors. - Remove "Aa" text in legends.
- Default
hovermodeto "closest". - Default
textpositionto "auto" inbartraces. If you previously used thebar.textattribute for hover only, you will need to explicitly settextposition="none". - Add
bar.marker.pattern,image.zsmooth, and various other features and bugfixes.
- Stop exporting d3 as
- Feature release 2.1.0:
- New
icicletrace type. - New
legendranktrace attribute. - Several other additions and bug fixes.
- New
- Feature release 2.2.0:
- Legend group titles
- Half-year directive (
%h) for date formatting - Several other bug fixes and performance improvements
- Patch release 2.2.1 containing a security fix.
- Major release 2.0.0:
Added
- #932 Adds a new copy to clipboard component.
- #948] Adds
disabled_daysprop toDatePickerRangeandDatePickerSinglecomponents. With this prop you can specify days that should be made unselectable in the date picker, in addition to those that fall outside of the range specified bymin_date_allowedandmax_date_allowed.
Changed
- #972 Updated R package vignettes and
dash-info.yamlto regenerate examples without attaching now-deprecated core component packages (dashHtmlComponents,dashCoreComponents, ordashTable).
Dash HTML Components
Changed
- #194 Updated dependencies and build process
- #190 Updated R package vignettes and
dash-info.yamlto regenerate examples without attaching now-deprecated core component packages (dashHtmlComponents,dashCoreComponents, ordashTable).
Dash Table
Fixed
Added
-
- Added
htmloption tomarkdown_optionsprop. This enables the use of html tags in markdown text.
- Added
-
- Case insensitive filtering
- New props:
filter_options- to control case of all filters,columns.filter_options- to control filter case for each column - New operators:
i=,ieq,i>=,ige,i>,igt,i<=,ile,i<,ilt,i!=,ine,icontains- for case-insensitive filtering,s=,seq,s>=,sge,s>,sgt,s<=,sle,s<,slt,s!=,sne,scontains- to force case-sensitive filtering on case-insensitive columns
Changed
- #918 Updated all dependencies. In particular the
highlight.jsupgrade changes code highlighting in markdown: we have long used their "github" style, this has been updated to more closely match current github styles. - #901 Updated R package
dash-info.yamlto regenerate example without attaching now-deprecated core component packages (dashHtmlComponents,dashCoreComponents, ordashTable).