Skip to content

Commit bb60298

Browse files
committed
Merge remote-tracking branch 'origin/master' into HEAD
2 parents c10f74b + c84c7c4 commit bb60298

48 files changed

Lines changed: 2320 additions & 415 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.

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,18 @@ updates:
8484
- "@swc/core"
8585
- "@swc/plugin-emotion"
8686
- "@swc/plugin-transform-imports"
87+
jsonforms:
88+
patterns:
89+
- "@jsonforms/*"
90+
visx:
91+
patterns:
92+
- "@visx/*"
93+
emotion:
94+
patterns:
95+
- "@emotion/*"
96+
fontsource:
97+
patterns:
98+
- "@fontsource/*"
8799
open-pull-requests-limit: 30
88100
versioning-strategy: increase
89101
cooldown:

UPDATING.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,30 @@ assists people when migrating to a new version.
2424

2525
## Next
2626

27+
- **[BREAKING] `SemanticLayer` and `SemanticView` are now classified in the
28+
Flask-AppBuilder role sets**, so `sync_role_definitions` (run on
29+
`superset init` and on startup) stops granting the built-in **Gamma** role
30+
write access to them. `SemanticLayer` is treated like `Database`
31+
(`READ_ONLY_MODEL_VIEWS`): create/edit/delete become **admin-only**, while
32+
read stays broadly available (its configuration is returned masked).
33+
`SemanticView` is treated like `Dataset` (`GAMMA_READ_ONLY_MODEL_VIEWS`):
34+
writes are Alpha-tier, reads Gamma-tier. Its custom read endpoints
35+
(`views`, `connections`) are mapped to `can_read` so they remain
36+
accessible under the read-only classification. A deployment relying on
37+
Gamma users creating or editing semantic layers/views must grant those
38+
permissions through a custom role. A migration retires the now-unused
39+
`can_views` / `can_connections` permissions left on the `SemanticLayer`
40+
view menu by earlier builds. Two upgrade-time notes on that migration:
41+
it seeds the `SemanticLayer` view menu and its `can_read` PVM if absent, so
42+
even a fresh or flag-off install gains that permission (harmless — the
43+
endpoints 404 while `SEMANTIC_LAYERS` is off); and retiring the stale
44+
permissions remaps any role that held them onto `can_read`, a small
45+
widening — a custom role granted only `can_views` or `can_connections` gains
46+
`can_read` (the semantic-layer list and its masked-configuration detail),
47+
which it could not previously reach. Operators who hand-rolled semantic-layer
48+
roles should re-audit them after upgrading. The feature remains gated behind
49+
the default-off `SEMANTIC_LAYERS` flag.
50+
2751
### Archived dataset purge requires impact confirmation
2852

2953
`GET /api/v1/dataset/<uuid>/purge-impact` returns the charts and distinct

docs/docs/using-superset/exploring-data.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,20 @@ see some data!
151151
You should see months in the rows and Department and Travel Class in the columns. Publish this chart
152152
to your existing Tutorial Dashboard you created earlier.
153153

154+
:::note
155+
Row and column totals/subtotals for the Pivot Table are correct even for non-additive metrics,
156+
such as ratios (`SUM(a)/SUM(b)`), `COUNT_DISTINCT`, `AVG`, and percentiles, not just additive ones
157+
like `SUM` or `COUNT`. Totals derive client-side, by reducing the same full-detail query results
158+
used to build the table, only when every selected metric is additive; if any selected metric is
159+
non-additive, Superset instead issues a database query at each total's own granularity for all
160+
metrics, so the total reflects each metric's own definition evaluated at that level rather than an
161+
incorrect combination of the displayed cells. Because of this, there's no separate "Aggregation
162+
function" control for totals in the Pivot Table: a total always reflects the metric's own
163+
definition. The Table chart's **Show summary** row is different: its **Summary aggregation**
164+
control can override a simple metric's own aggregation (to Sum or Average) for the summary row
165+
only — metrics built from custom SQL keep their own aggregation regardless.
166+
:::
167+
154168
### Line Chart
155169

