Skip to content

Commit 90cf329

Browse files
authored
Merge branch 'dev' into api-exposure-callbacks
2 parents d177dcf + 1f4337a commit 90cf329

File tree

32 files changed

+11688
-49480
lines changed

32 files changed

+11688
-49480
lines changed

.github/workflows/testing.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
- 'dash/dash-renderer/**'
3535
- 'dash/_callback.py'
3636
- 'dash/_callback_context.py'
37+
- 'tests/background_callback/**'
38+
- 'tests/async_tests/**'
3739
- 'requirements/**'
3840
3941
build:
@@ -263,6 +265,10 @@ jobs:
263265
cd bgtests
264266
touch __init__.py
265267
pytest --headless --nopercyfinalize tests/background_callback -v -s
268+
269+
- name: Run Async Callback Tests
270+
run: |
271+
cd bgtests
266272
pytest --headless --nopercyfinalize tests/async_tests -v -s
267273
268274
table-unit:

.lintstagedrc.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,18 @@ const sh_cd = (directory, command) => {
2626

2727
module.exports = {
2828
// Python checks (run from root, using root venv)
29-
"*.py": (filenames) => [
29+
"dash/*.py": (filenames) => [
3030
`${venvBin("python")} -m pylint --rcfile=.pylintrc ${filenames.join(
3131
" "
32-
)}`, // Add your pylintrc if you have one
32+
)}`,
33+
`${venvBin("flake8")} ${filenames.join(" ")}`,
34+
`${venvBin("black")} --check ${filenames.join(" ")}`,
35+
],
36+
37+
"**/tests/**/*.py": (filenames) => [
38+
`${venvBin("python")} -m pylint -d all -e C0410,C0413,W0109 --rcfile=.pylintrc ${filenames.join(
39+
" "
40+
)}`,
3341
`${venvBin("flake8")} ${filenames.join(" ")}`,
3442
`${venvBin("black")} --check ${filenames.join(" ")}`,
3543
],

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,46 @@
22
All notable changes to `dash` will be documented in this file.
33
This project adheres to [Semantic Versioning](https://semver.org/).
44

5-
65
## [UNRELEASED]
76

87
## Fixed
8+
- [#3353](https://github.com/plotly/dash/pull/3353) Support pattern-matching/dict ids in `dcc.Loading` `target_components`
9+
10+
11+
# [3.1.1] - 2025-06-29
12+
13+
## Fixed
14+
[#3351](https://github.com/plotly/dash/pull/3351) Fix multi-page app with `suppress_callback_exceptions=True`
15+
16+
## [3.1.0] - 2025-06-27
17+
18+
## Fixed
19+
- [#3341](https://github.com/plotly/dash/pull/3341) Fixed query string parsing regression introduced in 2.18.2 where values containing unencoded `&` characters were being truncated. [#3106](https://github.com/plotly/dash/issues/3106)
920
- [#3279](https://github.com/plotly/dash/pull/3279) Fix an issue where persisted values were incorrectly pruned when updated via callback. Now, callback returned values are correctly stored in the persistence storage. Fix [#2678](https://github.com/plotly/dash/issues/2678)
1021
- [#3298](https://github.com/plotly/dash/pull/3298) Fix dev_only resources filtering.
1122
- [#3315](https://github.com/plotly/dash/pull/3315) Fix pages module is package check.
1223
- [#3319](https://github.com/plotly/dash/pull/3319) Fix issue where `ExternalWrapper` would remove props from the parent component, now there is a `temp` that is passed to check if it should be removed on unmount.
1324
- [#3108](https://github.com/plotly/dash/pull/3108) Fix layout as list for pages.
1425
- [#1906](https://github.com/plotly/dash/pull/1906) Make graph height more responsive.
1526
- [#2927](https://github.com/plotly/dash/pull/2927) Fix unexpected behaviour of the cursor in dcc.Input
27+
- [#3344](https://github.com/plotly/dash/pull/3344) Fix dcc.Loading target_components with * prop.
1628

1729
## Added
1830
- [#3294](https://github.com/plotly/dash/pull/3294) Added the ability to pass `allow_optional` to Input and State to allow callbacks to work even if these components are not in the dash layout.
1931
- [#3077](https://github.com/plotly/dash/pull/3077) Add new parameter `assets_path_ignore` to `dash.Dash()`. Closes [#3076](https://github.com/plotly/dash/issues/3076)
2032
- [#3202](https://github.com/plotly/dash/pull/3202) expose the closeOnSelect option in dropdown component
33+
- [#3089](https://github.com/plotly/dash/pull/3089) adding support for async callbacks and page layouts, install with `pip install dash[async]`.
2134

2235
## Changed
2336

2437
- [#3303](https://github.com/plotly/dash/pull/3303) Improve flatten_grouping performance (callback with dictionary output/input)
2538
- [#3304](https://github.com/plotly/dash/pull/3304) Speed up function _operation by 80%
2639
- [#3323](https://github.com/plotly/dash/pull/3323) Make Dash instances WSGI compliant, can now call gunicorn on the dash app itself.
2740

41+
## Updated
42+
43+
- [#3333](https://github.com/plotly/dash/pull/3333) Update flask max version to <3.2
44+
2845
## [3.0.4] - 2025-04-24
2946

3047
## Fixed

0 commit comments

Comments
 (0)