You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2026/09/17 00:06:44 UTC
(superset) branch sc-120950-purge-audit-window updated (eda957c9bde -> 9a2dc933d7f)
This is an automated email from the ASF dual-hosted git repository.
aminghadersohi pushed a change to branch sc-120950-purge-audit-window
in repository https://gitbox.apache.org/repos/asf/superset.git
from eda957c9bde test(deletion-retention): cover the scope-lookup opt-out path
add d7516f10388 chore(deps): bump github/codeql-action/analyze from 4.37.9 to 4.38.0 (#44333)
add 24a79c4bd38 chore(deps): bump github/codeql-action/upload-sarif from 4.37.9 to 4.38.0 (#44332)
add 1432d7f0c0a chore(deps): bump actions/setup-java from 6.0.0 to 6.0.1 (#44330)
add 2659660d90a chore(deps): bump apache/infrastructure-actions/allowlist-check from 1.0.1 to 1.0.2 (#44328)
add 7fbcc0825ca chore(deps): bump zizmorcore/zizmor-action from 0.6.3 to 0.6.4 (#44327)
add 2c135a5cdce test(semantic-layers): fix mypy call_args error on values endpoint test (#44187)
add 2db9d6d51c8 fix(theme): do not suppress a dashboard theme when the forwarded config equals the workspace default (#44173)
add 8233b5e5ae0 chore(deps-dev): update teradatasql requirement from >=20.0.0.67 to >=20.0.0.68 (#44331)
add 55ee97bb36b chore(deps): bump holidays from 0.103 to 0.104 (#44325)
add 96d57a97349 chore(deps-dev): bump oxlint from 1.81.0 to 1.82.0 in /superset-frontend (#44301)
add 79ab1467b52 chore(deps-dev): bump the typescript-eslint group across 1 directory with 2 updates (#44293)
add 9df22ffad35 chore(deps): bump yeoman-generator from 8.3.1 to 8.4.0 in /superset-frontend (#44299)
add 134263e8d46 chore(deps-dev): bump ydb-sqlalchemy from 0.1.22 to 0.1.24 (#44329)
add 0db1b47de79 test(dashboard): migrate native filter URL key E2E to Playwright (#41435)
add a01f5076195 chore(deps-dev): bump @types/node from 26.4.1 to 26.5.0 in /superset-frontend (#44298)
add bd76e097a2d ci: pin codeql-action init to the same version as analyze (#44354)
add 637e19f0ca3 fix(embedded): report content height independent of iframe height (#44313)
add dca54da2421 feat(themes): add per-theme editors (Subject model) (#42404)
add 22cef7ef007 fix(chart-data): keep non-numeric columns out of contribution post-processing (#43203)
add 91c1135c054 fix(histogram): compare groupby membership using column labels (#43219)
add 40f5ab8d0c6 fix(mcp): downgrade synthetic tool ToolError log level to WARNING (SC-120340) (#44171)
add 2884e4815bd fix(datasets): catch MultipleResultsFound in get_or_create's schema-scoped lookup (#43725)
add c417e3b6ccf chore(deps-dev): bump yeoman-test from 11.8.1 to 11.8.2 in /superset-frontend (#44302)
add 7b6dd7597c4 chore(deps-dev): bump oxfmt from 0.66.0 to 0.67.0 in /superset-frontend (#44297)
add f47f1ced19b feat(semantic layers): derive Explore picker modes from declared semantic view features (#42540)
add 175c2f1f1cb fix(api): align sort and prophet option schemas with their operations (#43206)
add baccb68d3b4 fix(chart): include Decimal metrics in contribution totals (#43222)
add 461fdaa5b95 feat(native-filters): drive cascade dependencies from chart metadata (#43223)
add 181e9ad3e2b fix(themes): render brand spinner SVG via <img> data URI (#43504)
add f5c710d1625 refactor(explore): move optional icons outside label element (#43584)
add 187e7d4d804 fix(security): handle self-referential catalog qualifiers (#43974)
add 7ee33df6473 fix(rls): match the RLS predicate lookup on case-normalized table identifiers (#43993)
add ea8aac12739 fix(mcp): bound chart_ids length in the generate-dashboard request (#44071)
add 3d17fba3624 fix(db): honor connect_args returned by adjust_engine_params (#44078)
add 82df1ffa61a fix(jinja): escape current_username/current_user_email like sibling macros (#44081)
add fe7391e85ee fix(sqla): run column metadata probe statement exactly once (#44242)
add 4c77b0b924a fix(migrations): merge theme editors and purge audit heads (#44364)
add 9a2dc933d7f Merge remote-tracking branch 'origin/master' into sc-120950-purge-audit-window
No new revisions were added by this update.
Summary of changes:
.github/workflows/asf-allowlist-check.yml | 2 +-
.github/workflows/codeql-analysis.yml | 4 +-
.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/superset-docs-deploy.yml | 2 +-
UPDATING.md | 34 +
.../extensions/contribution-types.md | 43 ++
docs/static/resources/openapi.json | 109 +++-
pyproject.toml | 6 +-
requirements/base.txt | 2 +-
requirements/development.txt | 4 +-
.../src/superset_core/semantic_layers/view.py | 6 +-
superset-frontend/package-lock.json | 501 ++++++++-------
superset-frontend/package.json | 8 +-
.../packages/generator-superset/package.json | 4 +-
.../superset-ui-chart-controls/src/types.ts | 5 +
.../packages/superset-ui-core/package.json | 2 +-
.../src/chart/models/ChartMetadata.ts | 9 +
.../superset-ui-core/src/query/types/Datasource.ts | 7 +
.../test/chart/models/ChartMetadata.test.ts | 20 +
.../playwright/helpers/api/dashboard.ts | 23 +
.../playwright/helpers/embeddedAppServer.ts | 133 ++++
.../playwright/pages/DashboardPage.ts | 39 ++
.../dashboard-native-filter-url-key.spec.ts | 140 +++++
.../tests/dashboard/dashboard-test-helpers.ts | 18 +-
.../tests/embedded/embedded-dashboard.spec.ts | 132 +---
.../tests/embedded/embedded-iframe-sizing.spec.ts | 433 +++++++++++++
.../tests/embedded/pivot-collapse-state.spec.ts | 96 +--
.../src/Histogram/transformProps.ts | 2 +-
.../test/Histogram/transformProps.test.ts | 112 ++++
.../DashboardBuilder/DashboardBuilder.test.tsx | 115 +++-
.../DashboardBuilder/DashboardBuilder.tsx | 37 +-
.../src/dashboard/components/DashboardGrid.tsx | 3 +-
.../nativeFilters/FilterBar/Vertical.tsx | 76 ++-
.../FiltersConfigForm/FiltersConfigForm.tsx | 4 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 4 +-
.../FiltersConfigModal/NativeFiltersModal.test.tsx | 9 +
.../FiltersConfigModal/hooks/index.ts | 5 +-
.../hooks/useFilterOperations.test.ts | 91 +++
.../hooks/useFilterOperations.ts | 36 +-
.../util/embeddedLayout.ts} | 21 +-
superset-frontend/src/embedded/api.test.ts | 84 +++
superset-frontend/src/embedded/api.tsx | 65 +-
.../src/explore/actions/exploreActions.test.ts | 219 +++++--
.../src/explore/actions/exploreActions.ts | 44 +-
.../src/explore/components/ControlHeader.test.tsx | 18 +
.../src/explore/components/ControlHeader.tsx | 37 +-
.../DatasourcePanelDragOption.test.tsx | 65 +-
.../DatasourcePanel/DatasourcePanelItem.test.tsx | 16 +-
.../components/DatasourcePanel/compatibility.ts | 18 +-
.../ColumnSelectPopover.test.tsx | 690 ++++++++++++++++++++-
.../DndColumnSelectControl/ColumnSelectPopover.tsx | 323 +++++++++-
.../ColumnSelectPopoverTrigger.tsx | 18 +-
.../DndColumnMetricSelect.test.tsx | 177 +++++-
.../DndColumnMetricSelect.tsx | 16 +-
.../DndColumnSelect.test.tsx | 144 +++++
.../DndColumnSelectControl/DndColumnSelect.tsx | 20 +-
.../DndFilterSelect.test.tsx | 80 +++
.../utils/pickerCapabilities.test.ts | 101 +++
.../utils/pickerCapabilities.ts | 82 +++
...AdhocFilterEditPopoverSimpleTabContent.test.tsx | 52 ++
.../AdhocMetricEditPopover.test.tsx | 58 ++
.../MetricControl/AdhocMetricEditPopover/index.tsx | 7 +-
.../src/explore/reducers/exploreReducer.test.ts | 47 +-
.../src/explore/reducers/exploreReducer.ts | 14 +-
.../src/explore/selectors/compatibility.test.ts | 67 ++
.../src/explore/selectors/compatibility.ts | 55 ++
superset-frontend/src/explore/types.ts | 41 +-
.../src/features/themes/ThemeModal.test.tsx | 177 ++++++
.../src/features/themes/ThemeModal.tsx | 179 +++++-
superset-frontend/src/features/themes/types.ts | 3 +
.../src/filters/components/Range/index.ts | 1 +
.../src/filters/components/Select/index.ts | 1 +
.../src/filters/components/Time/index.ts | 1 +
.../src/filters/components/TimeColumn/index.ts | 1 +
.../src/filters/components/TimeGrain/index.ts | 1 +
.../src/pages/ThemeList/ThemeList.test.tsx | 212 +++++++
superset-frontend/src/pages/ThemeList/index.tsx | 48 +-
superset-frontend/src/theme/ThemeController.ts | 21 +-
.../src/theme/tests/ThemeController.test.ts | 105 +++-
superset/charts/schemas.py | 36 +-
.../commands/{annotation_layer => theme}/create.py | 40 +-
superset/commands/theme/delete.py | 8 +
superset/commands/theme/exceptions.py | 27 +-
superset/commands/theme/import_themes.py | 34 +-
superset/commands/theme/update.py | 25 +
superset/common/query_context_processor.py | 22 +-
superset/config.py | 1 +
superset/connectors/sqla/utils.py | 1 -
superset/datasets/api.py | 21 +-
superset/db_engine_specs/base.py | 21 +
superset/db_engine_specs/mssql.py | 122 ++++
superset/jinja_context.py | 18 +-
superset/mcp_service/dashboard/schemas.py | 5 +-
superset/mcp_service/server.py | 3 +-
superset/mcp_service/theme/tool/create_theme.py | 39 +-
...4_00-00_f7e8d9c0b1a2_add_theme_editors_table.py | 142 +++++
...339627c_merge_add_theme_editors_table_with_.py} | 12 +-
...655c0a6_merge_task_dependencies_with_theme_.py} | 12 +-
...1_merge_theme_editors_and_purge_audit_heads.py} | 12 +-
superset/models/core.py | 7 +
superset/security/manager.py | 88 ++-
superset/semantic_layers/models.py | 19 +
superset/sql/parse.py | 59 ++
superset/subjects/models.py | 19 +
superset/superset_typing.py | 6 +
superset/tasks/async_queries.py | 3 +-
superset/templates/superset/spa.html | 13 +-
superset/themes/api.py | 87 ++-
superset/themes/schemas.py | 14 +
.../utils/pandas_postprocessing/contribution.py | 48 +-
superset/utils/rls.py | 156 +++--
superset/views/base.py | 21 +-
.../dashboards/test_theme_integration.py | 6 +
tests/integration_tests/datasets/api_tests.py | 55 ++
.../security/row_level_security_tests.py | 33 +
tests/integration_tests/themes/api_tests.py | 7 +
.../integration_tests/themes/test_theme_editors.py | 291 +++++++++
tests/unit_tests/charts/test_schemas.py | 78 +++
.../common/test_query_context_processor.py | 117 ++++
tests/unit_tests/connectors/sqla/utils_test.py | 56 +-
tests/unit_tests/db_engine_specs/test_base.py | 18 +
tests/unit_tests/db_engine_specs/test_mssql.py | 438 +++++++++++++
tests/unit_tests/jinja_context_test.py | 41 ++
.../dashboard/test_dashboard_schemas.py | 11 +
.../mcp_service/test_rbac_tool_enforcement.py | 8 +-
.../mcp_service/test_tool_search_transform.py | 40 ++
.../mcp_service/theme/tool/test_create_theme.py | 89 ++-
.../migrations/test_add_theme_editors.py | 166 +++++
tests/unit_tests/models/core_test.py | 23 +
.../pandas_postprocessing/test_contribution.py | 106 ++++
tests/unit_tests/security/manager_test.py | 633 +++++++++++++++++++
tests/unit_tests/semantic_layers/models_test.py | 91 +++
.../semantic_layers/values_endpoint_test.py | 4 +-
tests/unit_tests/sql/parse_tests.py | 50 ++
tests/unit_tests/sql_lab_test.py | 105 ++++
tests/unit_tests/tasks/test_async_queries.py | 43 ++
tests/unit_tests/themes/api_test.py | 6 +
tests/unit_tests/themes/commands_test.py | 22 +-
tests/unit_tests/views/test_base_theme_helpers.py | 62 ++
142 files changed, 8322 insertions(+), 1031 deletions(-)
create mode 100644 superset-frontend/playwright/helpers/embeddedAppServer.ts
create mode 100644 superset-frontend/playwright/tests/dashboard/dashboard-native-filter-url-key.spec.ts
create mode 100644 superset-frontend/playwright/tests/embedded/embedded-iframe-sizing.spec.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/Histogram/transformProps.test.ts
create mode 100644 superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/hooks/useFilterOperations.test.ts
copy superset-frontend/src/{visualizations/TimeTable/utils/rowProcessing/rowProcessing.ts => dashboard/util/embeddedLayout.ts} (61%)
create mode 100644 superset-frontend/src/explore/components/controls/DndColumnSelectControl/utils/pickerCapabilities.test.ts
create mode 100644 superset-frontend/src/explore/components/controls/DndColumnSelectControl/utils/pickerCapabilities.ts
create mode 100644 superset-frontend/src/explore/selectors/compatibility.test.ts
create mode 100644 superset-frontend/src/explore/selectors/compatibility.ts
copy superset/commands/{annotation_layer => theme}/create.py (53%)
create mode 100644 superset/migrations/versions/2026-07-24_00-00_f7e8d9c0b1a2_add_theme_editors_table.py
copy superset/migrations/versions/{2016-09-19_17-22_b347b202819b_.py => 2026-09-04_19-03_aa5fa339627c_merge_add_theme_editors_table_with_.py} (76%)
copy superset/migrations/versions/{2016-09-19_17-22_b347b202819b_.py => 2026-09-09_00-00_0884f655c0a6_merge_task_dependencies_with_theme_.py} (79%)
copy superset/migrations/versions/{2026-09-15_06-50_e2f3a1b9c640_merge_purge_audit_and_username_index_heads.py => 2026-09-16_22-55_60f94cd6cd11_merge_theme_editors_and_purge_audit_heads.py} (81%)
create mode 100644 tests/integration_tests/themes/test_theme_editors.py
create mode 100644 tests/unit_tests/migrations/test_add_theme_editors.py