You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by as...@apache.org on 2026/10/15 11:07:12 UTC
(superset) branch alexandrusoare/feat/canvas-flexible-layout updated (1a1aa588121 -> 7a4060b3094)
This is an automated email from the ASF dual-hosted git repository.
alexandrusoare pushed a change to branch alexandrusoare/feat/canvas-flexible-layout
in repository https://gitbox.apache.org/repos/asf/superset.git
from 1a1aa588121 taking care of the reviews
add 1caea41f425 docs: give bare relative links an explicit extension (#43170)
add e7ca70c784e fix(datasource): apply target-table access check on same-database repoint (#44080)
add 1b10345f3bf docs(semantic-layer): write down member identity, grain, NULL and ordering rules in the SDK (#45108)
add 61a0fd28ec6 fix(semantic-layer): improve credential entry and connection feedback (#45173)
add 7aadf35e7d7 feat(mcp): accept a callable for MCP_DATASET_ROLE_ALLOWLIST (#45231)
add 139a06eee15 chore(ci): correct upload-artifact version comment to v7.0.1 (#45211)
add 4da3ab9277b refactor(db_engine_specs): dedupe boolean-coercion logic for Databricks/Spark (#45202)
add 952ff3b22f4 perf(filters): use useDeferredValue in SelectFilterPlugin (#44880)
add 488810d8395 fix(db-engine): make cachetools import optional in aws_iam (#38269)
add 8503b6b0b5a fix: clamp table pagination index when filtered data shrinks (#31403) (#39661)
add fb99e4b530a fix(embedded): fail closed when the guest-user check can't resolve a principal (#43896)
add bffb5638015 fix(post-processing): raise when a rename would duplicate a column label (#45043)
add 0cd13e92c1d fix(post-processing): keep the caller's index when parsing geography columns (#45086)
add 6d4dc0d3363 fix(bigquery): expose STRUCT fields as columns on virtual datasets (#45150)
add 333b6be7d71 fix(country-map): keep South Africa's islands in frame and fix hover … (#45000)
add 85aa56420a8 fix(explore): XAxisSortControl follows the value prop (#44956)
add fe46e76c510 fix(dashboard): remove duplicate spacing above out-of-scope filters section (#44954)
add 8ace079d8de feat(semantic-layers): add safe containment result cache (#42760)
add c0b713746b1 fix(mcp): make authlib.jose deprecation filter survive authlib's own simplefilter (#45219)
add 963031c209f fix(graph): distinguish null categories from literal labels (#44790)
add 1c4aba2453d docs(databases): refresh ClickHouse guide and support dark-theme logos (#44901)
add 718572cf29a chore(deps-dev): bump sqlalchemy-hana from 3.0.3 to 5.0.0 (#45189)
add d6c7ac23183 fix(mypy): silence superset-core mirror-case union-attr/assignment errors (#45138)
add f7a1c8f33bd docs: fix broken anchor links in intro, README and tasks guide (#45206)
add 8796ba16ae7 fix(clickhouse): bump Altinity.Cloud's documented clickhouse-connect floor (#45249)
add 6ded7caa0a9 fix(mcp): refuse an update that would drop a SQL trendline column (#45236)
add b840a4cef38 feat(plugin-chart-echarts): add cross-filtering to the Bubble chart (#45223)
add 48eb96aa843 fix(releasing): various release tooling improvements (#45253)
add f19a71be433 fix(semantic-layer): narrow ValidatedQueryObject.metrics to list[str] (#45185)
add 3cbdff6b6b7 fix(mcp): reject unknown semantic compatibility selections (#45153)
add 1fced034d37 fix(semantic-layer): return 4xx for provider validation errors in chart data (#45110)
add 114d32b12d1 feat(semantic-layer): gate Table pagination on row offset support (#44452)
add 55cb2eb0df5 fix(mcp): only flag get_catalog pages truncated when entries are held back (#45148)
add f5404f7eae3 fix(semantic-layer): preserve NULL selections in chart filters (#45133)
add 8175e0ecc7b fix(semantic-views): hide stale dependent options while they refresh (#44995)
add d970d634f71 fix(mcp): reject apply_dashboard_filters select values missing from the data (#45242)
add bf0a9cc3271 fix(semantic-layer): require data access for semantic view edits (#45154)
add 81d4137b98b fix(semantic-layer): block deletion of sources with dependent assets (#45071)
add 7f1bfaba4b2 fix(reports): apply the server-pagination row limit to embedded chart data (#45099)
add 7b105c25107 Merge remote-tracking branch 'origin/master' into msyavuz/feat/canvas
add b3549f657eb test(canvas): enable CANVAS for the widget REST tests and fit preview_widget's budget to its filters
add 7a4060b3094 Merge branch 'msyavuz/feat/canvas' of https://github.com/apache/superset into alexandrusoare/feat/canvas-flexible-layout
No new revisions were added by this update.
Summary of changes:
.github/actions/change-detector/action.yml | 3 +
.../workflows/superset-python-integrationtest.yml | 50 +
README.md | 4 +-
RELEASING/Dockerfile.from_local_tarball | 13 +-
RELEASING/Dockerfile.from_svn_tarball | 13 +-
RELEASING/README.md | 23 +-
RELEASING/changelog.py | 220 +++-
RELEASING/requirements.txt | 2 +
UPDATING.md | 53 +
docs/admin_docs/configuration/alerts-reports.mdx | 10 +
docs/admin_docs/configuration/cache.mdx | 36 +
.../importing-exporting-datasources.mdx | 22 +
docs/admin_docs/configuration/mcp-server.mdx | 74 +-
.../extensions/contribution-types.md | 170 ++-
docs/developer_docs/extensions/overview.md | 22 +-
docs/developer_docs/extensions/semantic-filters.md | 79 ++
docs/developer_docs/extensions/tasks.md | 2 +-
docs/developer_docs/semantic-query-errors.md | 71 ++
docs/docs/index.mdx | 4 +-
docs/docs/using-superset/exploring-data.mdx | 3 +
docs/docs/using-superset/number-formatting.mdx | 2 +-
.../using-superset/semantic-layer-connections.mdx | 63 +
.../using-superset/semantic-member-selections.mdx | 21 +
.../docs/using-superset/using-ai-with-superset.mdx | 5 +-
docs/sidebarTutorials.js | 1 +
docs/src/components/databases/DatabaseLogo.tsx | 62 +
docs/src/components/databases/DatabaseLogoWall.tsx | 9 +-
docs/src/components/databases/DatabasePage.tsx | 32 +-
docs/src/components/databases/types.ts | 2 +
docs/src/data/databases.json | 55 +-
docs/src/pages/index.tsx | 11 +-
docs/static/feature-flags.json | 7 +
docs/static/img/databases/clickhouse-dark.svg | Bin 0 -> 4480 bytes
docs/static/img/databases/clickhouse-mark-dark.svg | Bin 0 -> 960 bytes
docs/static/img/databases/clickhouse-mark.svg | Bin 0 -> 963 bytes
docs/static/img/databases/clickhouse.svg | Bin 0 -> 4483 bytes
docs/static/resources/openapi.json | 11 +
pyproject.toml | 16 +-
scripts/change_detector.py | 15 +
.../src/superset_core/semantic_layers/errors.py | 36 +-
.../src/superset_core/semantic_layers/layer.py | 63 +-
.../src/superset_core/semantic_layers/types.py | 173 ++-
.../src/superset_core/semantic_layers/view.py | 44 +
superset-core/tests/semantic_layers/test_view.py | 75 +-
.../superset-ui-chart-controls/src/utils/index.ts | 1 +
.../src/utils/isServerPaginationUnsupported.ts | 70 ++
.../components/CachedLabel/TooltipContent.test.tsx | 25 +
.../src/components/CachedLabel/TooltipContent.tsx | 21 +-
.../src/components/CachedLabel/index.tsx | 14 +-
.../src/components/CachedLabel/types.ts | 3 +
.../superset-ui-core/src/components/index.ts | 6 +-
.../src/query/types/QueryResponse.ts | 8 +
.../components/modals/EditDatasetModal.ts | 7 +-
.../src/controlPanel.tsx | 50 +-
.../test/buildQuery.test.ts | 23 +
.../test/controlPanel.test.tsx | 364 ++++++
.../scripts/Country Map GeoJSON Generator.ipynb | Bin 227629 -> 228908 bytes
.../plugin-chart-country-map/src/CountryMap.ts | 7 +-
.../src/ReactCountryMap.tsx | 5 +-
.../src/countries/south_africa.geojson | Bin 57043 -> 57075 bytes
.../test/south_africa.geojson.test.ts | 57 +
.../src/Bubble/EchartsBubble.tsx | 137 ++-
.../plugin-chart-echarts/src/Bubble/constants.ts | 3 +-
.../plugin-chart-echarts/src/Bubble/crossFilter.ts | 226 ++++
.../plugin-chart-echarts/src/Bubble/index.ts | 8 +-
.../src/Bubble/transformProps.ts | 39 +-
.../plugin-chart-echarts/src/Bubble/types.ts | 9 +-
.../src/Graph/transformProps.ts | 51 +-
.../test/Bubble/EchartsBubble.test.tsx | 335 +++++
.../test/Bubble/crossFilter.test.ts | 129 ++
.../test/Bubble/transformProps.test.ts | 134 ++
.../test/Graph/categoryIdentity.test.ts | 398 ++++++
.../test/Graph/transformProps.test.ts | 38 +
.../plugin-chart-table/src/DataTable/DataTable.tsx | 9 +
.../plugin-chart-table/src/controlPanel.tsx | 50 +-
.../test/DataTable/DataTable.test.tsx | 31 +
.../plugin-chart-table/test/buildQuery.test.ts | 53 +
.../plugin-chart-table/test/controlPanel.test.tsx | 546 +++++++-
.../FilterControls/FilterControls.test.tsx | 65 +
.../FilterBar/FilterControls/FilterControls.tsx | 12 +-
.../src/explore/components/ChartPills.test.tsx | 134 ++
.../src/explore/components/ChartPills.tsx | 36 +-
.../src/explore/components/Control.test.tsx | 20 +-
.../src/explore/components/ControlHeader.test.tsx | 92 +-
.../src/explore/components/ControlHeader.tsx | 37 +-
.../components/controls/CheckboxControl.test.tsx | 146 ++-
.../components/controls/CheckboxControl.tsx | 73 +-
.../CollectionControl/CollectionControl.test.tsx | 14 +-
.../components/controls/XAxisSortControl.test.tsx | 80 ++
.../components/controls/XAxisSortControl.tsx | 10 +-
.../semanticLayers/MultiEnumControl.test.tsx | 36 +
.../semanticLayers/SemanticLayerModal.test.tsx | 410 +++++-
.../features/semanticLayers/SemanticLayerModal.tsx | 97 +-
.../semanticLayers/jsonFormsAntdRenderers.test.tsx | 269 ++++
.../features/semanticLayers/jsonFormsHelpers.tsx | 139 ++-
.../semanticViews/AddSemanticViewModal.test.tsx | 786 +++++++++++-
.../semanticViews/AddSemanticViewModal.tsx | 269 ++--
.../components/Select/SelectFilterPlugin.test.tsx | 346 +++++-
.../components/Select/SelectFilterPlugin.tsx | 178 ++-
.../DatabaseList.semanticLayerDelete.test.tsx | 51 +-
.../DatasetList/DatasetList.behavior.test.tsx | 101 ++
superset-frontend/src/pages/DatasetList/index.tsx | 38 +-
superset/charts/data/api.py | 32 +-
superset/charts/schemas.py | 12 +
superset/commands/report/execute.py | 76 +-
superset/commands/security/reset.py | 3 +-
superset/commands/semantic_layer/delete.py | 243 ++++
superset/commands/semantic_layer/exceptions.py | 28 +-
superset/commands/semantic_layer/update.py | 4 +
superset/common/query_actions.py | 1 +
superset/common/query_context_factory.py | 1 +
superset/common/query_context_processor.py | 24 +-
superset/common/query_object.py | 15 +
superset/common/utils/query_cache_manager.py | 9 +-
superset/config.py | 12 +
superset/connectors/sqla/models.py | 26 +-
superset/connectors/sqla/utils.py | 2 +-
superset/constants.py | 39 +
superset/coordination/cache_backend.py | 72 ++
superset/daos/datasource.py | 5 +-
superset/datasource/api.py | 143 ++-
superset/db_engine_specs/README.md | 1 +
superset/db_engine_specs/aws_iam.py | 42 +-
superset/db_engine_specs/base.py | 16 +
superset/db_engine_specs/bigquery.py | 63 +
superset/db_engine_specs/clickhouse.py | 80 +-
superset/db_engine_specs/databricks.py | 41 +-
superset/db_engine_specs/hive.py | 18 +-
superset/db_engine_specs/postgres.py | 3 +-
superset/db_engine_specs/spark.py | 20 +-
superset/initialization/__init__.py | 88 ++
superset/mcp_service/__init__.py | 10 +
superset/mcp_service/catalog/schemas.py | 12 +-
superset/mcp_service/catalog/tool/get_catalog.py | 46 +-
superset/mcp_service/chart/chart_utils.py | 14 +-
superset/mcp_service/chart/plugins/big_number.py | 15 +-
superset/mcp_service/chart/schemas.py | 11 +
superset/mcp_service/dashboard/schemas.py | 5 +-
.../dashboard/tool/apply_dashboard_filters.py | 390 +++++-
superset/mcp_service/dataset_scope.py | 146 ++-
superset/mcp_service/mcp_config.py | 37 +-
.../tool/get_compatible_dimensions.py | 32 +-
.../semantic_layer/tool/get_compatible_metrics.py | 32 +-
superset/mcp_service/utils/query_utils.py | 18 +-
superset/models/helpers.py | 7 +-
superset/reports/notifications/slack_mixin.py | 4 +-
superset/semantic_layers/api.py | 109 ++
superset/semantic_layers/cache.py | 496 ++++++++
superset/semantic_layers/cache_coordination.py | 240 ++++
superset/semantic_layers/cache_host.py | 248 ++++
superset/semantic_layers/cache_identity.py | 336 +++++
superset/semantic_layers/cache_policy.py | 417 +++++++
superset/semantic_layers/cache_repository.py | 453 +++++++
superset/semantic_layers/cache_transform.py | 268 ++++
superset/semantic_layers/cache_types.py | 133 ++
superset/semantic_layers/exceptions.py | 122 ++
superset/semantic_layers/mapper.py | 240 +++-
superset/semantic_layers/members.py | 52 +
superset/semantic_layers/models.py | 3 +-
superset/superset_typing.py | 10 +-
superset/translations/messages.pot | 62 +-
superset/utils/cache_manager.py | 17 +
superset/utils/csv.py | 14 +-
superset/utils/error_sanitization.py | 109 +-
superset/utils/pandas_postprocessing/geography.py | 8 +-
superset/utils/pandas_postprocessing/rename.py | 11 +-
superset/views/datasource/views.py | 176 ++-
superset/views/error_handling.py | 11 +-
tests/integration_tests/reports/commands_tests.py | 61 +-
.../semantic_layers/cache_coordination_tests.py | 200 +++
tests/unit_tests/charts/test_chart_data_api.py | 87 +-
.../deletion_retention/test_purge_chart_detach.py | 2 +-
tests/unit_tests/commands/report/execute_test.py | 195 ++-
.../commands/semantic_layer/delete_test.py | 634 +++++++++-
.../semantic_layer/view_data_access_test.py | 148 +++
tests/unit_tests/common/test_query_actions.py | 31 +-
.../unit_tests/common/test_query_cache_manager.py | 18 +
.../common/test_query_context_processor.py | 115 +-
.../common/test_query_context_processor_timing.py | 79 ++
tests/unit_tests/config_test.py | 10 +-
tests/unit_tests/connectors/sqla/models_test.py | 87 +-
tests/unit_tests/connectors/sqla/utils_test.py | 38 +
.../unit_tests/coordination/test_cache_backend.py | 189 +++
tests/unit_tests/db_engine_specs/test_aws_iam.py | 61 +
tests/unit_tests/db_engine_specs/test_base.py | 11 +
tests/unit_tests/db_engine_specs/test_bigquery.py | 225 ++++
tests/unit_tests/initialization_test.py | 73 ++
.../mcp_service/catalog/tool/test_get_catalog.py | 238 +++-
.../mcp_service/chart/tool/test_update_chart.py | 176 ++-
.../chart/tool/test_update_chart_preview.py | 59 +
.../dashboard/tool/test_apply_dashboard_filters.py | 1299 +++++++++++++++++++-
.../mcp_service/native_tool_inventory.json | 38 +-
.../test_compatibility_selection_validation.py | 139 +++
.../tool/test_get_compatible_dimensions.py | 7 +
.../tool/test_get_compatible_metrics.py | 7 +
tests/unit_tests/mcp_service/test_dataset_scope.py | 247 +++-
tests/unit_tests/mcp_service/test_mcp_server.py | 28 +
.../unit_tests/mcp_service/test_tool_inventory.py | 2 +-
.../pandas_postprocessing/test_geography.py | 81 ++
.../pandas_postprocessing/test_rename.py | 96 ++
tests/unit_tests/queries/query_object_test.py | 29 +
.../reports/notifications/slack_tests.py | 20 +-
tests/unit_tests/scripts/change_detector_test.py | 16 +
tests/unit_tests/semantic_layers/api_test.py | 84 ++
.../semantic_layers/cache_coordination_test.py | 525 ++++++++
.../unit_tests/semantic_layers/cache_host_test.py | 369 ++++++
.../semantic_layers/cache_identity_test.py | 285 +++++
.../semantic_layers/cache_integration_test.py | 998 +++++++++++++++
.../semantic_layers/cache_or_filters_test.py | 220 ++++
.../semantic_layers/cache_policy_test.py | 963 +++++++++++++++
.../semantic_layers/cache_repository_test.py | 929 ++++++++++++++
tests/unit_tests/semantic_layers/cache_test.py | 956 ++++++++++++++
.../semantic_layers/cache_transform_test.py | 223 ++++
tests/unit_tests/semantic_layers/conftest.py | 92 ++
tests/unit_tests/semantic_layers/layer_test.py | 91 ++
tests/unit_tests/semantic_layers/mapper_test.py | 158 ++-
tests/unit_tests/semantic_layers/members_test.py | 83 ++
tests/unit_tests/semantic_layers/models_test.py | 72 +-
.../semantic_layers/null_filters_test.py | 339 +++++
.../semantic_layers/query_errors_test.py | 495 ++++++++
.../semantic_layers/simple_cache_clear_test.py | 11 +-
tests/unit_tests/utils/test_cache_manager.py | 33 +
tests/unit_tests/utils/test_error_sanitization.py | 132 +-
tests/unit_tests/views/datasource/views_test.py | 559 ++++++---
tests/unit_tests/views/test_error_handling.py | 38 +
.../widgets/test_echarts_structured_chrome.py | 4 +
226 files changed, 24515 insertions(+), 1196 deletions(-)
create mode 100644 docs/developer_docs/extensions/semantic-filters.md
create mode 100644 docs/developer_docs/semantic-query-errors.md
create mode 100644 docs/docs/using-superset/semantic-layer-connections.mdx
create mode 100644 docs/src/components/databases/DatabaseLogo.tsx
create mode 100644 docs/static/img/databases/clickhouse-dark.svg
create mode 100644 docs/static/img/databases/clickhouse-mark-dark.svg
create mode 100644 docs/static/img/databases/clickhouse-mark.svg
create mode 100644 docs/static/img/databases/clickhouse.svg
create mode 100644 superset-frontend/packages/superset-ui-chart-controls/src/utils/isServerPaginationUnsupported.ts
create mode 100644 superset-frontend/plugins/plugin-chart-country-map/test/south_africa.geojson.test.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Bubble/crossFilter.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/Bubble/EchartsBubble.test.tsx
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/Bubble/crossFilter.test.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/Graph/categoryIdentity.test.ts
create mode 100644 superset-frontend/src/explore/components/ChartPills.test.tsx
create mode 100644 superset-frontend/src/explore/components/controls/XAxisSortControl.test.tsx
create mode 100644 superset/semantic_layers/cache.py
create mode 100644 superset/semantic_layers/cache_coordination.py
create mode 100644 superset/semantic_layers/cache_host.py
create mode 100644 superset/semantic_layers/cache_identity.py
create mode 100644 superset/semantic_layers/cache_policy.py
create mode 100644 superset/semantic_layers/cache_repository.py
create mode 100644 superset/semantic_layers/cache_transform.py
create mode 100644 superset/semantic_layers/cache_types.py
create mode 100644 superset/semantic_layers/exceptions.py
create mode 100644 superset/semantic_layers/members.py
create mode 100644 tests/integration_tests/semantic_layers/cache_coordination_tests.py
create mode 100644 tests/unit_tests/commands/semantic_layer/view_data_access_test.py
create mode 100644 tests/unit_tests/mcp_service/semantic_layer/tool/test_compatibility_selection_validation.py
create mode 100644 tests/unit_tests/semantic_layers/cache_coordination_test.py
create mode 100644 tests/unit_tests/semantic_layers/cache_host_test.py
create mode 100644 tests/unit_tests/semantic_layers/cache_identity_test.py
create mode 100644 tests/unit_tests/semantic_layers/cache_integration_test.py
create mode 100644 tests/unit_tests/semantic_layers/cache_or_filters_test.py
create mode 100644 tests/unit_tests/semantic_layers/cache_policy_test.py
create mode 100644 tests/unit_tests/semantic_layers/cache_repository_test.py
create mode 100644 tests/unit_tests/semantic_layers/cache_test.py
create mode 100644 tests/unit_tests/semantic_layers/cache_transform_test.py
create mode 100644 tests/unit_tests/semantic_layers/conftest.py
create mode 100644 tests/unit_tests/semantic_layers/layer_test.py
create mode 100644 tests/unit_tests/semantic_layers/members_test.py
create mode 100644 tests/unit_tests/semantic_layers/null_filters_test.py
create mode 100644 tests/unit_tests/semantic_layers/query_errors_test.py