Amin Ghadersohi
139eea92f6
refactor(mcp): eliminate dead code and complete plugin registry dispatch
...
H1: Delete 7 dead _pre_validate_* static methods from SchemaValidator
— exact duplicates of plugin pre_validate() methods, never called
after _pre_validate_chart_type() was updated to delegate to plugin.
H2: Inline DatasetValidator._normalize_xy_config/_normalize_table_config
into XYChartPlugin/TableChartPlugin.normalize_column_refs() and delete
both DatasetValidator helper methods. The 5 other plugins already
called _get_canonical_column_name directly; XY and Table now match.
H3: Add generate_name()/resolve_viz_type() to ChartTypePlugin protocol
and BaseChartPlugin, implement in all 7 plugins. Replace the 7-arm
isinstance chain in generate_chart_name() and the 7-arm elif chain
in _resolve_viz_type() with single-line registry dispatch.
H4: Add a sync comment above _CHART_TYPE_ERROR_HINTS to document that
it must stay in sync with the plugin registry.
M4: Move logger=logging.getLogger(__name__) from inside
XYChartPlugin.get_runtime_warnings() to module scope.
2026-05-07 22:19:03 +00:00
Amin Ghadersohi
b09cbc80aa
feat(mcp): add display_name and native_viz_types to chart type plugins
...
Each ChartTypePlugin now declares:
- display_name: human-readable label for the chart_type discriminator
(e.g. "Line / Bar / Area / Scatter Chart", "Pivot Table")
- native_viz_types: dict mapping every Superset-internal viz_type the
plugin produces to a user-friendly name
(e.g. {"echarts_timeseries_line": "Line Chart", "echarts_area": "Area Chart"})
The registry gains display_name_for_viz_type(viz_type) which searches
all plugins' native_viz_types maps, replacing the need for a separate
viz_type_display_names.json or viz_type_names.py module.
ChartInfo gains a chart_type_display_name field populated via the registry,
so list_charts / get_chart_info return human-readable chart type names.
The MCP system instructions now reference display names rather than
internal viz_type identifiers.
2026-05-07 22:19:03 +00:00
Amin Ghadersohi
e7adf0c670
feat(mcp): introduce chart type plugin registry for extensible chart generation
...
Replaces four scattered dispatch locations (schema_validator, dataset_validator,
chart_utils, runtime validator) with a central ChartTypePlugin registry. Each of
the 7 supported chart types (xy, table, pie, pivot_table, mixed_timeseries,
handlebars, big_number) now owns its pre-validation, column extraction, form_data
mapping, post-map validation, column normalization, and runtime warnings in a
single plugin class.
Key changes:
- Add ChartTypePlugin protocol and BaseChartPlugin base class (plugin.py)
- Add ChartTypeRegistry with register/get/all_types helpers (registry.py)
- Add 7 chart type plugins under chart/plugins/ with full coverage
- Fix 5-type column validation gap: pie, pivot_table, mixed_timeseries, handlebars,
and big_number now participate in dataset column validation (previously silently skipped)
- Move BigNumber trendline temporal check to BigNumberChartPlugin.post_map_validate()
- Add get_runtime_warnings() to plugin protocol; XYChartPlugin implements
format/cardinality checks, removing isinstance(config, XYChartConfig) from RuntimeValidator
- Fix stale generate_chart.py docstring listing only 'xy' and 'table' chart types
- Add missing pie, pivot_table, mixed_timeseries handlers to _enhance_validation_error;
refactor into a data-driven lookup table to stay within complexity limits
- Fix empty details fallback in Pydantic error handler
2026-05-07 22:19:03 +00:00
Vitor Avila
ad5e3170dd
fix: OpenSearch dialect identifier delimiters ( #39953 )
2026-05-07 16:19:27 -03:00
Maxime Beauchemin
aa710672ed
fix(ui): remove makeUrl() double-prefix bugs under subdirectory deployment ( #39503 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Vitor Avila <96086495+Vitor-Avila@users.noreply.github.com >
2026-05-07 15:39:38 -03:00
Richard Fogaca Nienkotter
8c80caefa3
fix(explore): preserve preview chart name on save ( #39908 )
2026-05-07 13:08:28 -03:00
Richard Fogaca Nienkotter
8088c5d1de
fix(dashboard): match auto-refresh paused-dot outline to icon color ( #39909 )
2026-05-07 13:07:52 -03:00
Amin Ghadersohi
9b520312a1
fix(mcp): use tiktoken for response-size-guard token estimation ( #39912 )
2026-05-07 11:51:31 -04:00
Amin Ghadersohi
9ac4711ac8
fix(mcp): prevent DetachedInstanceError in get_chart_preview ( #39921 )
2026-05-07 11:44:11 -04:00
dependabot[bot]
7593d2a164
chore(deps): bump caniuse-lite from 1.0.30001791 to 1.0.30001792 in /docs ( #39933 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-07 21:57:29 +07:00
dependabot[bot]
d3c44e311e
chore(deps): bump aws-actions/amazon-ecr-login from 2.1.4 to 2.1.5 ( #39931 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-07 21:54:59 +07:00
Enzo Martellucci
b5186d1c65
fix(reports): keep body sized so standalone screenshots don't time out ( #39944 )
2026-05-07 12:26:50 +02:00
bdonovan1
5b5dd01028
fix(sqla): parenthesize calculated column expressions in WHERE clause ( #39793 )
...
Co-authored-by: Brian Donovan <briand@netflix.com >
Co-authored-by: Vitor Avila <96086495+Vitor-Avila@users.noreply.github.com >
2026-05-06 19:45:27 -03:00
bialkou
4aa4415d8f
fix(i18n): update Russian translations ( #39589 )
...
Co-authored-by: bito-code-review[bot] <188872107+bito-code-review[bot]@users.noreply.github.com>
2026-05-06 13:05:23 -04:00
Sebastian Mohr
e667ceb6cf
feat(themes): expose active theme mode via data-theme-mode attribute ( #39063 )
2026-05-06 18:17:54 +03:00
Enzo Martellucci
9aaa12c7d4
fix(reports): preserve urlParams in multi-tab report fan-out ( #39884 )
2026-05-06 16:29:45 +02:00
Alexandru Soare
adfbbf1433
fix(sql): quote identifiers in transpile_to_dialect to fix case-sensitive column filters ( #39521 )
2026-05-06 10:53:09 +03:00
dependabot[bot]
d7663a9a1c
chore(deps-dev): update denodo-sqlalchemy requirement from ~=1.0.6 to >=1.0.6,<2.1.0 ( #39832 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 22:17:21 -07:00
dependabot[bot]
7290d3c452
chore(deps-dev): update pyathena requirement from <3,>=2 to >=2,<4 ( #39830 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 22:17:00 -07:00
dependabot[bot]
d7beffcec1
chore(deps-dev): bump eslint-plugin-react-you-might-not-need-an-effect from 0.9.3 to 0.10.0 in /superset-frontend ( #39853 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 22:15:10 -07:00
dependabot[bot]
f018b67895
chore(deps-dev): update sqlalchemy-vertica-python requirement from <0.6,>=0.5.9 to >=0.5.9,<0.7 ( #39831 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 22:14:08 -07:00
dependabot[bot]
5e2c6d8c9e
chore(deps): bump nanoid from 5.1.9 to 5.1.11 in /superset-frontend ( #39820 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 22:13:52 -07:00
dependabot[bot]
b305c8681c
chore(deps-dev): update impyla requirement from <0.17,>0.16.2 to >0.16.2,<0.23 ( #39833 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 22:09:37 -07:00
dependabot[bot]
d578fa1949
chore(deps): bump @deck.gl/mapbox from 9.3.1 to 9.3.2 in /superset-frontend ( #39814 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Đỗ Trọng Hải <41283691+hainenber@users.noreply.github.com >
2026-05-05 22:09:33 -07:00
dependabot[bot]
14d28c34fd
chore(deps-dev): update cx-oracle requirement from <8.1,>8.0.0 to >8.0.0,<8.4 ( #39753 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 22:05:54 -07:00
dependabot[bot]
c06aee8513
chore(deps-dev): bump jsdom from 29.1.0 to 29.1.1 in /superset-frontend ( #39815 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Đỗ Trọng Hải <41283691+hainenber@users.noreply.github.com >
2026-05-05 22:04:47 -07:00
dependabot[bot]
d0ef19953a
chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend/plugins/plugin-chart-ag-grid-table ( #37910 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com >
2026-05-05 21:38:49 -07:00
Vitor Avila
3745e37182
fix(OAuth2): Support OAuth2 exception with legacy endpoint ( #39897 )
2026-05-05 21:21:48 -03:00
Joe Li
4b17ac2629
fix(explore): add matrixify_enable guard to prevent stale validators on pre-revamp charts ( #38765 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-05 16:45:38 -07:00
Amin Ghadersohi
4a21a5365f
fix(mcp): validate column refs in generate_explore_link, update_chart_preview, and update_chart ( #39797 )
2026-05-05 19:12:31 -04:00
Richard Fogaca Nienkotter
9459bc7bf4
fix(mcp): warn on invalid chart preview form data key ( #39891 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-05-05 16:40:00 -03:00
Beto Dealmeida
cb53745d43
feat: semantic layer extension ( #37815 )
2026-05-05 12:07:46 -04:00
jesperct
9e91ae8cff
fix(colors): reassign colliding series when dashboard locks shared dimension color ( #39297 )
...
Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com>
2026-05-05 08:38:19 -07:00
jesperct
5b5f23d127
test(plugin-chart-echarts): regression guards for temporal x-axis labels on timeseries charts ( #39208 )
2026-05-05 08:37:35 -07:00
Mehmet Salih Yavuz
8173cfe9e3
fix(CollectionControl): assign stable ids to keyless items ( #39862 )
2026-05-05 17:52:36 +03:00
Mehmet Salih Yavuz
586de12a05
fix(embedded): prevent duplicate React root on rehandshake ( #39860 )
2026-05-05 17:52:01 +03:00
dependabot[bot]
d6188374b4
chore(deps): bump docusaurus-theme-openapi-docs from 5.0.1 to 5.0.2 in /docs ( #39846 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 09:16:53 +07:00
dependabot[bot]
2edae162f0
chore(deps): bump baseline-browser-mapping from 2.10.24 to 2.10.27 in /docs ( #39848 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 09:16:33 +07:00
dependabot[bot]
e80207218b
chore(deps-dev): bump eslint from 10.2.1 to 10.3.0 in /superset-websocket ( #39843 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-04 17:02:27 -07:00
Beto Dealmeida
76955017eb
chore: bump shillelagh to 1.4.4 ( #39870 )
2026-05-04 19:39:38 -04:00
Beto Dealmeida
5325b87e73
fix(clickhouse): prevent expensive table scan ( #39867 )
2026-05-04 19:39:10 -04:00
Đỗ Trọng Hải
e76318633e
fix(helm): allow chart to work out-of-the-box with legacy Bitnami images ( #39839 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
superset-helm-chart-0.15.5
2026-05-04 15:54:01 -07:00
Sam Firke
c2725e86f3
fix(markdown): Allow "target" attribute ( #39868 )
2026-05-04 18:27:43 -04:00
dependabot[bot]
2f605724e7
chore(deps-dev): bump globals from 17.5.0 to 17.6.0 in /superset-websocket ( #39844 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-04 15:09:36 -07:00
dependabot[bot]
ebb02d0ecf
chore(deps): bump @swc/core from 1.15.32 to 1.15.33 in /docs ( #39845 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-04 15:09:21 -07:00
dependabot[bot]
319b8a1124
chore(deps-dev): bump globals from 17.5.0 to 17.6.0 in /docs ( #39847 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-04 15:08:59 -07:00
dependabot[bot]
2be971ce77
chore(deps): bump docusaurus-plugin-openapi-docs from 5.0.1 to 5.0.2 in /docs ( #39849 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-04 15:08:10 -07:00
dependabot[bot]
812f4ae080
chore(deps): update zod requirement from ^4.4.1 to ^4.4.3 in /superset-frontend/plugins/plugin-chart-echarts ( #39850 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-04 15:07:55 -07:00
dependabot[bot]
af8d15fdfc
chore(deps): bump yeoman-generator from 8.1.2 to 8.2.2 in /superset-frontend ( #39852 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-04 15:07:41 -07:00
Amin Ghadersohi
673634f7af
fix(mcp): point get_dataset_info url to explore view instead of legacy tablemodelview edit ( #39838 )
2026-05-04 13:39:05 -04:00