Skip to content

Commit db46d81

Browse files
authored
Merge pull request #2039 from plotly/long-callback-errors
Long callback refactor
2 parents 7558567 + 2fb1cfa commit db46d81

27 files changed

+1245
-428
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ This project adheres to [Semantic Versioning](https://semver.org/).
99
- [#2098](https://github.com/plotly/dash/pull/2098) Accept HTTP code 400 as well as 401 for JWT expiry
1010
- [#2097](https://github.com/plotly/dash/pull/2097) Fix bug [#2095](https://github.com/plotly/dash/issues/2095) with TypeScript compiler and `React.FC` empty valueDeclaration error & support empty props components.
1111
- [#2104](https://github.com/plotly/dash/pull/2104) Fix bug [#2099](https://github.com/plotly/dash/issues/2099) with Dropdown clearing search value when a value is selected.
12+
- [#2039](https://github.com/plotly/dash/pull/2039) Fix bugs in long callbacks:
13+
- Fix [#1769](https://github.com/plotly/dash/issues/1769) and [#1852](https://github.com/plotly/dash/issues/1852) short interval makes job run in loop.
14+
- Fix [#1974](https://github.com/plotly/dash/issues/1974) returning `no_update` or raising `PreventUpdate` not supported with celery.
15+
- Fix use of the callback context in celery long callbacks.
16+
- Fix support of pattern matching for long callbacks.
17+
18+
### Added
19+
20+
- [#2039](https://github.com/plotly/dash/pull/2039) Long callback changes:
21+
- Add `long=False` to `dash.callback` to use instead of `app.long_callback`.
22+
- Add previous `app.long_callback` arguments to `dash.callback` prefixed with `long_` (`interval`, `running`, `cancel`, `progress`, `progress_default`, `cache_args_to_ignore`, `manager`)
1223

1324
## [2.5.1] - 2022-06-13
1425

0 commit comments

Comments
 (0)