You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2026/08/10 22:43:11 UTC

(superset) branch hughhhh/handle-empty-query-context updated (e3c178156fd -> ade4e000950)

This is an automated email from the ASF dual-hosted git repository.

hughhhh pushed a change to branch hughhhh/handle-empty-query-context
in repository https://gitbox.apache.org/repos/asf/superset.git


    from e3c178156fd fix(dashboard): let soft timeouts escape the query-context builder hook
     add c09d5bf6a99 fix(helm): add missing task modules to default CeleryConfig imports (#42945)
     add 3539c41dab2 chore(deps): bump cryptography from 49.0.0 to 50.0.0 (#42906)
     add 7cd6c747575 chore(deps-dev): bump @types/lodash from 4.17.24 to 4.17.25 in /superset-frontend (#42974)
     add 4c9bd69eb47 chore(deps): bump antd from 6.5.2 to 6.5.3 in /superset-frontend (#42973)
     add ee5fb095da2 chore(deps-dev): bump baseline-browser-mapping from 2.11.8 to 2.11.11 in /superset-frontend (#42972)
     add 2be726ddad3 chore(deps-dev): bump tsx from 4.23.1 to 4.23.5 in /superset-frontend (#42971)
     add 10cf2e20f9f chore(deps-dev): bump eslint-plugin-jest-dom from 5.7.0 to 5.10.1 in /superset-frontend (#42970)
     add d41032b70ae chore(deps): bump Kesin11/actions-timeline from 3.1.1 to 3.2.0 (#42969)
     add e12818897de chore(deps): bump github/codeql-action/init from 4.37.3 to 4.37.5 (#42967)
     add d7edf610a93 chore(deps-dev): bump @babel/types from 7.29.7 to 7.29.8 in /superset-frontend in the babel group (#42966)
     add 73478c52745 chore(deps): bump baseline-browser-mapping from 2.11.8 to 2.11.11 in /docs (#42964)
     add 346dbd6a98e chore(deps): bump js-yaml from 5.2.2 to 5.2.3 in /docs (#42963)
     add 9719c7de246 chore(deps-dev): bump globals from 17.8.0 to 17.9.0 in /docs (#42962)
     add 6a2e20cdb75 chore(deps): bump zizmorcore/zizmor-action from 0.6.1 to 0.6.2 (#42960)
     add 916c50284b8 chore(deps): bump github/codeql-action/analyze from 4.37.3 to 4.37.5 (#42965)
     add f53f634f233 chore(deps): bump antd from 6.5.2 to 6.5.3 in /docs (#42961)
     add db88abe0bbc chore(deps-dev): bump globals from 17.8.0 to 17.9.0 in /superset-websocket (#42958)
     add 9e2cb69a394 feat(database): identify configured database connection errors (#42996)
     add b815640b8fd chore(deps): bump actions/setup-java from 5.6.0 to 5.7.0 (#42968)
     add daf1718b448 fix(embedded): redact database errors in API responses to guest users (#42796)
     add c02dc7780b0 docs(mcp): add update_dashboard to write-tools enumeration (#42943)
     add f60370b6955 docs: document CACHE_REDIS_SOCKET_TIMEOUT/CONNECT_TIMEOUT config keys (#42947)
     add a9eab4a0df1 docs: document color picker for conditional formatting rule colors (#42948)
     add 4b68da82a70 docs: document number format presets, including distance/length units (#42950)
     add 341ca94ba25 docs(security): document the read-only Subject REST API (#42951)
     add 5bcd9cd0780 docs(exploring-data): document CSV/XLSX download in drill modals (#42952)
     add 7dc2afd377b docs(cache): document native filter option cache warm-up strategy (#42953)
     add 4defdbabd28 fix(dashboard): force-render virtualized charts before client-side export (#42561)
     add b98e1571043 fix(sqla): preserve float precision when mixing int/float values in IN filters (#42752)
     add d9ae0ec2fc4 fix(deckgl): hide legend when Legend Position is None (#42402)
     add 651c046e699 fix(deckgl): remove visibility condition in deckgl fill color (#42712)
     add d62a9eeda6c fix(calendar): clean up d3-tip tooltips (#41589)
     add b6504eb1110 fix(sql): resolve schema/catalog-qualified table references in CTE detection (#42717)
     add 9d6832c927c feat(formatting): add network throughput number formats for bits/s and bytes/s (#42437)
     add 50c811280e5 fix(lru-cache): don't evict another entry when overwriting an existing key (#42409)
     add 572f86c3c3a fix(deckgl): normalize legend swatch alpha channel to 0-1 for CSS rgba() (#42942)
     add 776f70bf63c chore(deps): bump ioredis from 5.11.1 to 6.0.0 in /superset-websocket (#42959)
     add 347774f9b82 fix(explore): stop the viz switcher from overflowing the control panel (#42911)
     add 178d9c4cebd fix(explore): stacked Timeseries Bar total excludes the sort-only metric (#42881)
     add 0dedc55f380 fix(dashboard): changing a theme no longer discards unsaved edits or reloads charts
     add bc85f1eacf9 fix(database): resolve default schema when file upload schema is empty (#42603)
     add 2eb1e042836 fix: hydrate JWT user before list API filters (#39946)
     add fdfc49461fa fix(sqllab): wrap process_template() in format_sql to prevent raw UndefinedError leak (#42917)
     add ade4e000950 Merge branch 'master' into hughhhh/handle-empty-query-context

No new revisions were added by this update.

Summary of changes:
 .github/workflows/check-python-deps.yml            |   2 +-
 .github/workflows/codeql-analysis.yml              |   4 +-
 .github/workflows/dependency-review.yml            |   2 +-
 .github/workflows/docker.yml                       |   2 +-
 .github/workflows/generate-FOSSA-report.yml        |   2 +-
 .github/workflows/github-action-validator.yml      |   2 +-
 .github/workflows/license-check.yml                |   2 +-
 .github/workflows/pre-commit.yml                   |   2 +-
 .github/workflows/superset-app-cli.yml             |   2 +-
 .github/workflows/superset-docs-deploy.yml         |   4 +-
 .github/workflows/superset-e2e.yml                 |   2 +-
 .github/workflows/superset-extensions-cli.yml      |   2 +-
 .github/workflows/superset-frontend.yml            |   2 +-
 .github/workflows/superset-helm-lint-test.yml      |   2 +-
 .github/workflows/superset-playwright.yml          |   2 +-
 .../workflows/superset-python-integrationtest.yml  |   2 +-
 .github/workflows/superset-python-presto-hive.yml  |   2 +-
 .github/workflows/superset-python-unittest.yml     |   2 +-
 .github/workflows/superset-translations.yml        |   2 +-
 UPDATING.md                                        |  13 +
 docs/admin_docs/configuration/cache.mdx            |  62 +++
 docs/admin_docs/security/security.mdx              |  45 ++
 .../creating-your-first-dashboard.mdx              |   4 +
 docs/docs/using-superset/embedding.mdx             |   1 +
 docs/docs/using-superset/exploring-data.mdx        |   7 +
 docs/docs/using-superset/number-formatting.mdx     |  92 ++++
 docs/package.json                                  |   8 +-
 docs/yarn.lock                                     |  52 +-
 helm/superset/Chart.yaml                           |   2 +-
 helm/superset/README.md                            |   2 +-
 helm/superset/templates/_helpers.tpl               |   1 +
 pyproject.toml                                     |   2 +-
 requirements/base.in                               |   2 +-
 requirements/base.txt                              |   4 +-
 requirements/development.txt                       |   4 +-
 superset-frontend/jest.config.js                   |   2 +-
 superset-frontend/package-lock.json                |  82 +--
 superset-frontend/package.json                     |  10 +-
 .../packages/superset-core/package.json            |   2 +-
 .../superset-core/src/theme/Theme.test.tsx         |  37 ++
 .../packages/superset-core/src/theme/Theme.tsx     |  41 +-
 .../src/utils/D3Formatting.ts                      |   5 +
 .../packages/superset-ui-core/package.json         |   2 +-
 .../src/chart/components/reactify.tsx              |  47 +-
 ...ryFormatter.ts => createThroughputFormatter.ts} |  78 +--
 .../superset-ui-core/src/number-format/index.ts    |   1 +
 .../superset-ui-core/src/utils/lruCache.ts         |   7 +-
 .../test/chart/components/reactify.test.tsx        |  38 +-
 .../factories/createThroughputFormatter.test.ts    | 131 +++++
 .../superset-ui-core/test/utils/lruCache.test.ts   |  21 +
 .../plugins/plugin-chart-calendar/src/Calendar.ts  |  15 +-
 .../plugin-chart-calendar/src/ReactCalendar.tsx    |   9 +-
 .../plugin-chart-calendar/src/tooltip.ts}          |   2 +-
 .../src/vendor/cal-heatmap.ts                      |  13 +-
 .../test/ReactCalendar.test.tsx                    | 585 +++++++++++++++++++++
 .../plugin-chart-calendar/test/tooltip.test.ts     | 136 +++++
 .../src/Timeseries/transformProps.ts               |  12 +-
 .../plugin-chart-echarts/src/utils/series.ts       |  12 +-
 .../test/Timeseries/transformProps.test.ts         |  49 ++
 .../plugin-chart-echarts/test/utils/series.test.ts |  35 ++
 .../plugins/plugin-chart-handlebars/package.json   |   2 +-
 .../plugins/plugin-chart-pivot-table/package.json  |   2 +-
 .../plugins/plugin-chart-word-cloud/package.json   |   2 +-
 .../src/components/Legend.test.tsx                 |  66 ++-
 .../preset-chart-deckgl/src/components/Legend.tsx  |  21 +-
 .../src/layers/Polygon/Polygon.test.tsx            |  72 ++-
 .../src/utilities/Shared_DeckGL.test.ts            |  55 +-
 .../src/utilities/Shared_DeckGL.tsx                |   6 +-
 .../src/components/CrudThemeProvider.test.tsx      |  63 +++
 .../src/components/CrudThemeProvider.tsx           |  92 ++--
 .../components/gridComponents/Row/Row.test.tsx     |  59 +++
 .../components/gridComponents/Row/Row.tsx          |  50 +-
 superset-frontend/src/dashboard/constants.ts       |  13 +
 .../src/dashboard/reducers/dashboardState.test.ts  |  49 ++
 .../src/dashboard/reducers/dashboardState.ts       |   2 +-
 .../components/controls/SelectControl.test.tsx     |  36 ++
 .../components/controls/VizTypeControl/index.tsx   |   2 +-
 .../UploadDataModel/UploadDataModal.test.tsx       |  28 +-
 .../features/databases/UploadDataModel/index.tsx   |  10 +-
 .../src/setup/setupFormatters.test.ts              |  22 +
 superset-frontend/src/setup/setupFormatters.ts     |   6 +
 superset-frontend/src/utils/downloadAsImage.tsx    |  17 +
 superset-frontend/src/utils/downloadAsPdf.ts       |  12 +-
 superset-frontend/src/utils/downloadUtils.test.ts  | 252 +++++++++
 superset-frontend/src/utils/downloadUtils.ts       | 197 +++++++
 superset-websocket/package-lock.json               |  39 +-
 superset-websocket/package.json                    |   4 +-
 superset/charts/data/api.py                        |   8 +-
 superset/commands/database/uploaders/base.py       |  24 +-
 superset/databases/error_provenance.py             |  51 ++
 superset/databases/schemas.py                      |  18 +
 superset/mcp_service/app.py                        |  10 +-
 superset/models/core.py                            |   2 +
 superset/models/helpers.py                         |  13 +
 superset/security/manager.py                       |  21 +-
 superset/sql/parse.py                              |  17 +
 superset/sqllab/api.py                             |  12 +
 superset/tasks/async_queries.py                    |   5 +-
 superset/utils/error_sanitization.py               | 177 +++++++
 superset/views/database/validators.py              |  22 +-
 superset/views/error_handling.py                   |  16 +-
 tests/integration_tests/base_tests.py              |  11 +
 tests/integration_tests/databases/api_tests.py     |  47 +-
 .../databases/commands/upload_test.py              |  17 +-
 tests/integration_tests/datasets/api_tests.py      |  40 +-
 tests/integration_tests/model_tests.py             |   5 +
 tests/integration_tests/sql_lab/api_tests.py       |  23 +
 tests/unit_tests/charts/test_chart_data_api.py     | 107 ++++
 .../commands/databases/upload_command_test.py      | 136 ++++-
 tests/unit_tests/databases/api_test.py             |  84 +++
 .../unit_tests/databases/error_provenance_test.py  | 250 +++++++++
 tests/unit_tests/models/core_test.py               |  98 +++-
 tests/unit_tests/models/helpers_test.py            | 100 ++++
 tests/unit_tests/security/manager_test.py          |  27 +
 tests/unit_tests/sql/parse_tests.py                |  43 ++
 tests/unit_tests/tasks/test_async_queries.py       |  41 ++
 tests/unit_tests/utils/test_error_sanitization.py  | 178 +++++++
 tests/unit_tests/views/test_error_handling.py      |  78 ++-
 118 files changed, 4224 insertions(+), 351 deletions(-)
 create mode 100644 docs/docs/using-superset/number-formatting.mdx
 copy superset-frontend/packages/superset-ui-core/src/number-format/factories/{createMemoryFormatter.ts => createThroughputFormatter.ts} (51%)
 create mode 100644 superset-frontend/packages/superset-ui-core/test/number-format/factories/createThroughputFormatter.test.ts
 copy superset-frontend/{packages/superset-ui-chart-controls/src/ace-builds.d.ts => plugins/plugin-chart-calendar/src/tooltip.ts} (91%)
 create mode 100644 superset-frontend/plugins/plugin-chart-calendar/test/ReactCalendar.test.tsx
 create mode 100644 superset-frontend/plugins/plugin-chart-calendar/test/tooltip.test.ts
 create mode 100644 superset-frontend/src/utils/downloadUtils.test.ts
 create mode 100644 superset-frontend/src/utils/downloadUtils.ts
 create mode 100644 superset/databases/error_provenance.py
 create mode 100644 superset/utils/error_sanitization.py
 create mode 100644 tests/unit_tests/databases/error_provenance_test.py
 create mode 100644 tests/unit_tests/utils/test_error_sanitization.py