You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/04/26 23:27:10 UTC
(superset) branch chore/fc-10-explore-sqllab-misc updated (8a0e962ed9a -> 77849334047)
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a change to branch chore/fc-10-explore-sqllab-misc
in repository https://gitbox.apache.org/repos/asf/superset.git
omit 8a0e962ed9a fix(SaveModal): widen onDashboardChange param to antd SelectValue
omit 21f47dbf027 test(DatasourceControl): await userEvent.click to deflake Edit dataset test
omit 913c35a3fd2 fix(AdhocFilterControl): reset partitionColumn on datasource change
omit 6111427c625 fix(SaveModal): guard cleared dashboard selection and strip OUT_OF_TAB hash
omit 74a128b55fb fix(SqlLab): retry fetchQueryResults when resultsKey changes
omit 698c650f372 fix(CopyToClipboard): guard cloneElement for non-element copyNode
omit 05a0c326542 fix(SaveModal): restore saveAction history state dropped in function component conversion
omit e605ba80972 fix(imports): rewrite stale @apache-superset/core bare and api/core imports to correct subpaths
omit 94ce1fe5193 style: apply prettier formatting
omit 50638cfd839 fix(imports): rewrite stale @apache-superset/core/ui to current subpaths
omit 4c420e797cb chore(lint): convert explore controls, SqlLab, and misc components to function components
add 0d681338aa8 chore(deps-dev): bump baseline-browser-mapping from 2.10.16 to 2.10.20 in /superset-frontend (#39553)
add 68ee776ad61 chore(deps): update dompurify requirement from ^3.4.0 to ^3.4.1 in /superset-frontend/plugins/legacy-preset-chart-nvd3 (#39542)
add e10918307cb fix(db): Add MariaDB DDL fix for `NOCYCLE` syntax (#37582)
add bc2ffc66e51 chore(deps): update dompurify requirement from ^3.4.0 to ^3.4.1 in /superset-frontend/packages/superset-ui-core (#39543)
add 59bc895f3fd chore(deps): bump aws-actions/amazon-ecr-login from 2.1.3 to 2.1.4 (#39583)
add b6ac1ef63ce chore(deps): bump baseline-browser-mapping from 2.10.20 to 2.10.21 in /docs (#39584)
add d62f1546aa4 chore(deps): bump content-disposition from 1.0.1 to 1.1.0 in /superset-frontend (#39581)
add fc84d5d959c fix(i18n): correct Ukrainian locale flag code and language name typo (#39593)
add 9b52110ab14 chore(deps-dev): bump @typescript-eslint/eslint-plugin from 7.18.0 to 8.58.2 in /superset-frontend (#39380)
add b1b6a057d88 fix(mcp): unwrap ToolResult payload before truncation in ResponseSizeGuardMiddleware (#39578)
add 362e5bf45e9 fix(jinja): drill-to-detail respects remove_filter=True in Jinja templates (#39594)
add dae79a6cba1 fix(mcp): surface validation errors in generate_chart instead of empty response (#39522)
add acdf70176a1 fix(dashboard): prevent label overlap in non-English locales (#36669)
add 0d50fd676be fix(mcp): hide user directory metadata from responses (#39576)
add 012bf52c8c7 fix(mcp): resolve $ref by inlining definitions in compact schema (#39562)
add 39f12786a22 refactor(chart): replace word cloud sort_by_series migration with code defaults (#39575)
add f0d521dfc26 fix(reports): poll for spinner absence instead of snapshotting loading elements (#39579)
add 7c4f87615b7 fix(mcp): correct method name in API key auth (extract_api_key_from_request) (#39437)
add 970b5bcf75e fix(cross-filter): correctly cast adhoc column types when cross filtering (#39577)
add d79eb5842ad fix(mcp): protect data-model metadata from dashboard viewers (#39599)
add d7941ccfec2 fix(mcp): surface XSS sanitization in chart/dashboard names instead of silently stripping (#39491)
add d6bbe6da9bb fix(sql-lab): show table expand/collapse arrow only on hover (#39627)
add 78950fc18e1 fix(sqllab): explore to chart is disabled (#39630)
add edf4d032188 chore: bump rison to 2.0.0 (#39529)
add 57e563b1771 fix(mcp): redact dashboard data model metadata (#39632)
add 1b3d070997b chore(deps): bump react-map-gl from 8.1.0 to 8.1.1 in /superset-frontend (#39607)
add ac449021456 chore(deps): bump match-sorter from 8.2.0 to 8.3.0 in /superset-frontend (#39610)
add 66fce58697e chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.58.2 to 8.59.0 in /superset-frontend (#39612)
add 579fe23a5e5 chore(deps): bump ol from 10.8.0 to 10.9.0 in /superset-frontend (#39616)
add 6a899552176 chore(deps): bump postcss from 8.5.6 to 8.5.10 in /docs (#39639)
add ad20285dd69 fix(mcp): sanitize chart config errors and accept field name aliases (#39606)
add eb2645affe8 chore(deps): bump pillow from 12.1.1 to 12.2.0 (#39590)
add abd93444d0b fix(frontend): clean up console warnings and deprecations (#37881)
add 2026a1de6a2 fix(i18n): Fix menu bar translations not updating on language change (#34565)
add e709c191dbf chore(deps-dev): bump webpack-sources from 3.3.4 to 3.4.0 in /superset-frontend (#39611)
add 9d480bc79de chore(deps-dev): bump terser-webpack-plugin from 5.4.0 to 5.5.0 in /superset-frontend (#39615)
add 3da51ac3ebc chore(deps): bump d3-cloud from 1.2.8 to 1.2.9 in /superset-frontend (#39617)
add 96595965b87 chore(deps): bump maplibre-gl from 5.23.0 to 5.24.0 in /superset-frontend (#39619)
add 2c7d25f8299 chore(deps-dev): bump html-webpack-plugin from 5.6.6 to 5.6.7 in /superset-frontend (#39609)
add f255f63953c chore(deps): bump react-diff-viewer-continued from 4.2.0 to 4.2.2 in /superset-frontend (#39613)
add 30bd490b848 fix: delete Chart under "All" in home page doesn't refresh after dele⦠(#39471)
add 8f6a03050ad chore(lint): convert explore controls, SqlLab, and misc components to function components
add e1fb8b2d234 fix(imports): rewrite stale @apache-superset/core/ui to current subpaths
add 8963498813d style: apply prettier formatting
add 83b0b0fde22 fix(imports): rewrite stale @apache-superset/core bare and api/core imports to correct subpaths
add 6ddded98fcf fix(SaveModal): restore saveAction history state dropped in function component conversion
add 46c39601b38 fix(CopyToClipboard): guard cloneElement for non-element copyNode
add f455e90a20e fix(SqlLab): retry fetchQueryResults when resultsKey changes
add 1f27ae2c3b5 fix(SaveModal): guard cleared dashboard selection and strip OUT_OF_TAB hash
add fa37cfde2dc fix(AdhocFilterControl): reset partitionColumn on datasource change
add 0732dfb5b37 test(DatasourceControl): await userEvent.click to deflake Edit dataset test
add 77849334047 fix(SaveModal): widen onDashboardChange param to antd SelectValue
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (8a0e962ed9a)
\
N -- N -- N refs/heads/chore/fc-10-explore-sqllab-misc (77849334047)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/workflows/ephemeral-env-pr-close.yml | 2 +-
.github/workflows/ephemeral-env.yml | 4 +-
docs/package.json | 2 +-
docs/yarn.lock | 14 +-
pyproject.toml | 3 +-
requirements/base.txt | 5 +-
requirements/development.txt | 7 +-
superset-frontend/package-lock.json | 697 ++++++++++++---------
superset-frontend/package.json | 20 +-
.../packages/superset-ui-core/package.json | 2 +-
.../src/components/ListViewCard/index.tsx | 11 +-
.../src/components/Modal/Modal.tsx | 8 +
.../superset-ui-core/src/components/Modal/types.ts | 2 +
.../src/components/PageHeaderWithActions/index.tsx | 28 +-
.../plugins/legacy-preset-chart-nvd3/package.json | 2 +-
.../plugin-chart-echarts/src/components/Echart.tsx | 8 +-
.../plugin-chart-point-cluster-map/package.json | 4 +-
.../plugins/plugin-chart-table/src/TableChart.tsx | 2 +-
.../plugins/plugin-chart-word-cloud/package.json | 2 +-
.../src/plugin/buildQuery.ts | 2 +-
.../src/plugin/controlPanel.tsx | 2 +-
.../test/buildQuery.test.ts | 11 +
.../test/controlPanel.test.ts | 22 +
.../plugins/preset-chart-deckgl/package.json | 2 +-
.../ShareSqlLabQuery/ShareSqlLabQuery.test.tsx | 4 +-
.../TableExploreTree/TreeNodeRenderer.tsx | 23 +-
.../src/components/DatabaseSelector/index.tsx | 10 +-
.../src/components/ListView/ActionsBar.tsx | 2 +-
.../src/components/ListView/Filters/index.tsx | 4 +-
superset-frontend/src/components/ListView/types.ts | 2 +-
.../src/components/Modal/StandardModal.tsx | 2 +-
.../DashboardBuilder/DashboardBuilder.tsx | 4 +-
.../src/dashboard/components/DashboardGrid.tsx | 2 +-
.../components/SliceHeaderControls/index.tsx | 2 +-
.../components/gridComponents/Column/Column.tsx | 6 +-
.../components/gridComponents/Row/Row.tsx | 4 +-
.../FilterBar/FilterControls/FilterDivider.tsx | 2 +-
.../AnnotationLayerControl/AnnotationLayer.tsx | 2 +-
.../controls/AnnotationLayerControl/index.tsx | 2 +-
.../ConditionalFormattingControl.tsx | 4 +-
.../ContourControl/ContourPopoverTrigger.tsx | 2 +-
.../ControlPopover/ControlPopover.test.tsx | 4 +-
.../controls/ControlPopover/ControlPopover.tsx | 4 +-
.../controls/CurrencyControl/CurrencyControl.tsx | 4 +-
.../controls/DateFilterControl/DateFilterLabel.tsx | 2 +-
.../ColumnSelectPopoverTrigger.tsx | 2 +-
.../DndColumnSelectControl/DndFilterSelect.tsx | 1 +
.../AdhocFilterPopoverTrigger/index.tsx | 2 +-
.../MetricControl/AdhocMetricPopoverTrigger.tsx | 2 +-
.../alerts/components/NotificationMethod.tsx | 2 +-
.../src/features/charts/ChartCard.tsx | 7 +-
.../src/features/home/ActivityTable.tsx | 29 +-
.../src/features/home/ChartTable.test.tsx | 72 ++-
superset-frontend/src/features/home/ChartTable.tsx | 26 +-
superset-frontend/src/features/home/Menu.tsx | 7 +-
superset-frontend/src/features/home/SubMenu.tsx | 114 ++--
.../ReportModal/HeaderReportDropdown/index.tsx | 2 +-
.../src/pages/AlertReportList/index.tsx | 6 +-
.../src/pages/AnnotationLayerList/index.tsx | 2 +-
superset-frontend/src/pages/ChartList/index.tsx | 8 +-
.../src/pages/DashboardList/index.tsx | 4 +-
superset-frontend/src/pages/DatabaseList/index.tsx | 2 +-
superset-frontend/src/pages/DatasetList/index.tsx | 8 +-
superset-frontend/src/pages/GroupsList/index.tsx | 4 +-
superset-frontend/src/pages/RolesList/index.tsx | 6 +-
superset-frontend/src/views/CRUD/hooks.ts | 2 +-
superset-frontend/src/views/CRUD/utils.tsx | 2 +
superset/advanced_data_type/api.py | 10 +-
superset/annotation_layers/annotations/api.py | 14 +-
superset/annotation_layers/api.py | 10 +-
superset/charts/api.py | 12 +-
superset/config.py | 2 +-
superset/connectors/sqla/models.py | 21 +-
superset/css_templates/api.py | 4 +-
superset/dashboards/api.py | 22 +-
superset/databases/api.py | 10 +-
superset/datasets/api.py | 20 +-
superset/extensions/__init__.py | 10 +
superset/jinja_context.py | 37 ++
superset/mcp_service/app.py | 28 +-
superset/mcp_service/auth.py | 8 +-
superset/mcp_service/chart/schemas.py | 98 ++-
superset/mcp_service/chart/tool/generate_chart.py | 49 +-
superset/mcp_service/chart/tool/get_chart_info.py | 16 +-
superset/mcp_service/chart/tool/get_chart_sql.py | 3 +-
superset/mcp_service/chart/tool/list_charts.py | 38 +-
superset/mcp_service/chart/tool/update_chart.py | 64 +-
.../mcp_service/chart/tool/update_chart_preview.py | 26 +-
superset/mcp_service/chart/validation/pipeline.py | 92 +--
superset/mcp_service/common/schema_discovery.py | 25 +-
superset/mcp_service/dashboard/schemas.py | 230 ++++---
.../tool/add_chart_to_existing_dashboard.py | 25 +-
.../dashboard/tool/generate_dashboard.py | 34 +-
.../dashboard/tool/get_dashboard_info.py | 16 +-
superset/mcp_service/database/schemas.py | 21 +-
.../mcp_service/database/tool/get_database_info.py | 14 +
.../mcp_service/database/tool/list_databases.py | 26 +-
superset/mcp_service/dataset/schemas.py | 32 +-
.../mcp_service/dataset/tool/get_dataset_info.py | 14 +
superset/mcp_service/dataset/tool/list_datasets.py | 26 +-
.../explore/tool/generate_explore_link.py | 16 +-
superset/mcp_service/mcp_core.py | 77 ++-
superset/mcp_service/middleware.py | 84 ++-
superset/mcp_service/privacy.py | 178 ++++++
superset/mcp_service/server.py | 174 ++++-
superset/mcp_service/system/schemas.py | 9 +-
.../mcp_service/system/tool/get_instance_info.py | 16 +
superset/mcp_service/system/tool/get_schema.py | 54 +-
superset/mcp_service/utils/error_builder.py | 12 +
superset/mcp_service/utils/error_sanitization.py | 109 ++++
superset/mcp_service/utils/permissions_utils.py | 17 +-
superset/mcp_service/utils/sanitization.py | 28 +
superset/mcp_service/utils/token_utils.py | 4 +-
...b46d_add_sort_by_series_to_word_cloud_charts.py | 89 ---
superset/models/helpers.py | 16 +-
superset/models/sql_lab.py | 13 +-
superset/queries/api.py | 10 +-
superset/queries/saved_queries/api.py | 6 +-
superset/reports/api.py | 12 +-
superset/reports/logs/api.py | 12 +-
superset/reports/models.py | 8 +-
superset/row_level_security/api.py | 4 +-
superset/security/api.py | 4 +-
superset/sqllab/api.py | 4 +-
superset/sqllab/utils.py | 6 +-
superset/tags/api.py | 6 +-
superset/themes/api.py | 6 +-
superset/utils/database.py | 22 +-
superset/utils/webdriver.py | 6 +-
superset/views/api.py | 4 +-
superset/views/base.py | 22 +-
superset/views/base_api.py | 12 +-
superset/views/datasource/views.py | 11 +-
superset/views/log/api.py | 4 +-
.../advanced_data_type/api_tests.py | 10 +-
.../annotation_layers/api_tests.py | 28 +-
tests/integration_tests/base_api_tests.py | 12 +-
tests/integration_tests/base_tests.py | 4 +-
tests/integration_tests/charts/api_tests.py | 74 +--
tests/integration_tests/css_templates/api_tests.py | 18 +-
tests/integration_tests/dashboards/api_tests.py | 74 +--
tests/integration_tests/dashboards/base_case.py | 4 +-
.../dashboards/security/security_dataset_tests.py | 4 +-
tests/integration_tests/databases/api_tests.py | 46 +-
tests/integration_tests/datasets/api_tests.py | 38 +-
tests/integration_tests/datasource_tests.py | 16 +-
tests/integration_tests/log_api_tests.py | 14 +-
tests/integration_tests/queries/api_tests.py | 16 +-
.../queries/saved_queries/api_tests.py | 42 +-
tests/integration_tests/reports/api_tests.py | 26 +-
.../security/row_level_security_tests.py | 16 +-
tests/integration_tests/security_tests.py | 4 +-
tests/integration_tests/sql_lab/api_tests.py | 6 +-
tests/integration_tests/sqllab_tests.py | 6 +-
tests/integration_tests/tags/api_tests.py | 10 +-
tests/integration_tests/tasks/api_tests.py | 10 +-
.../integration_tests/test_granular_export_api.py | 10 +-
tests/integration_tests/themes/api_tests.py | 18 +-
tests/unit_tests/databases/api_test.py | 4 +-
tests/unit_tests/jinja_context_test.py | 95 +++
.../mcp_service/chart/test_chart_schemas.py | 68 ++
.../mcp_service/chart/tool/test_generate_chart.py | 2 +-
.../mcp_service/chart/tool/test_get_chart_info.py | 163 +++++
.../mcp_service/chart/tool/test_get_chart_sql.py | 8 +
.../mcp_service/chart/tool/test_list_charts.py | 85 ++-
.../mcp_service/chart/tool/test_update_chart.py | 8 +-
.../validation/test_pipeline_error_surface.py | 307 +++++++++
.../dashboard/test_dashboard_schemas.py | 218 ++++++-
.../dashboard/tool/test_dashboard_generation.py | 78 +++
.../dashboard/tool/test_dashboard_tools.py | 316 ++++++++++
.../database/tool/test_database_tools.py | 93 +++
.../mcp_service/dataset/tool/test_dataset_tools.py | 93 +++
.../system/tool/test_get_current_user.py | 194 +++++-
.../mcp_service/system/tool/test_get_schema.py | 50 ++
.../mcp_service/system/tool/test_mcp_core.py | 57 ++
tests/unit_tests/mcp_service/test_auth_api_key.py | 44 +-
tests/unit_tests/mcp_service/test_mcp_config.py | 13 +
tests/unit_tests/mcp_service/test_middleware.py | 277 ++++++++
tests/unit_tests/mcp_service/test_privacy.py | 108 ++++
.../mcp_service/test_schema_discovery.py | 53 +-
.../mcp_service/test_tool_search_transform.py | 358 ++++++++++-
.../mcp_service/utils/test_permissions_utils.py | 73 +++
.../mcp_service/utils/test_token_utils.py | 2 +
tests/unit_tests/models/helpers_test.py | 235 ++++++-
tests/unit_tests/reports/api_test.py | 6 +-
tests/unit_tests/utils/test_database.py | 53 ++
tests/unit_tests/utils/webdriver_test.py | 108 ++++
tests/unit_tests/views/test_base.py | 139 ++++
188 files changed, 5771 insertions(+), 1418 deletions(-)
create mode 100644 superset/mcp_service/privacy.py
create mode 100644 superset/mcp_service/utils/error_sanitization.py
delete mode 100644 superset/migrations/versions/2026-04-13_19-28_fd0c8583b46d_add_sort_by_series_to_word_cloud_charts.py
create mode 100644 tests/unit_tests/mcp_service/chart/tool/test_get_chart_info.py
create mode 100644 tests/unit_tests/mcp_service/chart/validation/test_pipeline_error_surface.py
create mode 100644 tests/unit_tests/mcp_service/test_privacy.py
copy superset/migrations/versions/2022-08-31_19-30_291f024254b5_drop_column_allow_multi_schema_metadata_fetch.py => tests/unit_tests/mcp_service/test_schema_discovery.py (51%)
create mode 100644 tests/unit_tests/mcp_service/utils/test_permissions_utils.py
create mode 100644 tests/unit_tests/utils/test_database.py
create mode 100644 tests/unit_tests/views/test_base.py