Skip to content

Commit 599cccb

Browse files
author
Marc-André Rivet
committed
Merge remote-tracking branch 'origin/dev' + update renderer build artifacts
2 parents 9dc11a5 + 3ec55b5 commit 599cccb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+8443
-4058
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22
All notable changes to `dash` will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [1.11.0] - 2020-04-10
6+
### Added
7+
- [#1103](https://github.com/plotly/dash/pull/1103) Pattern-matching IDs and callbacks. Component IDs can be dictionaries, and callbacks can reference patterns of components, using three different wildcards: `ALL`, `MATCH`, and `ALLSMALLER`, available from `dash.dependencies`. This lets you create components on demand, and have callbacks respond to any and all of them. To help with this, `dash.callback_context` gets three new entries: `outputs_list`, `inputs_list`, and `states_list`, which contain all the ids, properties, and except for the outputs, the property values from all matched components.
8+
- [#1103](https://github.com/plotly/dash/pull/1103) `dash.testing` option `--pause`: after opening the dash app in a test, will invoke `pdb` for live debugging of both Javascript and Python. Use with a single test case like `pytest -k cbwc001 --pause`.
9+
10+
### Changed
11+
- [#1103](https://github.com/plotly/dash/pull/1103) Multiple changes to the callback pipeline:
12+
- `dash.callback_context.triggered` now does NOT reflect any initial values, and DOES reflect EVERY value which has been changed either by activity in the app or as a result of a previous callback. That means that the initial call of a callback with no prerequisite callbacks will list nothing as triggering. For backward compatibility, we continue to provide a length-1 list for `triggered`, but its `id` and `property` are blank strings, and `bool(triggered)` is `False`.
13+
- A user interaction which returns the same property value as was previously present will not trigger the component to re-render, nor trigger callbacks using that property as an input.
14+
- Callback validation is now mostly done in the browser, rather than in Python. A few things - mostly type validation, like ensuring IDs are strings or dicts and properties are strings - are still done in Python, but most others, like ensuring outputs are unique, inputs and outputs don't overlap, and (if desired) that IDs are present in the layout, are done in the browser. This means you can define callbacks BEFORE the layout and still validate IDs to the layout; and while developing an app, most errors in callback definitions will not halt the app.
15+
16+
### Fixed
17+
- [#1103](https://github.com/plotly/dash/pull/1103) Fixed multiple bugs with chained callbacks either not triggering, inconsistently triggering, or triggering multiple times. This includes: [#635](https://github.com/plotly/dash/issues/635), [#832](https://github.com/plotly/dash/issues/832), [#1053](https://github.com/plotly/dash/issues/1053), [#1071](https://github.com/plotly/dash/issues/1071), and [#1084](https://github.com/plotly/dash/issues/1084). Also fixed [#1105](https://github.com/plotly/dash/issues/1105): async components that aren't rendered by the page (for example in a background Tab) would block the app from executing callbacks.
18+
519
## [1.10.0] - 2020-04-01
620
### Added
721
- [#1134](https://github.com/plotly/dash/pull/1134) Allow `dash.run_server()` host and port parameters to be set with environment variables HOST & PORT, respectively

dash-renderer/dash_renderer/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sys
22

33
__file__
4-
__version__ = "1.3.0"
4+
__version__ = "1.4.0"
55

66
_js_dist_dependencies = [
77
{
@@ -42,7 +42,7 @@
4242
{
4343
"relative_package_path": "{}.min.js".format(__name__),
4444
"dev_package_path": "{}.dev.js".format(__name__),
45-
"external_url": "https://unpkg.com/dash-renderer@1.3.0"
45+
"external_url": "https://unpkg.com/dash-renderer@1.4.0"
4646
"/dash_renderer/dash_renderer.min.js",
4747
"namespace": "dash_renderer",
4848
},

dash-renderer/dash_renderer/dash_renderer.dev.js

+2,836-1,409
Large diffs are not rendered by default.

dash-renderer/dash_renderer/dash_renderer.min.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash-renderer/digest.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"MD5 (dash_renderer.dev.js)":"ce92a68860c00cabcfd6a84270b1c3e5",
3-
"MD5 (dash_renderer.min.js)":"dabe65b8acbd6cf956c4f0b4595deccb",
2+
"MD5 (dash_renderer.dev.js)":"12ee1dc65b2f5bf5877a336b2834f120",
3+
"MD5 (dash_renderer.min.js)":"41a5fa682ba3442a46539a231aeebd48",
44
"MD5 ([email protected])":"5090bae2c114802440412e301bdf5174",
55
"MD5 ([email protected])":"85947944e396a28895fad5f553eee36f",
66
"MD5 ([email protected])":"e3053393609bd2744010498629a43597",
77
"MD5 ([email protected])":"b6ce9c17ff84a6d80ff79dd47c7adb9a",
88
"MD5 ([email protected])":"a5a4de9578054f7fb44dd553574d0931",
99
"MD5 ([email protected])":"c0f26206f3dc7a9ec41f1608da1245cc",
1010
"MD5 ([email protected])":"0a82f766cc2d7330a971407e82c4e4a1",
11-
"dash-renderer":"1.3.0"
11+
"dash-renderer":"1.4.0"
1212
}

0 commit comments

Comments
 (0)