|
2 | 2 | All notable changes to `dash` will be documented in this file.
|
3 | 3 | This project adheres to [Semantic Versioning](https://semver.org/).
|
4 | 4 |
|
5 |
| -## [Unreleased] |
| 5 | +## [2.3.1] - 2022-03-29 |
| 6 | + |
| 7 | +### Fixed |
| 8 | + |
| 9 | +- [#1963](https://github.com/plotly/dash/pull/1963) Fix [#1780](https://github.com/plotly/dash/issues/1780) flask shutdown deprecation warning when running dashduo threaded tests. |
| 10 | +- [#1995](https://github.com/plotly/dash/pull/1995) Fix [#1992](https://github.com/plotly/dash/issues/1992) ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools'. |
| 11 | + |
| 12 | +## [2.3.0] - 2022-03-13 |
| 13 | + |
| 14 | +### Added |
| 15 | +- [#1949](https://github.com/plotly/dash/pull/1915) Add built-in MathJax support to both `dcc.Markdown` and `dcc.Graph`. A new boolean prop `mathjax` was added to these two components, defaulting to `False`. Set `mathjax=True` to enable math rendering. This work uses MathJax v3, although `dcc.Graph` and Plotly.js can also be used with MathJax v2. |
| 16 | + - In `dcc.Markdown` this has two flavors: inline math is any content between single dollar signs, for example `"$E=mc^2$"`, and "display" math (on its own line, potentially multi-line) is delimited by double dollar signs. |
| 17 | + - In `dcc.Graph`, most text fields (graph and axis titles, trace names, scatter and bar text) can use math, and it's enabled with single dollar sign delimiters. A limitation here is that currently a given piece of text can only be one or the other: if math is found, everything outside the delimiters is ignored. See https://plotly.com/python/LaTeX/ for details. |
| 18 | + - For an intro to LaTeX math, see https://en.wikibooks.org/wiki/LaTeX/Mathematics. |
| 19 | + - Big thanks to [Equinor](https://www.equinor.com/) for sponsoring this development, including the related work in Plotly.js! |
| 20 | + |
| 21 | +### Updated |
| 22 | +- [#1949](https://github.com/plotly/dash/pull/1915) Upgrade Plotly.js to v2.11.0 (from v2.9.0) |
| 23 | + - [Feature release 2.10.0](https://github.com/plotly/plotly.js/releases/tag/v2.10.0): |
| 24 | + - Support for MathJax v3 |
| 25 | + - `fillpattern` for `scatter` traces with filled area |
| 26 | + - [Feature release 2.11.0](https://github.com/plotly/plotly.js/releases/tag/v2.11.0): |
| 27 | + - Every trace type can now be rendered in a stricter CSP environment, specifically avoiding `unsafe-eval`. Please note: the `regl`-based traces (`scattergl`, `scatterpolargl`, `parcoords`, and `splom`) are only strict in the `strict` bundle, which is NOT served by default in Dash. To use this bundle with Dash, you must either download it and put it in your `assets/` folder, or include it as an `external_script` from the CDN: https://cdn.plot.ly/plotly-strict-2.11.0.min.js. All other trace types are strict in the normal bundle. |
| 28 | + - Patch release [2.10.1](https://github.com/plotly/plotly.js/releases/tag/v2.5.1) containing a bugfix for `mesh3d` traces. |
| 29 | + |
| 30 | + |
| 31 | +### Fixed |
| 32 | +- [#1915](https://github.com/plotly/dash/pull/1915) Fix bug [#1474](https://github.com/plotly/dash/issues/1474) when both dcc.Graph and go.Figure have animation, and when the second animation in Figure is executed, the Frames from the first animation are played instead of the second one. |
| 33 | + |
| 34 | +- [#1953](https://github.com/plotly/dash/pull/1953) Fix bug [#1783](https://github.com/plotly/dash/issues/1783) in which a failed hot reloader blocks the UI with alerts. |
| 35 | + |
| 36 | +- [#1942](https://github.com/plotly/dash/pull/1942) Fix bug [#1663](https://github.com/plotly/dash/issues/1663) preventing pie traces from sending `customdata` with `clickData` and other events. |
| 37 | + |
| 38 | +## [2.2.0] - 2022-02-18 |
| 39 | + |
| 40 | +### Added |
| 41 | +- [#1923](https://github.com/plotly/dash/pull/1923): |
| 42 | + - `dash.get_relative_path` |
| 43 | + - `dash.strip_relative_path` |
| 44 | + - `dash.get_asset_url` |
| 45 | + This is similar to `dash.callback` where you don't need the `app` object. It makes it possible to use these |
| 46 | + functions in the `pages` folder of a multi-page app without running into the circular `app` imports issue. |
| 47 | + |
| 48 | +### Updated |
| 49 | +- [#1911](https://github.com/plotly/dash/pull/1911) Upgrade Plotly.js to v2.9.0 (from v2.8.3). |
| 50 | + - Adds `ticklabelstep` to axes to reduce tick labels while still showing all ticks. |
| 51 | + - Displays the plotly.js version when hovering on the modebar. This helps debugging situations where there might be multiple sources of plotly.js, for example `/assets` vs the versions built into `dcc` or `ddk`. |
| 52 | + |
| 53 | +- [#1930](https://github.com/plotly/dash/pull/1930) Upgrade JavaScript dependencies across renderer and all components. |
| 54 | + |
| 55 | +### Fixed |
| 56 | +- [#1932](https://github.com/plotly/dash/pull/1932) Fixes several bugs: |
| 57 | + - Restores compatibility with IE11 [#1925](https://github.com/plotly/dash/issues/1925) |
| 58 | + - Restores `style_header` text alignment in Dash Table [#1914](https://github.com/plotly/dash/issues/1914) |
| 59 | + - Clears the unneeded `webdriver-manager` requirement from `dash[testing]` [#1919](https://github.com/plotly/dash/issues/1925) |
| 60 | + |
| 61 | +## [2.1.0] - 2022-01-22 |
6 | 62 |
|
7 | 63 | ### Changed
|
8 | 64 | - [#1876](https://github.com/plotly/dash/pull/1876) Delays finalizing `Dash.config` attributes not used in the constructor until `init_app()`.
|
@@ -61,6 +117,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
61 | 117 | return f'You have entered {value}'
|
62 | 118 | ```
|
63 | 119 |
|
| 120 | + [#1894](https://github.com/plotly/dash/pull/1894) restricted this feature so auto-generated IDs are not allowed if the app uses `dash_snapshots` (a Dash Enterprise package) or if the component uses `persistence`, as this can create confusing errors. Callback definitions can still reference components in these cases, but those components must have explicit IDs. |
| 121 | + |
64 | 122 | ## Dash Core Components
|
65 | 123 |
|
66 | 124 | ### Rearranged Keyword Arguments & Flexible Types
|
@@ -193,6 +251,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
193 | 251 | - [#1778](https://github.com/plotly/dash/pull/1778) DataTable: Fix React warnings stating
|
194 | 252 | that each child in a list should have a unique "key" prop
|
195 | 253 |
|
| 254 | +- [#1895](https://github.com/plotly/dash/pull/1895) Support debug=True if native namespace-packages are present |
| 255 | + |
196 | 256 | ## [2.0.0] - 2021-08-03
|
197 | 257 |
|
198 | 258 | ## Dash and Dash Renderer
|
|
0 commit comments