You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/07/22 23:26:02 UTC
(superset) 01/01: chore(deps): bump echarts from 5.6.0 to 6.1.0 in /superset-frontend
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch rebump-echarts-6
in repository https://gitbox.apache.org/repos/asf/superset.git
commit d6bd4c83af56905324485d1489be2ab4039f95c4
Author: Claude Code <no...@anthropic.com>
AuthorDate: Wed Jul 22 16:25:09 2026 -0700
chore(deps): bump echarts from 5.6.0 to 6.1.0 in /superset-frontend
Re-applies #40264, reverting #42314. The revert blamed the bump for the
broken time-axis charts, but the actual cause was locale registration
clobbering echarts' builtin locales, fixed on master by #42317 (and
#42315): the plain langXX.js i18n bundles export nothing, so the loaders
must import the langXX-obj.js builds. With that fix in place the 6.x
bump is safe.
Also restores the Greek (EL) and Latvian (LV) locale loaders, which
echarts gained in 6.x, pointing them at their -obj builds.
Co-Authored-By: Claude Fable 5 <no...@anthropic.com>
---
superset-frontend/package-lock.json | 16 ++++++++--------
superset-frontend/package.json | 2 +-
.../plugin-chart-echarts/src/components/Echart.tsx | 9 ++++-----
3 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json
index 6901d497e17..1e288e5b80e 100644
--- a/superset-frontend/package-lock.json
+++ b/superset-frontend/package-lock.json
@@ -91,7 +91,7 @@
"dayjs": "^1.11.21",
"dom-to-image-more": "^3.10.2",
"dom-to-pdf": "^0.3.2",
- "echarts": "^5.6.0",
+ "echarts": "^6.1.0",
"fast-glob": "^3.3.2",
"fs-extra": "^11.3.6",
"fuse.js": "^7.5.0",
@@ -19176,13 +19176,13 @@
}
},
"node_modules/echarts": {
- "version": "5.6.0",
- "resolved": "https://registry.npmjs.org/echarts/-/echarts-5.6.0.tgz",
- "integrity": "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==",
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/echarts/-/echarts-6.1.0.tgz",
+ "integrity": "sha512-q0yaFPggC9FUdsWH4blavRWFmxdrIodbkoKNAjJudAI6CA9gNPxHtV2RcZNEepZVlk4yvBYkOkbk6HIVpIyHZA==",
"license": "Apache-2.0",
"dependencies": {
"tslib": "2.3.0",
- "zrender": "5.6.1"
+ "zrender": "6.1.0"
}
},
"node_modules/echarts/node_modules/tslib": {
@@ -43754,9 +43754,9 @@
}
},
"node_modules/zrender": {
- "version": "5.6.1",
- "resolved": "https://registry.npmjs.org/zrender/-/zrender-5.6.1.tgz",
- "integrity": "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==",
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/zrender/-/zrender-6.1.0.tgz",
+ "integrity": "sha512-oEGMDB6pOP2S6OwRR4PdVv610zrjnA3Bh+JnSG12fYJlBKjtNAoEb5fSUoCOOINlH96I2fU38/A2UpRKs67xYQ==",
"license": "BSD-3-Clause",
"dependencies": {
"tslib": "2.3.0"
diff --git a/superset-frontend/package.json b/superset-frontend/package.json
index 34ce38a4b9d..5a87b261cea 100644
--- a/superset-frontend/package.json
+++ b/superset-frontend/package.json
@@ -176,7 +176,7 @@
"dayjs": "^1.11.21",
"dom-to-image-more": "^3.10.2",
"dom-to-pdf": "^0.3.2",
- "echarts": "^5.6.0",
+ "echarts": "^6.1.0",
"fast-glob": "^3.3.2",
"fs-extra": "^11.3.6",
"fuse.js": "^7.5.0",
diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx
index 2c5c9efa2e0..dd97aa019f8 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx
+++ b/superset-frontend/plugins/plugin-chart-echarts/src/components/Echart.tsx
@@ -130,11 +130,8 @@ use([
// code-split exactly the locales listed here. Keys are Superset locales
// uppercased (see LANGUAGES in superset/config.py); values point at the
// echarts bundle, whose naming differs for some locales (Slovenian is
-// langSI, Brazilian Portuguese is langPT-br). Only locales that echarts
-// 5.6.0 ships a bundle for are listed — Greek (langEL) and Latvian
-// (langLV) were added in echarts 6 and must stay out until this
-// dependency is upgraded again. Superset locales absent from this map
-// fall back to English.
+// langSI, Brazilian Portuguese is langPT-br). Superset locales absent
+// from this map fall back to English.
//
// The "-obj" suffix is required and must not be dropped. echarts ships two
// UMD builds per locale: langXX.js self-registers under echarts' own key and
@@ -154,6 +151,7 @@ const LOCALE_LOADERS: Record<
AR: () => import('echarts/i18n/langAR-obj.js'),
CS: () => import('echarts/i18n/langCS-obj.js'),
DE: () => import('echarts/i18n/langDE-obj.js'),
+ EL: () => import('echarts/i18n/langEL-obj.js'),
EN: () => import('echarts/i18n/langEN-obj.js'),
ES: () => import('echarts/i18n/langES-obj.js'),
FA: () => import('echarts/i18n/langFA-obj.js'),
@@ -163,6 +161,7 @@ const LOCALE_LOADERS: Record<
IT: () => import('echarts/i18n/langIT-obj.js'),
JA: () => import('echarts/i18n/langJA-obj.js'),
KO: () => import('echarts/i18n/langKO-obj.js'),
+ LV: () => import('echarts/i18n/langLV-obj.js'),
NL: () => import('echarts/i18n/langNL-obj.js'),
PL: () => import('echarts/i18n/langPL-obj.js'),
RO: () => import('echarts/i18n/langRO-obj.js'),