Dash and Dash Renderer
Added
- #1702 Added a new
@app.long_callback
decorator 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
orjson
package is installed. - #1736 Add support for
request_refresh_jwt
hook and retry requests that used expired JWT tokens.
Changed
- #1679 Restructure
dash
,dash-core-components
,dash-html-components
, anddash-table
into a singular monorepo and move component packages intodash
. This change makes the component modules available for import within thedash
namespace, and simplifies the import pattern for a Dash app. From a development standpoint, all future changes to component modules will be made within thecomponents
directory, and relevant packages updated with thedash-update-components
CLI command. - #1707 Change the default value of the
compress
argument to thedash.Dash
constructor 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=True
to thedash.Dash
constructor. - #1734 Added
npm run build
script to simplify build process involvingdash-renderer
and 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-format
upgrade. - Many new
geo
projections. - Improved rendering and performance of
scattergl
,splom
andparcoords
traces.
- More number formatting options due to
- Feature release 2.4.0:
legend.groupclick
bbox
of 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.Tooltip
component. This is particularly useful for rich hover information ondcc.Graph
charts, using thebbox
information 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
html
elements -<command>
,<element>
,<isindex>
,<listing>
,<multicol>
,<nextid>
. These are obsolete and had been previously removed from the reference table.