156170
In this section, we are going to create a line chart to understand the average price of a ticket by

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@
6262
"@superset-ui/core": "^0.20.4",
6363
"@swc/core": "^1.16.1",
6464
"antd": "^6.6.1",
65-
"baseline-browser-mapping": "^2.11.18",
66-
"caniuse-lite": "^1.0.30001809",
65+
"baseline-browser-mapping": "^2.11.20",
66+
"caniuse-lite": "^1.0.30001810",
6767
"docusaurus-plugin-openapi-docs": "^5.2.0",
6868
"docusaurus-theme-openapi-docs": "^5.2.0",
69-
"js-yaml": "^5.4.0",
69+
"js-yaml": "^5.4.1",
7070
"json-bigint": "^1.0.0",
7171
"prism-react-renderer": "^2.4.1",
7272
"react": "^18.3.1",

docs/yarn.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6471,10 +6471,10 @@ base64-js@^1.3.1, base64-js@^1.5.1:
64716471
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
64726472
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
64736473

6474-
baseline-browser-mapping@^2.11.12, baseline-browser-mapping@^2.11.18, baseline-browser-mapping@^2.9.19:
6475-
version "2.11.18"
6476-
resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.11.18.tgz#49701f6ab6c58ccafb6d8e1ab2767574d9f0ba73"
6477-
integrity sha512-1iEmLEYSiE1SeBoAfPo/Mnx3PzfzHUkDK61ASkCpuk3YXugYLH5DYK1SzqV55F8FMI6s0F+/tCP7Polz1QRjxw==
6474+
baseline-browser-mapping@^2.11.12, baseline-browser-mapping@^2.11.20, baseline-browser-mapping@^2.9.19:
6475+
version "2.11.20"
6476+
resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.11.20.tgz#26078c7a4b08299656ea7ddceaebec955dc44303"
6477+
integrity sha512-H0ulySigv6icDJ1F7SjtdCD6PrhTpdYCmP0CactWy1+ekh0AFd0o1Wn5T8b+hnTmdBx19u9yhL6wvCylXMY7zw==
64786478

64796479
batch@0.6.1:
64806480
version "0.6.1"
@@ -6705,10 +6705,10 @@ caniuse-api@^3.0.0:
67056705
lodash.memoize "^4.1.2"
67066706
lodash.uniq "^4.5.0"
67076707

6708-
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001799, caniuse-lite@^1.0.30001809:
6709-
version "1.0.30001809"
6710-
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001809.tgz#e6cf71f14ddfe008f114dd2a846923be3c03a07b"
6711-
integrity sha512-xxWVywk6a6Arlk+hymeycyn/VgqEfLDxupvhH/xiY5SJ/18kmi9o6MiO320DCUzypORHLtvh0I4i04tUhCNHNQ==
6708+
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001799, caniuse-lite@^1.0.30001809, caniuse-lite@^1.0.30001810:
6709+
version "1.0.30001810"
6710+
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001810.tgz#4970b477dea3278374de9bc43aa8f5d39fc3cda2"
6711+
integrity sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==
67126712

67136713
ccount@^2.0.0:
67146714
version "2.0.1"
@@ -9703,10 +9703,10 @@ js-yaml@4.1.0, js-yaml@=4.3.1, js-yaml@^4.1.0, js-yaml@^4.2.0, js-yaml@^4.3.0:
97039703
dependencies:
97049704
argparse "^2.0.1"
97059705

9706-
js-yaml@^5.4.0:
9707-
version "5.4.0"
9708-
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-5.4.0.tgz#246dae8988029a6e9b19963e3ff5a1ff6e41f344"
9709-
integrity sha512-jE7vUJIebKzYQI5xu4co5CRBDlDEYnHrdzsxs4O2giCz4v2SbVMYKpmt1D9L38OKQAeCWmrOTRiCV93u0UkaJA==
9706+
js-yaml@^5.4.1:
9707+
version "5.4.1"
9708+
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-5.4.1.tgz#4629d91d4b4551f300435f0e4127899710f816fb"
9709+
integrity sha512-28R/k+NAjeuf7+CKlTxWZVExJGwVVLwY06DgEnOMz2gEpfNkDcD7QvyiVPT0xy0XXhU8vHsd4Ot42OOPdJG7dQ==
97109710
dependencies:
97119711
argparse "^2.0.1"
97129712

0 commit comments

Comments
 (0)