Dash v2.0.0
Dash and Dash Renderer
Added
- #1702 Added a new
@app.long_callbackdecorator to support callback functions that take a long time to run. See the PR and documentation for more information. - #1514 Perform json encoding using the active plotly JSON engine. This will default to the faster orjson encoder if the
orjsonpackage is installed. - #1736 Add support for
request_refresh_jwthook and retry requests that used expired JWT tokens.
Changed
- #1679 Restructure
dash,dash-core-components,dash-html-components, anddash-tableinto a singular monorepo and move component packages intodash. This change makes the component modules available for import within thedashnamespace, and simplifies the import pattern for a Dash app. From a development standpoint, all future changes to component modules will be made within thecomponentsdirectory, and relevant packages updated with thedash-update-componentsCLI command. - #1707 Change the default value of the
compressargument to thedash.Dashconstructor toFalse. This change reduces CPU usage, and was made in recognition of the fact that many deployment platforms (e.g. Dash Enterprise) already apply their own compression. If deploying to an environment that does not already provide compression, the Dash 1 behavior may be restored by addingcompress=Trueto thedash.Dashconstructor. - #1734 Added
npm run buildscript to simplify build process involvingdash-rendererand subcomponent libraries withindash.
Dash Core Components
Added
-
#1729 Include F#, C#, and MATLAB in markdown code highlighting, for the upcoming .NET and MATLAB flavors of dash.
-
#1735 Upgrade Plotly.js to v2.4.2. This includes:
- Feature release 2.3.0:
- More number formatting options due to
d3-formatupgrade. - Many new
geoprojections. - Improved rendering and performance of
scattergl,splomandparcoordstraces.
- More number formatting options due to
- Feature release 2.4.0:
legend.groupclickbboxof hover items in event data, to support custom dash-driven hover effects
- Patch releases 2.3.1, 2.4.1, and 2.4.2 containing various bug fixes.
- Feature release 2.3.0:
-
#1735 New
dcc.Tooltipcomponent. This is particularly useful for rich hover information ondcc.Graphcharts, using thebboxinformation included in the event data in plotly.js v2.4.0
Dash Table
Added
- #1729 Include F#, C#, and MATLAB in markdown code highlighting, for the upcoming .NET and MATLAB flavors of dash.
Dash HTML Components
Removed
- #1734 Removed the following obsolete
htmlelements -<command>,<element>,<isindex>,<listing>,<multicol>,<nextid>. These are obsolete and had been previously removed from the reference table.