Update: version 1.16 has been released since this was posted.
Dash v1.15.0 is a backwards compatible feature & bug fix release:
- Added support for Dash.jl Julia components
- Simplified callback syntax:
Statedon’t need to be in lists
- Fixed table regressions with tooltip alignment and copy/paste
Give this a release a try with
pip install dash==1.15.0
and let us know how it goes!
- 📣 Dash v1.14.0 Released - Update the Tab's Title, Removing the "Updating..." Messages, Updated DataTable Link Behavior
- 📣 Dash v1.13.4 Release: Fixes regression with loading states from callbacks with multiple outputs
- 📣 Dash v1.13.3 Release: Improved performance, clientside callback_context, many dcc.Graph & DataTable bug fixes
- 📣 Dash v1.12.0 Release - Pattern-Matching Callbacks Fixes, Shape-drawing, new DataTable conditional formatting options, prevent_initial_call, and more
- 📣 Dash v1.11.0 Release - Introducing Pattern-Matching Callbacks
- 📣 Dash v1.10.0 Release - New dcc.Graph features, updated dcc.Link, React upgrade and bug fixes
- 📣 Dash v1.9.0 release - Bug fixes
- 📣 Dash v1.8.0 release - dcc.Graph updates, markdown & link support in DataTable, and more
- 📣 Dash v1.7.0 released - Async component fixes, inline clientside callbacks, and bug fixes
- 📣 Dash 1.6.0 released - dcc.Graph updates, async performance improvements, improved caching
In More Detail
Added support for Dash.jl Julia components
We’ve been working on Dash for Julia (Dash.jl) for the last few months. Official documentation is coming soon but for now you can get started by viewing the instructions on the Dash.jl GitHub Repo.
In 1.15.0, running this script will automatically generate the Julia components. As a component author, you don’t need to know Julia nor write any Julia code nor even have Julia installed! The same goes for Dash for R.
If you are a maintainer of a component library, then you’ll need to make the following changes to your package to support Julia:
- Upgrade to dash==1.15.0
- Modify the
<component-prefix>will be the prefix before each component and is used sort of as an alternative to namespaces. For example,
dcc.Dropdownin Python is specified as
dcc_dropdownin Julia. In this case,
- Commit the build files to your
masterbranch or to a build branch. In our repositories, we publish the build artifacts to the
masterbranch while keeping these artifacts out of git in our
devbranch. In your project, you may just include the artifacts in
masterand develop off of that branch.
- Update the
README.md, community forum posts, and documentation of your component library to indicate how to install with Julia. When artifacts are published to GitHub, they can be installed directly from the repository. You don’t need to publish to Julia’s package manager. For example, these instructions would look something like (replacing the URL with your component GitHub repo):
using Pkg Pkg.add(PackageSpec(url="https://github.com/plotly/dash-table.git", rev="master"))
- Share that you’ve added Julia support to your library as a show-and-tell topic in this community forum
As an example, see these pull requests that added Julia support:
If you need any help, then reach out to us on the forum or GitHub.
Simplified callback syntax:
State don’t need to be in lists
That is, instead of writing:
@app.callback(Output(...), [Input(...), Input(...)], [State(...), State(...)])
@app.callback( Output(...), [ Input(...), Input(...) ], [ State(...), State(...) ] )
you can just write:
@app.callback(Output(...), Input(...), Input(...), State(...), State(...))
@app.callback( Output(...), Input(...), Input(...), State(...), State(...) )
The order still matters: Outputs, then Inputs, then State.
Enjoy the simpler syntax!
This fixes an issue that @jimhendy brought up (thank you! ) in Percentage height of dcc.Loading children. See the full discussion & investigation in https://github.com/plotly/dash-core-components/issues/831#issuecomment-656742472.
Fixed table regressions with tooltip alignment and copy/paste
DataTable tooltips weren’t working with horizontal scroll. This has been fixed in this release.Thanks to @tbillah for raising this issue in DataTable tooltip view appears limited to scope of page only. This has now been fixed.
Re copy paste: This worked when you used the keyboard to navigate and select cells (shift + arrow keys) but there was a bug when copying & pasting after using the mouse to select cells: shift + click. Special thanks to @geoforce for raising this issue in Copying from datatable.