dependabot[bot]
e7940d2df9
chore(deps): bump markdown-to-jsx from 9.7.3 to 9.7.4 in /superset-frontend ( #37959 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit ffd7f10320 )
2026-04-20 14:49:20 -07:00
dependabot[bot]
3f929c643c
chore(deps): bump markdown-to-jsx from 9.7.2 to 9.7.3 in /superset-frontend ( #37730 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 1c35c3f6d0 )
2026-04-20 14:49:20 -07:00
dependabot[bot]
c59576b288
chore(deps): bump markdown-to-jsx from 9.6.1 to 9.7.2 in /superset-frontend ( #37691 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 27889651b3 )
2026-04-20 14:49:20 -07:00
dependabot[bot]
0171080b2a
chore(deps): bump markdown-to-jsx from 9.6.0 to 9.6.1 in /superset-frontend ( #37420 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 09b5af5945 )
2026-04-20 14:49:20 -07:00
dependabot[bot]
0df13f512a
chore(deps): bump lodash from 4.17.23 to 4.18.1 in /superset-frontend ( #39043 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: hainenber <dotronghai96@gmail.com >
(cherry picked from commit c372f5980c )
2026-04-20 14:49:20 -07:00
dependabot[bot]
61e8aeb2d8
chore(deps): bump dompurify from 3.3.2 to 3.3.3 in /superset-frontend ( #38592 )
...
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 >
(cherry picked from commit f4a57a13bc )
2026-04-20 14:49:20 -07:00
dependabot[bot]
212da53fa4
chore(deps): bump dompurify from 3.3.1 to 3.3.2 in /superset-frontend ( #38455 )
...
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@preset.io >
(cherry picked from commit d752be5f74 )
2026-04-20 14:49:20 -07:00
Amin Ghadersohi
a618135e6d
fix(mcp): handle OAuth-authenticated databases in execute_sql ( #39166 )
2026-04-20 10:52:44 +01:00
Amin Ghadersohi
d60ba0d93b
fix(mcp): compress chart config schemas to reduce search_tools token usage ( #39018 )
2026-04-20 10:52:30 +01:00
Joe Li
99d1ba9bcc
revert: remove accidental hideTab guard from 6.0-release ( #672 )
...
The hideTab guard was unintentionally brought into 6.0-release during
the cherry-pick of #38809 (conflict resolution picked up the master
version which included #38846 ). Since hideTab was never intended for
6.0-release, remove the guard to restore the pre-regression behavior
where tabs always render and activeTabs populates correctly.
Fixes: SC-104110
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-17 18:34:20 -07:00
Joe Li
ea970d5e5b
fix(deckgl): complete scatterplot categorical color fix ( #658 )
...
* fix(deckgl): complete cherry-pick of scatterplot categorical color fix (#35537 )
The original cherry-pick of apache/superset#35537 was incomplete — it
included CategoricalDeckGLContainer.tsx and controlPanel.ts but missed
buildQuery.ts and transformProps.ts. Those files still referenced
`category_name` while the UI control (deckGLCategoricalColor) saves to
`dimension`, causing the categorical column to never be included in the
query and cat_color to never be populated on data points.
Renames category_name → dimension in buildQuery.ts and transformProps.ts
to match the control panel field name, completing the fix.
[sc-99443]
* fix: update tests and fix sliceId typo in CategoricalDeckGLContainer
Addresses code review feedback:
1. buildQuery.test.ts: rename category_name → dimension in test data
to match the interface change, preventing test failure
2. transformProps.test.ts: rename category_name → dimension in test
data and update test name to reflect the current field name
3. CategoricalDeckGLContainer.tsx line 71: fix fd.sliceId → fd.slice_id
(snake_case). This code path in getCategories() was previously
unreachable because fd.dimension was always falsy. Now that the
fix makes it live, the colorFn seed must use the correct field
to match the rendering path at line 182.
* test: add negative-case regression guards for dimension field
Adds two tests that would have caught the original category_name vs
dimension mismatch:
1. buildQuery: when dimension is absent, no extra column is added
to the query (only spatial columns remain)
2. transformProps: when dimension is absent, cat_color is not set
on scatter points (stays undefined)
These guard against future regressions where the form field name
diverges from what buildQuery/transformProps read.
2026-04-17 18:34:10 -07:00
Amin Ghadersohi
2dbc887fab
fix(mcp): surface OAuth auth URL when execute_sql hits OAuth-protected database ( #670 )
...
The cherry-pick of apache/superset#39166 onto 6.0-release (commit
3cda699864 ) dropped the changes to
superset/mcp_service/sql_lab/tool/execute_sql.py. As a result,
OAuth2RedirectError raised during SQL execution falls through to
ExecuteSqlCore._handle_execution_error, which only calls str(e) and
drops the authorization URL stored in ex.error.extra["url"].
Clients see error_type=OAUTH2_REDIRECT but no URL in the error body
("You don't have permission to access the data."), so the end user
has no way to start the OAuth flow.
Fix: handle OAuth2RedirectError and OAuth2Error explicitly in
_handle_execution_error and use build_oauth2_redirect_message to
extract the URL from extra, mirroring the behavior already present on
master in execute_sql.py.
[sc-102144]
2026-04-16 18:32:34 -03:00
Joe Li
63f8c6203f
Revert "fix(pivot-table): safely cast numeric strings to numbers for date formatting ( #38953 )"
...
This reverts commit ff7685de52 .
2026-04-16 09:58:19 -07:00
dependabot[bot]
418c3ee49d
chore(deps): bump cryptography from 44.0.3 to 46.0.5 ( #37912 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit dc995328a8 )
2026-04-14 21:17:56 -07:00
Daniel Vaz Gaspar
114de77ee9
fix(deps): bump Python dependencies to fix 7 security vulnerabilities ( #38447 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit 5c4bf0f6ea )
2026-04-14 12:14:07 -07:00
Alexandru Soare
2aee9517d2
fix(explore): Prevent error toast when navigating away from Explore page ( #39065 )
...
(cherry picked from commit 66a9e2e16e )
2026-04-14 09:48:00 -07:00
Alexandru Soare
10562ae344
fix(popup): Dropdown popup width doesn't match input width when tags collapse in oneLine mode ( #39136 )
...
(cherry picked from commit c2a35e2eea )
2026-04-14 09:43:57 -07:00
Alexandru Soare
e7107b0f5c
fix(select): select all button cutoff ( #39005 )
...
(cherry picked from commit 5138aa2c11 )
2026-04-14 09:43:52 -07:00
Alexandru Soare
ee2ae515bd
fix(dashboard): Ensure screenshot downloads always generate fresh images/pdfs ( #38880 )
...
(cherry picked from commit 1462ac9282 )
2026-04-13 16:39:24 -07:00
Amin Ghadersohi
b5fd6197fa
feat(mcp): add get_chart_type_schema tool for on-demand schema discovery ( #39142 )
...
(cherry picked from commit 5f9fc31ae2 )
2026-04-13 16:39:24 -07:00
Amin Ghadersohi
e4a0453b2e
feat(mcp): add Big Number chart type support to MCP service ( #38403 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit 4245720851 )
2026-04-13 15:31:02 -07:00
Kamil Gabryjelski
476fc81fc7
fix(mcp): Created dashboard should be in draft state by default ( #39011 )
...
(cherry picked from commit 135e0f8099 )
2026-04-13 15:30:50 -07:00
Geidō
782502cd14
fix(reports): log exception traceback in _get_csv_data ( #39069 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit 25eea295f6 )
2026-04-13 15:30:38 -07:00
Michael S. Molina
850d4b655b
fix(echarts): fix stacked horizontal bar chart clipping and duplicate x-axis labels ( #39012 )
...
(cherry picked from commit 022342839a )
2026-04-13 10:16:50 -07:00
Michael S. Molina
3818e57fac
fix(dataset-editor): improve modal layout and fix Settings tab horizontal scroll ( #39009 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com>
(cherry picked from commit 38f0dc74f7 )
2026-04-13 10:16:50 -07:00
Amin Ghadersohi
54f98293a4
fix(mcp): handle table chart raw mode in query builders and sanitize dashboard titles ( #38990 )
...
(cherry picked from commit 0bae05d4a9 )
2026-04-13 10:16:50 -07:00
Amin Ghadersohi
36cf1845a4
fix(mcp): fix dashboard owners Pydantic crash and preserve chart preview filters ( #38987 )
...
(cherry picked from commit 190f1a59c5 )
2026-04-13 10:16:50 -07:00
Michael S. Molina
02789bc723
fix(query): pass datasource table to template processor for schema-aware Jinja rendering ( #38984 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit 94d8735d4b )
2026-04-13 10:16:50 -07:00
Amin Ghadersohi
81db93122f
fix(mcp): handle stale SSL connections, heatmap duplicate labels, and session rollback ( #39015 )
...
(cherry picked from commit b3a402d936 )
2026-04-13 10:16:50 -07:00
JUST.in DO IT
7965fc7862
fix(dashboard): remove opacity on filter dropdown ( #39074 )
...
(cherry picked from commit c7d175b842 )
2026-04-13 10:16:50 -07:00
Amin Ghadersohi
2540109ccf
fix(mcp): improve execute_sql response-too-large error to suggest limit parameter ( #39003 )
...
(cherry picked from commit 851bbeea48 )
2026-04-13 10:16:50 -07:00
Amin Ghadersohi
98aecb6248
fix(mcp): compress chart config schemas to reduce search_tools token usage ( #39018 )
...
(cherry picked from commit bf9aff19b5 )
2026-04-13 10:16:50 -07:00
SBIN2010
8f0d01ca96
feat: Add currencies controls in country map ( #39016 )
...
(cherry picked from commit b05764d070 )
2026-04-13 10:16:50 -07:00
Amin Ghadersohi
c982f0eb05
fix(mcp): add dynamic response truncation for oversized info tool responses ( #39107 )
...
(cherry picked from commit 83ad1eca26 )
2026-04-13 10:16:50 -07:00
Amin Ghadersohi
6f6fb14e1a
fix(mcp): remove JWT ValueError g.user fallback in auth layer ( #39106 )
...
(cherry picked from commit 92747246fc )
2026-04-13 10:16:50 -07:00
Amin Ghadersohi
a93b0842bf
fix(mcp): fix form_data null, dataset URL, ASCII preview, and chart rename ( #39109 )
...
(cherry picked from commit 7380a59ab8 )
2026-04-13 10:16:50 -07:00
Maxime Beauchemin
1757ec5338
feat(mcp): add database connection listing and info tools ( #39111 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Amin Ghadersohi <amin.ghadersohi@gmail.com >
(cherry picked from commit a62be684a0 )
2026-04-13 10:16:49 -07:00
Sam Firke
5c64c2fe3e
fix(SQL Lab): handle columns without names ( #38986 )
...
(cherry picked from commit 12eb40db01 )
2026-04-13 10:16:49 -07:00
Maxime Beauchemin
aae9d4a251
fix(explore): handle boolean false values correctly in control rendering ( #39172 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit 6ba9096870 )
2026-04-13 10:16:49 -07:00
Amin Ghadersohi
e9c4d537b3
fix(mcp): resolve null fields in list_datasets, list_databases, and save_sql_query ( #39206 )
...
(cherry picked from commit 1bde6f3bfd )
2026-04-13 10:16:49 -07:00
Maxime Beauchemin
954bb4c4b7
fix(frontend): fix loading spinner positioning in Save modal and filters panel ( #39205 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: yousoph <sophieyou12@gmail.com >
(cherry picked from commit d63308ca37 )
2026-04-13 10:16:49 -07:00
Maxime Beauchemin
14f676e036
fix(ace-editor): style bracket matching to blend with theme ( #39182 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit b8b2bdedf9 )
2026-04-13 10:16:49 -07:00
Luiz Otavio
ffb66ad5bf
fix: add template_processor so Jinja gets rendered before SQLGlot parse ( #39207 )
...
(cherry picked from commit 2e80f2a473 )
2026-04-13 10:16:49 -07:00
Maxime Beauchemin
938e6db229
fix(sqllab): use monospace font for SQL in database error messages ( #39181 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
(cherry picked from commit ed659958f3 )
2026-04-13 10:16:49 -07:00
Maxime Beauchemin
2ddfb4bd54
fix(plugin-chart-handlebars): improve CSS sanitization tooltip and hide when not needed ( #39180 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit 36de05fe36 )
2026-04-13 10:16:49 -07:00
Maxime Beauchemin
f06a0c22ff
fix(sqllab): demote "Save as new" button from primary to secondary ( #39179 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit 140f0001f2 )
2026-04-13 10:16:49 -07:00
Michael S. Molina
41e19876c3
fix(explore): Unnecessary scroll bars appearing on charts in Explore ( #39160 )
...
Co-authored-by: Đỗ Trọng Hải <41283691+hainenber@users.noreply.github.com >
(cherry picked from commit 3a3a6536b7 )
2026-04-13 10:16:49 -07:00
Alexandru Soare
31e2b33b03
fix(filterReports): _generate_native_filter() crashes on null/empty filterValues ( #38954 )
...
(cherry picked from commit 4f695e1b4d )
2026-04-13 10:16:49 -07:00
Maxime Beauchemin
2113e9d28e
fix(explore): constrain Edit Dataset modal height to prevent footer cutoff ( #39211 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
(cherry picked from commit bad5a35fce )
2026-04-13 10:16:49 -07:00
Mehmet Salih Yavuz
7e63aac9ff
fix(AlertsReports): untie filters from alerts reports tabs flag ( #38722 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
(cherry picked from commit 5263abdc60 )
2026-04-13 10:16:49 -07:00