Skip to content

Commit 3703437

Browse files
committed
Merge branch 'master' into msyavuz/fix/embedded-box-sizing
2 parents 1106402 + 357e35d commit 3703437

1,337 files changed

Lines changed: 16937 additions & 6318 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.devcontainer/devcontainer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
"features": {
1515
"ghcr.io/devcontainers/features/docker-in-docker:2": {
16-
"moby": true,
16+
"moby": false,
1717
"dockerDashComposeVersion": "v2"
1818
},
1919
"ghcr.io/devcontainers/features/node:1": {

‎.github/workflows/docker.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
# Scan for vulnerabilities in built container image after pushes to mainline branch.
105105
- name: Run Trivy container image vulnerabity scan
106106
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && (steps.check.outputs.python || steps.check.outputs.frontend || steps.check.outputs.docker) && matrix.build_preset == 'lean'
107-
uses: aquasecurity/trivy-action@e368e328979b113139d6f9068e03accaed98a518 # v0.34.1
107+
uses: aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # v0.34.2
108108
with:
109109
image-ref: ${{ env.IMAGE_TAG }}
110110
format: 'sarif'

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ superset-websocket/config.json
6868
*.js.map
6969
node_modules
7070
npm-debug.log*
71+
superset/static/*
7172
superset/static/assets/*
7273
!superset/static/assets/.gitkeep
7374
superset/static/uploads/*
7475
!superset/static/uploads/.gitkeep
75-
superset/static/version_info.json
7676
yarn-error.log
7777
*.map
7878
*.min.js

‎UPDATING.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,19 @@ ORDER BY total_calls DESC;
6464

6565
**Security note:** Sensitive parameters (passwords, API keys, tokens) are automatically redacted in logs as `[REDACTED]`.
6666

67-
### Signal Cache Backend
67+
### Distributed Coordination Backend
6868

69-
A new `SIGNAL_CACHE_CONFIG` configuration provides a unified Redis-based backend for real-time coordination features in Superset. This backend enables:
69+
A new `DISTRIBUTED_COORDINATION_CONFIG` configuration provides a unified Redis-based backend for real-time coordination features in Superset. This backend enables:
7070

7171
- **Pub/sub messaging** for real-time event notifications between workers
7272
- **Atomic distributed locking** using Redis SET NX EX (more performant than database-backed locks)
7373
- **Event-based coordination** for background task management
7474

75-
The signal cache is used by the Global Task Framework (GTF) for abort notifications and task completion signaling, and will eventually replace `GLOBAL_ASYNC_QUERIES_CACHE_BACKEND` as the standard signaling backend. Configuring this is recommended for Redis enabled production deployments.
75+
The distributed coordination is used by the Global Task Framework (GTF) for abort notifications and task completion signaling, and will eventually replace `GLOBAL_ASYNC_QUERIES_CACHE_BACKEND` as the standard signaling backend. Configuring this is recommended for Redis enabled production deployments.
7676

7777
Example configuration in `superset_config.py`:
7878
```python
79-
SIGNAL_CACHE_CONFIG = {
79+
DISTRIBUTED_COORDINATION_CONFIG = {
8080
"CACHE_TYPE": "RedisCache",
8181
"CACHE_KEY_PREFIX": "signal_",
8282
"CACHE_REDIS_URL": "redis://localhost:6379/1",

‎docs/.gitignore‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ developer_docs/api/
3737

3838
# Generated component documentation MDX files (regenerated at build time)
3939
# Source of truth is Storybook stories in superset-frontend/packages/superset-ui-core/src/components/
40-
developer_portal/components/
41-
42-
# Generated extension component documentation (regenerated at build time)
43-
developer_portal/extensions/components/
40+
developer_docs/components/
4441

4542
# Note: src/data/databases.json is COMMITTED (not ignored) to preserve feature diagnostics
4643
# that require Flask context to generate. Update it locally with: npm run gen-db-docs
44+
45+
# Generated component metadata JSON (regenerated by generate-superset-components.mjs)
46+
static/data/components.json

‎docs/.nvmrc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.20.0
1+
v22.22.0

‎docs/admin_docs/configuration/cache.mdx‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ Then on configuration:
159159
WEBDRIVER_AUTH_FUNC = auth_driver
160160
```
161161

162-
## Signal Cache Backend
162+
## Distributed Coordination Backend
163163

164-
Superset supports an optional signal cache (`SIGNAL_CACHE_CONFIG`) for
164+
Superset supports an optional distributed coordination (`DISTRIBUTED_COORDINATION_CONFIG`) for
165165
high-performance distributed operations. This configuration enables:
166166

167167
- **Distributed locking**: Moves lock operations from the metadata database to Redis, improving
@@ -176,11 +176,11 @@ that are not available in general Flask-Caching backends.
176176

177177
### Configuration
178178

179-
The signal cache uses Flask-Caching style configuration for consistency with other cache
180-
backends. Configure `SIGNAL_CACHE_CONFIG` in `superset_config.py`:
179+
The distributed coordination uses Flask-Caching style configuration for consistency with other cache
180+
backends. Configure `DISTRIBUTED_COORDINATION_CONFIG` in `superset_config.py`:
181181

182182
```python
183-
SIGNAL_CACHE_CONFIG = {
183+
DISTRIBUTED_COORDINATION_CONFIG = {
184184
"CACHE_TYPE": "RedisCache",
185185
"CACHE_REDIS_HOST": "localhost",
186186
"CACHE_REDIS_PORT": 6379,
@@ -192,7 +192,7 @@ SIGNAL_CACHE_CONFIG = {
192192
For Redis Sentinel deployments:
193193

194194
```python
195-
SIGNAL_CACHE_CONFIG = {
195+
DISTRIBUTED_COORDINATION_CONFIG = {
196196
"CACHE_TYPE": "RedisSentinelCache",
197197
"CACHE_REDIS_SENTINELS": [("sentinel1", 26379), ("sentinel2", 26379)],
198198
"CACHE_REDIS_SENTINEL_MASTER": "mymaster",
@@ -205,7 +205,7 @@ SIGNAL_CACHE_CONFIG = {
205205
For SSL/TLS connections:
206206

207207
```python
208-
SIGNAL_CACHE_CONFIG = {
208+
DISTRIBUTED_COORDINATION_CONFIG = {
209209
"CACHE_TYPE": "RedisCache",
210210
"CACHE_REDIS_HOST": "redis.example.com",
211211
"CACHE_REDIS_PORT": 6380,
@@ -229,7 +229,7 @@ Individual lock acquisitions can override this value when needed.
229229

230230
### Database-Only Mode
231231

232-
When `SIGNAL_CACHE_CONFIG` is not configured, Superset uses database-backed operations:
232+
When `DISTRIBUTED_COORDINATION_CONFIG` is not configured, Superset uses database-backed operations:
233233

234234
- **Locking**: Uses the KeyValue table with periodic cleanup of expired entries
235235
- **Event notifications**: Uses database polling instead of pub/sub

‎docs/developer_docs/api.mdx‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
6868
| `POST` | [Create a new dashboard](./api/create-a-new-dashboard) | `/api/v1/dashboard/` |
6969
| `GET` | [Get metadata information about this API resource (dashboard--info)](./api/get-metadata-information-about-this-api-resource-dashboard-info) | `/api/v1/dashboard/_info` |
7070
| `GET` | [Get a dashboard detail information](./api/get-a-dashboard-detail-information) | `/api/v1/dashboard/{id_or_slug}` |
71-
| `GET` | [Get a dashboard's chart definitions.](./api/get-a-dashboards-chart-definitions) | `/api/v1/dashboard/{id_or_slug}/charts` |
71+
| `GET` | [Get a dashboard's chart definitions.](./api/get-a-dashboard-s-chart-definitions) | `/api/v1/dashboard/{id_or_slug}/charts` |
7272
| `POST` | [Create a copy of an existing dashboard](./api/create-a-copy-of-an-existing-dashboard) | `/api/v1/dashboard/{id_or_slug}/copy/` |
73-
| `GET` | [Get dashboard's datasets](./api/get-dashboards-datasets) | `/api/v1/dashboard/{id_or_slug}/datasets` |
74-
| `DELETE` | [Delete a dashboard's embedded configuration](./api/delete-a-dashboards-embedded-configuration) | `/api/v1/dashboard/{id_or_slug}/embedded` |
75-
| `GET` | [Get the dashboard's embedded configuration](./api/get-the-dashboards-embedded-configuration) | `/api/v1/dashboard/{id_or_slug}/embedded` |
76-
| `POST` | [Set a dashboard's embedded configuration](./api/set-a-dashboards-embedded-configuration) | `/api/v1/dashboard/{id_or_slug}/embedded` |
73+
| `GET` | [Get dashboard's datasets](./api/get-dashboard-s-datasets) | `/api/v1/dashboard/{id_or_slug}/datasets` |
74+
| `DELETE` | [Delete a dashboard's embedded configuration](./api/delete-a-dashboard-s-embedded-configuration) | `/api/v1/dashboard/{id_or_slug}/embedded` |
75+
| `GET` | [Get the dashboard's embedded configuration](./api/get-the-dashboard-s-embedded-configuration) | `/api/v1/dashboard/{id_or_slug}/embedded` |
76+
| `POST` | [Set a dashboard's embedded configuration](./api/set-a-dashboard-s-embedded-configuration) | `/api/v1/dashboard/{id_or_slug}/embedded` |
7777
| `PUT` | [Update dashboard by id_or_slug embedded](./api/update-dashboard-by-id-or-slug-embedded) | `/api/v1/dashboard/{id_or_slug}/embedded` |
78-
| `GET` | [Get dashboard's tabs](./api/get-dashboards-tabs) | `/api/v1/dashboard/{id_or_slug}/tabs` |
78+
| `GET` | [Get dashboard's tabs](./api/get-dashboard-s-tabs) | `/api/v1/dashboard/{id_or_slug}/tabs` |
7979
| `DELETE` | [Delete a dashboard](./api/delete-a-dashboard) | `/api/v1/dashboard/{pk}` |
8080
| `PUT` | [Update a dashboard](./api/update-a-dashboard) | `/api/v1/dashboard/{pk}` |
8181
| `POST` | [Compute and cache a screenshot (dashboard-pk-cache-dashboard-screenshot)](./api/compute-and-cache-a-screenshot-dashboard-pk-cache-dashboard-screenshot) | `/api/v1/dashboard/{pk}/cache_dashboard_screenshot/` |
@@ -84,7 +84,7 @@ curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
8484
| `POST` | [Mark the dashboard as favorite for the current user](./api/mark-the-dashboard-as-favorite-for-the-current-user) | `/api/v1/dashboard/{pk}/favorites/` |
8585
| `PUT` | [Update native filters configuration for a dashboard.](./api/update-native-filters-configuration-for-a-dashboard) | `/api/v1/dashboard/{pk}/filters` |
8686
| `GET` | [Get a computed screenshot from cache (dashboard-pk-screenshot-digest)](./api/get-a-computed-screenshot-from-cache-dashboard-pk-screenshot-digest) | `/api/v1/dashboard/{pk}/screenshot/{digest}/` |
87-
| `GET` | [Get dashboard's thumbnail](./api/get-dashboards-thumbnail) | `/api/v1/dashboard/{pk}/thumbnail/{digest}/` |
87+
| `GET` | [Get dashboard's thumbnail](./api/get-dashboard-s-thumbnail) | `/api/v1/dashboard/{pk}/thumbnail/{digest}/` |
8888
| `GET` | [Download multiple dashboards as YAML files](./api/download-multiple-dashboards-as-yaml-files) | `/api/v1/dashboard/export/` |
8989
| `GET` | [Check favorited dashboards for current user](./api/check-favorited-dashboards-for-current-user) | `/api/v1/dashboard/favorite_status/` |
9090
| `POST` | [Import dashboard(s) with associated charts/datasets/databases](./api/import-dashboard-s-with-associated-charts-datasets-databases) | `/api/v1/dashboard/import/` |
@@ -177,7 +177,7 @@ curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
177177
| `GET` | [Get names of databases currently available](./api/get-names-of-databases-currently-available) | `/api/v1/database/available/` |
178178
| `GET` | [Download database(s) and associated dataset(s) as a zip file](./api/download-database-s-and-associated-dataset-s-as-a-zip-file) | `/api/v1/database/export/` |
179179
| `POST` | [Import database(s) with associated datasets](./api/import-database-s-with-associated-datasets) | `/api/v1/database/import/` |
180-
| `GET` | [Receive personal access tokens from OAuth2](./api/receive-personal-access-tokens-from-o-auth-2) | `/api/v1/database/oauth2/` |
180+
| `GET` | [Receive personal access tokens from OAuth2](./api/receive-personal-access-tokens-from-oauth2) | `/api/v1/database/oauth2/` |
181181
| `GET` | [Get related fields data (database-related-column-name)](./api/get-related-fields-data-database-related-column-name) | `/api/v1/database/related/{column_name}` |
182182
| `POST` | [Test a database connection](./api/test-a-database-connection) | `/api/v1/database/test_connection/` |
183183
| `POST` | [Upload a file and returns file metadata](./api/upload-a-file-and-returns-file-metadata) | `/api/v1/database/upload_metadata/` |
@@ -201,7 +201,7 @@ curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
201201

202202
| Method | Endpoint | Description |
203203
|--------|----------|-------------|
204-
| `GET` | [Get the bootstrap data for SqlLab page](./api/get-the-bootstrap-data-for-sql-lab-page) | `/api/v1/sqllab/` |
204+
| `GET` | [Get the bootstrap data for SqlLab page](./api/get-the-bootstrap-data-for-sqllab-page) | `/api/v1/sqllab/` |
205205
| `POST` | [Estimate the SQL query execution cost](./api/estimate-the-sql-query-execution-cost) | `/api/v1/sqllab/estimate/` |
206206
| `POST` | [Execute a SQL query](./api/execute-a-sql-query) | `/api/v1/sqllab/execute/` |
207207
| `GET` | [Export the SQL query results to a CSV](./api/export-the-sql-query-results-to-a-csv) | `/api/v1/sqllab/export/{client_id}/` |
@@ -249,7 +249,7 @@ curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
249249

250250
| Method | Endpoint | Description |
251251
|--------|----------|-------------|
252-
| `GET` | [Return an AdvancedDataTypeResponse](./api/return-an-advanced-data-type-response) | `/api/v1/advanced_data_type/convert` |
252+
| `GET` | [Return an AdvancedDataTypeResponse](./api/return-an-advanceddatatyperesponse) | `/api/v1/advanced_data_type/convert` |
253253
| `GET` | [Return a list of available advanced data types](./api/return-a-list-of-available-advanced-data-types) | `/api/v1/advanced_data_type/types` |
254254

255255
</details>
@@ -324,8 +324,8 @@ curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
324324

325325
| Method | Endpoint | Description |
326326
|--------|----------|-------------|
327-
| `POST` | [Create a new dashboard's permanent link](./api/create-a-new-dashboards-permanent-link) | `/api/v1/dashboard/{pk}/permalink` |
328-
| `GET` | [Get dashboard's permanent link state](./api/get-dashboards-permanent-link-state) | `/api/v1/dashboard/permalink/{key}` |
327+
| `POST` | [Create a new dashboard's permanent link](./api/create-a-new-dashboard-s-permanent-link) | `/api/v1/dashboard/{pk}/permalink` |
328+
| `GET` | [Get dashboard's permanent link state](./api/get-dashboard-s-permanent-link-state) | `/api/v1/dashboard/permalink/{key}` |
329329

330330
</details>
331331

@@ -335,7 +335,7 @@ curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
335335
| Method | Endpoint | Description |
336336
|--------|----------|-------------|
337337
| `POST` | [Create a new permanent link (explore-permalink)](./api/create-a-new-permanent-link-explore-permalink) | `/api/v1/explore/permalink` |
338-
| `GET` | [Get chart's permanent link state](./api/get-charts-permanent-link-state) | `/api/v1/explore/permalink/{key}` |
338+
| `GET` | [Get chart's permanent link state](./api/get-chart-s-permanent-link-state) | `/api/v1/explore/permalink/{key}` |
339339

340340
</details>
341341

@@ -345,7 +345,7 @@ curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
345345
| Method | Endpoint | Description |
346346
|--------|----------|-------------|
347347
| `POST` | [Create a new permanent link (sqllab-permalink)](./api/create-a-new-permanent-link-sqllab-permalink) | `/api/v1/sqllab/permalink` |
348-
| `GET` | [Get permanent link state for SQLLab editor.](./api/get-permanent-link-state-for-sql-lab-editor) | `/api/v1/sqllab/permalink/{key}` |
348+
| `GET` | [Get permanent link state for SQLLab editor.](./api/get-permanent-link-state-for-sqllab-editor) | `/api/v1/sqllab/permalink/{key}` |
349349

350350
</details>
351351

@@ -363,10 +363,10 @@ curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
363363

364364
| Method | Endpoint | Description |
365365
|--------|----------|-------------|
366-
| `POST` | [Create a dashboard's filter state](./api/create-a-dashboards-filter-state) | `/api/v1/dashboard/{pk}/filter_state` |
367-
| `DELETE` | [Delete a dashboard's filter state value](./api/delete-a-dashboards-filter-state-value) | `/api/v1/dashboard/{pk}/filter_state/{key}` |
368-
| `GET` | [Get a dashboard's filter state value](./api/get-a-dashboards-filter-state-value) | `/api/v1/dashboard/{pk}/filter_state/{key}` |
369-
| `PUT` | [Update a dashboard's filter state value](./api/update-a-dashboards-filter-state-value) | `/api/v1/dashboard/{pk}/filter_state/{key}` |
366+
| `POST` | [Create a dashboard's filter state](./api/create-a-dashboard-s-filter-state) | `/api/v1/dashboard/{pk}/filter_state` |
367+
| `DELETE` | [Delete a dashboard's filter state value](./api/delete-a-dashboard-s-filter-state-value) | `/api/v1/dashboard/{pk}/filter_state/{key}` |
368+
| `GET` | [Get a dashboard's filter state value](./api/get-a-dashboard-s-filter-state-value) | `/api/v1/dashboard/{pk}/filter_state/{key}` |
369+
| `PUT` | [Update a dashboard's filter state value](./api/update-a-dashboard-s-filter-state-value) | `/api/v1/dashboard/{pk}/filter_state/{key}` |
370370

371371
</details>
372372

‎docs/developer_docs/extensions/components/alert.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ sidebar_label: Alert
2323
-->
2424

2525
import { StoryWithControls } from '../../../src/components/StorybookWrapper';
26-
import { Alert } from '@apache-superset/core/ui';
26+
import { Alert } from '@apache-superset/core/components';
2727

2828
# Alert
2929

@@ -105,10 +105,10 @@ function Demo() {
105105

106106
## Usage in Extensions
107107

108-
This component is available in the `@apache-superset/core/ui` package, which is automatically available to Superset extensions.
108+
This component is available in the `@apache-superset/core/components` package, which is automatically available to Superset extensions.
109109

110110
```tsx
111-
import { Alert } from '@apache-superset/core/ui';
111+
import { Alert } from '@apache-superset/core/components';
112112

113113
function MyExtension() {
114114
return (

‎docs/developer_docs/extensions/components/index.mdx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ sidebar_position: 1
2525

2626
# Extension Components
2727

28-
These UI components are available to Superset extension developers through the `@apache-superset/core/ui` package. They provide a consistent look and feel with the rest of Superset and are designed to be used in extension panels, views, and other UI elements.
28+
These UI components are available to Superset extension developers through the `@apache-superset/core/components` package. They provide a consistent look and feel with the rest of Superset and are designed to be used in extension panels, views, and other UI elements.
2929

3030
## Available Components
3131

3232
- [Alert](./alert)
3333

3434
## Usage
3535

36-
All components are exported from the `@apache-superset/core/ui` package:
36+
All components are exported from the `@apache-superset/core/components` package:
3737

3838
```tsx
39-
import { Alert } from '@apache-superset/core/ui';
39+
import { Alert } from '@apache-superset/core/components';
4040

4141
export function MyExtensionPanel() {
4242
return (
@@ -49,7 +49,7 @@ export function MyExtensionPanel() {
4949

5050
## Adding New Components
5151

52-
Components in `@apache-superset/core/ui` are automatically documented here. To add a new extension component:
52+
Components in `@apache-superset/core/components` are automatically documented here. To add a new extension component:
5353

5454
1. Add the component to `superset-frontend/packages/superset-core/src/ui/components/`
5555
2. Export it from `superset-frontend/packages/superset-core/src/ui/components/index.ts`

0 commit comments

Comments
 (0)