github plotly/dash v2.0.0
Dash v2.0.0

latest releases: v2.18.2, v2.18.1, v2.18.0...
3 years ago

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, and dash-table into a singular monorepo and move component packages into dash. This change makes the component modules available for import within the dash namespace, and simplifies the import pattern for a Dash app. From a development standpoint, all future changes to component modules will be made within the components directory, and relevant packages updated with the dash-update-components CLI command.
  • #1707 Change the default value of the compress argument to the dash.Dash constructor to False. 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 adding compress=True to the dash.Dash constructor.
  • #1734 Added npm run build script to simplify build process involving dash-renderer and subcomponent libraries within dash.

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 and parcoords traces.
    • 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.
  • #1735 New dcc.Tooltip component. This is particularly useful for rich hover information on dcc.Graph charts, using the bbox 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.

Don't miss a new dash release

NewReleases is sending notifications on new releases.