Skip to content

Commit a530052

Browse files
authored
Merge pull request #3291 from plotly/master-3.0.4
Master 3.0.4
2 parents 551d149 + 0827c93 commit a530052

File tree

208 files changed

+8488
-10400
lines changed

Some content is hidden

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

208 files changed

+8488
-10400
lines changed

@plotly/dash-component-plugins/package-lock.json

Lines changed: 801 additions & 723 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

@plotly/dash-generator-test-component-nested/package-lock.json

Lines changed: 837 additions & 626 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

@plotly/dash-generator-test-component-standard/package-lock.json

Lines changed: 837 additions & 626 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

@plotly/dash-generator-test-component-typescript/package-lock.json

Lines changed: 830 additions & 692 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

@plotly/dash-test-components/package-lock.json

Lines changed: 837 additions & 626 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

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

5+
## [3.0.4] - 2025-04-24
6+
7+
## Fixed
8+
- [#3278](https://github.com/plotly/dash/pull/3278) Fix loading selector with children starting at the same digit. Fix [#3276](https://github.com/plotly/dash/issues/3276)
9+
- [#3280](https://github.com/plotly/dash/pull/3280) Remove flask typing import not available in earlier versions.
10+
- [#3284](https://github.com/plotly/dash/pull/3284) Fix component as props having the same key when used in the same container.
11+
- [#3287](https://github.com/plotly/dash/pull/3287) Fix typing component generation & explicitize_args.
12+
- [#3282](https://github.com/plotly/dash/pull/3282) Fix incorrect cancellation of pattern matched long callbacks.
13+
- [#3289](https://github.com/plotly/dash/pull/3289) Fixed issue with debugTitle where status doesnt exist and allow_duplicates to ignore the hash for prop loading in the target.
14+
- [#3281](https://github.com/plotly/dash/pull/3281) Use routes_pathname_prefix for internal Alive URL in Dash app. Fix [#3270](https://github.com/plotly/dash/issues/3270)
15+
516
## [3.0.3] - 2025-04-14
617

718
## Fixed

components/dash-core-components/package-lock.json

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/dash-core-components/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-core-components",
3-
"version": "3.0.5",
3+
"version": "3.0.6",
44
"description": "Core component suite for Dash",
55
"repository": {
66
"type": "git",
@@ -63,9 +63,9 @@
6363
"uniqid": "^5.4.0"
6464
},
6565
"devDependencies": {
66-
"@babel/cli": "^7.26.4",
66+
"@babel/cli": "^7.27.0",
6767
"@babel/core": "^7.26.10",
68-
"@babel/eslint-parser": "^7.26.10",
68+
"@babel/eslint-parser": "^7.27.0",
6969
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
7070
"@babel/preset-env": "^7.26.9",
7171
"@babel/preset-react": "^7.26.3",
@@ -86,7 +86,7 @@
8686
"rimraf": "^5.0.5",
8787
"style-loader": "^3.3.3",
8888
"styled-jsx": "^3.4.4",
89-
"webpack": "^5.98.0",
89+
"webpack": "^5.99.6",
9090
"webpack-cli": "^5.1.4"
9191
},
9292
"optionalDependencies": {

components/dash-core-components/src/components/Loading.react.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ const coveringSpinner = {
3131

3232
const loadingSelector = (componentPath, targetComponents) => state => {
3333
let stringPath = JSON.stringify(componentPath);
34-
// Remove the last ] for easy match
35-
stringPath = stringPath.substring(0, stringPath.length - 1);
34+
// Remove the last ] for easy match and add `,` to make sure only children
35+
// trigger the loading. See issue: https://github.com/plotly/dash/issues/3276
36+
stringPath = stringPath.substring(0, stringPath.length - 1) + ',';
3637
const loadingChildren = toPairs(state.loading).reduce(
3738
(acc, [path, load]) => {
3839
if (path.startsWith(stringPath) && load.length) {

components/dash-core-components/src/fragments/Loading/spinners/CircleSpinner.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const CircleSpinner = ({
1616
style,
1717
}) => {
1818
let debugTitle;
19-
if (debug) {
19+
if (debug && status) {
2020
debugTitle = status.map((s) => <DebugTitle {...s} />);
2121
}
2222
let spinnerClass = fullscreen ? 'dash-spinner-container' : '';

0 commit comments

Comments
 (0)