Maxime Beauchemin
ef4cf2b430
remove --max-fail 1 on integration tests to iterate faster
2025-07-29 22:36:12 -07:00
Maxime Beauchemin
48d8c91b19
feat: migrate examples from Python to YAML format with enhanced CLI
...
Migrates Superset's example data system from Python-based scripts to YAML configuration files, providing a cleaner, more maintainable approach to managing example datasets, charts, and dashboards.
- Converted 9 Python example modules to YAML configurations
- Exported existing examples from database and added as YAML files:
- 11 dashboards (USA Births Names, World Bank's Data, etc.)
- 115 charts
- 25 datasets
- Moved test-specific fixtures to `tests/fixtures/examples/`
- Removed theme_id from dashboard exports for compatibility
- **New command group**: `superset examples` with subcommands:
- `load` - Load example data (replaces `load-examples`)
- `clear-old` - Remove old Python-based examples
- `clear` - Placeholder for future YAML clearing
- `reload` - Clear and reload in one command
- **Backwards compatibility**: `superset load-examples` still works with deprecation warning
- **Safety mechanism**: Detects old examples and preserves them to avoid data loss
- Fixed JSON data loading - examples can now load `.json.gz` files from CDN
- Fixed Docker compose configuration for isolated development
- Fixed webpack WebSocket configuration for different ports
- Import operations now log what's being created vs updated:
- "Creating new dashboard: Sales Dashboard"
- "Updating existing chart: World's Population"
- Provides clear visibility into the import process
- Moved import logging to individual import functions (DRY principle)
- Non-destructive migration approach - no user data is deleted
- Deterministic UUID generation for consistent example data
- Tested migration from old Python examples to new YAML format
- Verified safety mechanism prevents accidental data overwrites
- Confirmed backwards compatibility with deprecated command
- All pre-commit checks pass
- Updated installation docs to use new CLI commands
- Added deprecation notice to UPDATING.md
- Updated development documentation
None - the old `load-examples` command continues to work with a deprecation warning.
For users with existing Python-based examples:
1. Run `superset examples clear-old --confirm` to remove old examples
2. Run `superset examples load` to load new YAML-based examples
2025-07-29 22:23:52 -07:00
Hari Kiran
6006a21378
docs(development): fix comment in the dockerfile ( #34391 )
2025-07-29 21:53:46 -07:00
Maxime Beauchemin
bf967d6ba4
fix(charts): Fix unquoted 'Others' literal in series limit GROUP BY clause ( #34390 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-29 17:36:10 -07:00
Hari Kiran
131ae5aa9d
docs(development): fix typo in the dockerfile ( #34387 )
2025-07-29 14:24:18 -07:00
Cesc Bausà
eca28582b6
feat(i18n): update Spanish translations (messages.po) ( #34206 )
2025-07-29 13:49:40 -07:00
Maxime Beauchemin
14e90a0f52
feat: Add GitHub Codespaces support with docker-compose-light ( #34376 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-29 13:10:17 -07:00
Maxime Beauchemin
a1c39d4906
feat(charts): Enable async buildQuery support for complex chart logic ( #34383 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-29 13:08:55 -07:00
Maxime Beauchemin
0964a8bb7a
fix(big number with trendline): running 2 identical queries for no good reason ( #34296 )
2025-07-29 13:07:28 -07:00
Beto Dealmeida
8de8f95a3c
feat: allow creating dataset without exploring ( #34380 )
2025-07-29 15:43:47 -04:00
Maxime Beauchemin
16db999067
fix: rate limiting issues with example data hosted on github.com ( #34381 )
2025-07-29 11:19:29 -07:00
Beto Dealmeida
972be15dda
feat: focus on text input when modal opens ( #34379 )
2025-07-29 14:01:10 -04:00
Maxime Beauchemin
c9e06714f8
fix: prevent theme initialization errors during fresh installs ( #34339 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-29 09:32:53 -07:00
Beto Dealmeida
32626ab707
fix: use catalog name on generated queries ( #34360 )
2025-07-29 12:30:46 -04:00
dependabot[bot]
a9cd58508b
chore(deps): bump cookie and @types/cookie in /superset-websocket ( #34335 )
...
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 >
2025-07-29 20:19:31 +07:00
Beto Dealmeida
122bb68e5a
fix: subquery alias in RLS ( #34374 )
2025-07-28 22:58:15 -04:00
Beto Dealmeida
914ce9aa4f
feat: read column metadata ( #34359 )
2025-07-28 22:57:57 -04:00
Gabriel Torres Ruiz
bb572983cd
feat(theming): Align embedded sdk with theme configs ( #34273 )
2025-07-28 19:26:17 -07:00
Đỗ Trọng Hải
ff76ab647f
build(deps): update ag-grid to non-breaking major v34 ( #34326 )
2025-07-29 07:46:55 +07:00
Mehmet Salih Yavuz
f554848c9f
fix(PivotTable): Render html in cells if allowRenderHtml is true ( #34351 )
2025-07-29 01:12:37 +03:00
Hari Kiran
dc0c389488
docs(development): fix 2 typos in the dockerfile ( #34341 )
2025-07-28 15:06:21 -07:00
Beto Dealmeida
22b3cc0480
chore: bump BigQuery dialect to 1.15.0 ( #34371 )
2025-07-28 16:39:18 -04:00
Maxime Beauchemin
604d72cc98
feat: introducing a docker-compose-light.yml for lighter development ( #34324 )
2025-07-28 09:27:07 -07:00
Enzo Martellucci
913e068113
style(FastVizSwitcher): Adjust padding for FastVizSwitcher selector ( #34317 )
2025-07-28 14:39:10 +03:00
Geido
1a4e2173f5
fix(NavBar): Add brand text back ( #34318 )
2025-07-28 12:19:14 +03:00
Ian McEwen
c49789167b
style(chart): restyle table pagination ( #34311 )
2025-07-27 19:39:10 -07:00
Maxime Beauchemin
1be2287b3a
feat(timeseries): enhance 'Series Limit' to support grouping the long tail ( #34308 )
2025-07-25 16:26:32 -07:00
Maxime Beauchemin
e741a3167f
feat: add a theme CRUD page to manage themes ( #34182 )
...
Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me >
2025-07-25 13:26:41 -07:00
Michael S. Molina
5f11f9097a
fix: Charts list is displaying empty dataset names when there's no schema ( #34315 )
2025-07-25 14:07:50 -03:00
Jan Suleiman
8783579aa8
fix(cartodiagram): add missing locales for rendering echarts ( #34268 )
2025-07-25 09:59:28 -07:00
Evan Rusackas
c25b4221f8
fix(npm): more reliable execution of npm run update-maps ( #34305 )
2025-07-25 13:48:05 -03:00
Pius Iniobong
9c771fb2ba
fix: preserve correct column order when table layout is changed with time comparison enabled ( #34300 )
2025-07-25 15:31:33 +03:00
sha174n
7f44992c4b
fix: enhance disallowed SQL functions list for improved security ( #33084 )
2025-07-24 16:36:32 -07:00
Beto Dealmeida
8df5860826
chore: bump sqlglot to latest version (27.3.0) ( #34302 )
2025-07-24 15:38:29 -07:00
Beto Dealmeida
b794b192d1
fix: return 422 on invalid SQL ( #34303 )
2025-07-24 16:40:56 -04:00
Maxime Beauchemin
3177131d52
feat: re-order CRUD list view action buttons ( #34294 )
2025-07-24 12:46:34 -07:00
Enzo Martellucci
89bf77b5c9
fix(theming): Fix visual regressions from theming P7 ( #34237 )
2025-07-24 19:57:50 +02:00
Maxime Beauchemin
30e5684006
fix: address numerous long-standing console errors (python & web) ( #34299 )
2025-07-24 09:50:26 -07:00
Maxime Beauchemin
3f8472ca7b
chore: move some rules from ruff -> pylint ( #34292 )
2025-07-24 09:40:49 -07:00
Beto Dealmeida
efa8cb6fa4
chore: improve sqlglot parsing ( #34270 )
2025-07-24 10:50:59 -04:00
Beto Dealmeida
ab59b7e9b0
feat: make SupersetClient retry on 502-504 ( #34290 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-24 10:46:50 -04:00
Vitor Avila
c99843b13a
fix: Hide View in SQL Lab for users without access ( #34293 )
2025-07-24 10:45:31 -03:00
Fardin Mustaque
da55a6c94a
fix(chart-download): ensure full table or handlebar chart is captured in image export ( #34233 )
2025-07-24 15:47:44 +03:00
LisaHusband
7a1c056374
fix(charting): correctly categorize numeric columns with NULL values ( #34213 )
2025-07-24 15:46:58 +03:00
Michael S. Molina
1e5a4e9bdc
fix: Saved queries list break if one query can't be parsed ( #34289 )
2025-07-24 08:30:04 -03:00
Đỗ Trọng Hải
9b88527883
chore: remove supposedly dev dep html-webpack-plugin from lockfile ( #34288 )
2025-07-24 15:53:16 +07:00
dependabot[bot]
800c1639ec
chore(deps-dev): bump prettier from 3.5.3 to 3.6.2 in /superset-frontend ( #33997 )
2025-07-24 09:38:00 +07:00
Ahmed Habeeb
43775e9373
fix(sqllab_export): manually encode CSV output to support utf-8-sig ( #34235 )
2025-07-23 18:44:56 -07:00
Maxime Beauchemin
9099b0f00d
fix: fix the pre-commit hook for tsc ( #34275 )
...
Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me >
2025-07-23 13:21:54 -07:00
dependabot[bot]
77ffe65773
chore(deps): bump axios from 1.10.0 to 1.11.0 in /docs ( #34285 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-24 00:06:53 +07:00