Skip to content

Commit 4315f7e

Browse files
committed
Merge branch 'dev' into danieldev
2 parents 9059430 + f04613c commit 4315f7e

File tree

82 files changed

+8583
-6455
lines changed

Some content is hidden

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

82 files changed

+8583
-6455
lines changed

.circleci/config.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
orbs:
44
win: circleci/[email protected]
55
percy: percy/[email protected]
6-
browser-tools: circleci/[email protected].6
6+
browser-tools: circleci/[email protected].8
77

88

99
jobs:
@@ -19,9 +19,9 @@ jobs:
1919
steps:
2020
- checkout
2121
- run: echo $PYVERSION > ver.txt
22-
- run: cat requires-*.txt > requires-all.txt
22+
- run: cat requirements/*.txt > requirements-all.txt
2323
- restore_cache:
24-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
24+
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
2525
- attach_workspace:
2626
at: ~/dash
2727
- store_artifacts:
@@ -42,9 +42,9 @@ jobs:
4242
steps:
4343
- checkout
4444
- run: echo $PYVERSION > ver.txt
45-
- run: cat requires-*.txt > requires-all.txt
45+
- run: cat requirements/*.txt > requirements-all.txt
4646
- restore_cache:
47-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
47+
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
4848
- run:
4949
name: 🏁 Build Component Packages & Update Dependencies/Artifacts
5050
command: |
@@ -67,7 +67,7 @@ jobs:
6767
cat /home/circleci/.npm/_logs/*
6868
fi
6969
- save_cache:
70-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
70+
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
7171
paths:
7272
- venv
7373
- persist_to_workspace:
@@ -101,9 +101,9 @@ jobs:
101101
- checkout
102102
- run: sudo apt-get update
103103
- run: echo $PYVERSION > ver.txt
104-
- run: cat requires-*.txt > requires-all.txt
104+
- run: cat requirements/*.txt > requirements-all.txt
105105
- restore_cache:
106-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
106+
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
107107
- browser-tools/install-browser-tools:
108108
chrome-version: 120.0.6099.71
109109
- run:
@@ -191,9 +191,9 @@ jobs:
191191
path: ~/dash
192192
- run: sudo apt-get update
193193
- run: echo $PYVERSION > ver.txt
194-
- run: cat requires-*.txt > requires-all.txt
194+
- run: cat requirements/*.txt > requirements-all.txt
195195
- restore_cache:
196-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
196+
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
197197
- browser-tools/install-browser-tools:
198198
chrome-version: 120.0.6099.71
199199
install-firefox: false
@@ -268,9 +268,9 @@ jobs:
268268
- checkout:
269269
path: ~/dash
270270
- run: echo $PYVERSION > ver.txt
271-
- run: cat requires-*.txt > requires-all.txt
271+
- run: cat requirements/*.txt > requirements-all.txt
272272
- restore_cache:
273-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
273+
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
274274
- run:
275275
name: 🌸 Lint
276276
command: |
@@ -308,9 +308,9 @@ jobs:
308308
path: ~/dash
309309
- run: sudo apt-get update
310310
- run: echo $PYVERSION > ver.txt
311-
- run: cat requires-*.txt > requires-all.txt
311+
- run: cat requirements/*.txt > requirements-all.txt
312312
- restore_cache:
313-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
313+
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
314314
- browser-tools/install-browser-tools:
315315
chrome-version: 120.0.6099.71
316316
install-firefox: false
@@ -377,9 +377,9 @@ jobs:
377377
path: ~/dash
378378
- run: sudo apt-get update
379379
- run: echo $PYVERSION > ver.txt
380-
- run: cat requires-*.txt > requires-all.txt
380+
- run: cat requirements/*.txt > requirements-all.txt
381381
- restore_cache:
382-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
382+
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
383383
- restore_cache:
384384
key: html-{{ checksum "components/dash-html-components/package.json" }}-{{ checksum "components/dash-html-components/package-lock.json" }}
385385
- browser-tools/install-browser-tools:
@@ -453,9 +453,9 @@ jobs:
453453
path: ~/dash
454454
- run: sudo apt-get update
455455
- run: echo $PYVERSION > ver.txt
456-
- run: cat requires-*.txt > requires-all.txt
456+
- run: cat requirements/*.txt > requirements-all.txt
457457
- restore_cache:
458-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
458+
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
459459
- browser-tools/install-browser-tools:
460460
chrome-version: 120.0.6099.71
461461
install-firefox: false
@@ -507,9 +507,9 @@ jobs:
507507
path: ~/dash
508508
- run: sudo apt-get update
509509
- run: echo $PYVERSION > ver.txt
510-
- run: cat requires-*.txt > requires-all.txt
510+
- run: cat requirements/*.txt > requirements-all.txt
511511
- restore_cache:
512-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
512+
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
513513
- restore_cache:
514514
key: table-{{ checksum "components/dash-table/package.json" }}-{{ checksum "components/dash-table/package-lock.json" }}
515515
- browser-tools/install-browser-tools:
@@ -581,9 +581,9 @@ jobs:
581581
- checkout:
582582
path: ~/dash
583583
- run: echo $PYVERSION > ver.txt
584-
- run: cat requires-*.txt > requires-all.txt
584+
- run: cat requirements/*.txt > requirements-all.txt
585585
- restore_cache:
586-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-all.txt" }}
586+
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requirements-all.txt" }}
587587
- restore_cache:
588588
key: dep-{{ .Branch }}-{{ checksum "components/dash-table/package-lock.json" }}-{{ checksum "components/dash-table/package.json" }}
589589
- run:

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# These owners will be the default owners for everything in
22
# the repo. Unless a later match takes precedence
3-
* @alexcjohnson @T4rk1n @ndrezn
3+
* @alexcjohnson @T4rk1n @ndrezn @gvwilson @emilykl

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ max-bool-expr=5
414414
max-branches=15
415415

416416
# Maximum number of locals for function / method body
417-
max-locals=20
417+
max-locals=25
418418

419419
# Maximum number of parents for a class (see R0901).
420420
max-parents=7

CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,52 @@ This project adheres to [Semantic Versioning](https://semver.org/).
44

55
## [UNRELEASED]
66

7+
## Fixed
8+
9+
- [#2987](https://github.com/plotly/dash/pull/2987) Fix multioutput requiring same number of no_update. Fixes [#2986](https://github.com/plotly/dash/issues/2986)
10+
- [2988](https://github.com/plotly/dash/pull/2988) Fix error handler and grouped outputs. Fixes [#2983](https://github.com/plotly/dash/issues/2983)
11+
12+
## Deprecated
13+
14+
- [#2985](https://github.com/plotly/dash/pull/2985) Deprecate dynamic component loader.
15+
- [#2985](https://github.com/plotly/dash/pull/2985) Deprecate `run_server`, use `run` instead.
16+
- [#2899](https://github.com/plotly/dash/pull/2899) Deprecate `dcc.LogoutButton`, can be replaced with a `html.Button` or `html.A`. eg: `html.A(href=os.getenv('DASH_LOGOUT_URL'))` on a Dash Enterprise instance.
17+
18+
## [2.18.0] - 2024-09-04
19+
20+
## Added
21+
22+
- [#2881](https://github.com/plotly/dash/pull/2881) Add outputs_list to window.dash_clientside.callback_context. Fixes [#2877](https://github.com/plotly/dash/issues/2877).
23+
- [#2903](https://github.com/plotly/dash/pull/2903) Add callback on_error handler, either globally on Dash init or per callback basis. Receives the exception as first argument, can return output(s) or None for `no_update`. Access to original callback context is preserved and `set_props` works inside the error handler.
24+
- [#2936](https://github.com/plotly/dash/pull/2936) Adds support for TypeScript 5.5+.
25+
- [#2789](https://github.com/plotly/dash/pull/2789) Add library loading capacity to `_allow_dynamic_callbacks`
26+
27+
## Fixed
28+
29+
- [#2898](https://github.com/plotly/dash/pull/2898) Fix error thrown when using non-existent components in callback running keyword. Fixes [#2897](https://github.com/plotly/dash/issues/2897).
30+
- [#2892](https://github.com/plotly/dash/pull/2860) Fix ensures dcc.Dropdown menu maxHeight option works with Datatable. Fixes [#2529](https://github.com/plotly/dash/issues/2529) [#2225](https://github.com/plotly/dash/issues/2225)
31+
- [#2896](https://github.com/plotly/dash/pull/2896) The tabIndex parameter of Div can accept number or string type. Fixes [#2891](https://github.com/plotly/dash/issues/2891)
32+
- [#2900](https://github.com/plotly/dash/pull/2900) Allow strings in layout list. Fixes [#2890](https://github.com/plotly/dash/issues/2890)
33+
- [#2908](https://github.com/plotly/dash/pull/2908) Fix when environment variables are ignored by Dash.run() at runtime. Fixes [#2902](https://github.com/plotly/dash/issues/2902)
34+
- [#2888](https://github.com/plotly/dash/pull/2888) Add id to dcc.Loading DOM. Fixes [#2878](https://github.com/plotly/dash/issues/2878)
35+
- [#2922](https://github.com/plotly/dash/pull/2922) Fix background callback hash_function when source is unavailable. Fixes [#1885](https://github.com/plotly/dash/issues/1885)
36+
- [#2915](https://github.com/plotly/dash/pull/2915) Fix 'AttributeError' when layout is a function that returns a list of components. Fixes [#2905](https://github.com/plotly/dash/issues/2905)
37+
- [#2956](https://github.com/plotly/dash/pull/2956) Add missing useEffect dependency to dcc.Loading component.
38+
- [#2909](https://github.com/plotly/dash/pull/2909) Rehighlights dcc.Markdown when it is updated, fixes [#2895](https://github.com/plotly/dash/issues/2895)
39+
40+
## [2.17.1] - 2024-06-12
41+
42+
## Fixed
43+
44+
- [#2860](https://github.com/plotly/dash/pull/2860) Fix dcc.Loading to apply overlay_style only to the children and not the spinner. Fixes [#2858](https://github.com/plotly/dash/issues/2858)
45+
- [#2854](https://github.com/plotly/dash/pull/2854) Fix dcc.Dropdown resetting empty values to null and triggering callbacks. Fixes [#2850](https://github.com/plotly/dash/issues/2850)
46+
- [#2859](https://github.com/plotly/dash/pull/2859) Fix base patch operators. fixes [#2855](https://github.com/plotly/dash/issues/2855)
47+
- [#2856](https://github.com/plotly/dash/pull/2856) Fix multiple consecutive calls with same id to set_props only keeping the last props. Fixes [#2852](https://github.com/plotly/dash/issues/2852)
48+
- [#2867](https://github.com/plotly/dash/pull/2867) Fix clientside no output callback. Fixes [#2866](https://github.com/plotly/dash/issues/2866)
49+
- [#2876](https://github.com/plotly/dash/pull/2876) Fix pattern matching in callback running argument. Fixes [#2863](https://github.com/plotly/dash/issues/2863)
50+
51+
## [2.17.0] - 2024-05-03
52+
753
## Added
854

955
- [#2832](https://github.com/plotly/dash/pull/2832) Add dash startup route setup on Dash init.
@@ -17,10 +63,17 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1763
- `custom_spinner` enables using a custom component for loading messages instead of built-in spinners
1864
- `display` overrides the loading status with options for "show," "hide," or "auto"
1965

66+
- [#2822](https://github.com/plotly/dash/pull/2822) Support no output callbacks. Fixes [#1549](https://github.com/plotly/dash/issues/1549)
67+
- [#2822](https://github.com/plotly/dash/pull/2822) Add global set_props. Fixes [#2803](https://github.com/plotly/dash/issues/2803)
68+
2069
## Fixed
2170

2271
- [#2362](https://github.com/plotly/dash/pull/2362) Global namespace not polluted any more when loading clientside callbacks.
2372
- [#2833](https://github.com/plotly/dash/pull/2833) Allow data url in link props. Fixes [#2764](https://github.com/plotly/dash/issues/2764)
73+
- [#2822](https://github.com/plotly/dash/pull/2822) Fix side update (running/progress/cancel) dict ids. Fixes [#2111](https://github.com/plotly/dash/issues/2111)
74+
- [#2817](https://github.com/plotly/dash/pull/2817) Change hashing algorithm from md5 to sha256, Fixes [#2697](https://github.com/plotly/dash/issues/2697).
75+
- [#2816](https://github.com/plotly/dash/pull/2816) Fix dcc.Dropdown value not updated when option is removed. Fixes [#2733](https://github.com/plotly/dash/issues/2733).
76+
- [#2823](https://github.com/plotly/dash/pull/2823) Fix None in "wait" methods causing incorrectly passing tests. Fixes [#2818](https://github.com/plotly/dash/issues/2818)
2477

2578
## [2.16.1] - 2024-03-06
2679

0 commit comments

Comments
 (0)