Amin Ghadersohi
1facda454c
fix(mcp): broaden pre-call session cleanup to catch DBAPIError not just OperationalError
...
Some database drivers (e.g. MySQL, SQLite) surface dropped connections as
InterfaceError rather than OperationalError. Both are DBAPIError subclasses.
Widen the catch in _remove_session_safe() so all DBAPI-level disconnect
errors are handled consistently regardless of driver.
2026-05-07 16:56:38 +00:00
Amin Ghadersohi
214b5e172b
refactor(mcp): simplify test mock and add retry comment from review
...
- Replace nonlocal counter in SSL error test with MagicMock side_effect list
- Add inline comment on retry db.session.remove() to clarify intent
2026-05-07 16:56:38 +00:00
Amin Ghadersohi
7bb80e2336
fix(mcp): handle SSL connection drop during pre-call session teardown
...
When RDS drops an SSL connection due to idle timeout or max-connection-age,
`db.session.remove()` in `sync_wrapper` raises `OperationalError` because
the implicit rollback inside `session.close()` fails on the dead DBAPI
connection. This caused the MCP tool call to fail even when the operation
itself completed successfully, and left a dead connection in the pool.
Introduce `_remove_session_safe()` which:
- Catches `OperationalError` from `session.remove()` (SSL/network errors)
- Calls `session.invalidate()` to mark the dead connection for pool discard
- Retries `session.remove()` so the scoped registry is clean before the tool runs
Replace the bare `db.session.remove()` in `sync_wrapper` with `_remove_session_safe()`.
Add a unit test verifying `invalidate()` is called and remove is retried on SSL error.
2026-05-07 16:56:38 +00: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
Mehmet Salih Yavuz
41a22d7918
chore: Upgrade to React 18 ( #38563 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Evan Rusackas <evan@preset.io >
2026-05-04 19:19:36 +03:00
Amin Ghadersohi
28239c18d4
feat(mcp): warn when execute_sql template_params used with templating disabled ( #39858 )
2026-05-04 12:14:44 -04:00