v8.0
All preparations for the upcoming v8.0 release will be carried out on the 8.0 branch https://github.com/ecomfe/vue-echarts/tree/8.0 , stay tuned!
Major changes
- ⚠️ Drop support for Vue 2 (no more vue-demi, fixes #827)
- ⚠️ Upgrade ECharts to v6.0
Checklist
- [x] Remove vue-demi and Vue 2 related code
- [x] Build type declarations from source code instead of maintaining a manual version at https://github.com/ecomfe/vue-echarts/blob/b7852ab6430084c54a8e1c0a05648748da94bc64/src/index.d.ts
- [x] Use Web Components without native class support detection: https://github.com/ecomfe/vue-echarts/blob/b7852ab6430084c54a8e1c0a05648748da94bc64/src/wc.ts#L9-L39
- [ ] Support component rendered tooltips
- [ ] Support dynamic theme switching with
setTheme(see https://github.com/apache/echarts/pull/20705) ...and enable same feature for CSP/SSR build - [ ] [CodeGen] add Thumbnail Component (see https://github.com/apache/echarts/pull/17471)
- [ ] [CodeGen] add Chord Chart (see https://github.com/apache/echarts/pull/20522)
- [x] [Demo] Switch to Vite?
- [x] [Chore] ESLint flat config
- [x] [Chore] Cleanup unused devDependencies(
resize-detector,@rollup/plugin-node-resolve...)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| vue-echarts | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 22, 2025 5:38am |
Thank you, @kingyue737! I’ve added a few items to the list that I had been thinking about for a while.
I found a nice example for component-rendered tooltips:
https://github.com/meitan-li/sfc-tooltip-demo?tab=readme-ov-file#%E6%96%B9%E5%BC%8F%E4%BA%8C-%E4%BD%BF%E7%94%A8customelement
According to this guide, users can render custom elements inside tooltip.formatter pretty easily.
So it seems like there's no extra work needed on our end🤔.
So it seems like there's no extra work needed on our end🤔.
I still think it's better DX if we can have this built-in as slots, which makes things much easier.
@kingyue737 Can you change the source branch of this PR to ecomfe:8.0 so that we can track all changes?
@kingyue737 Can you change the source branch of this PR to ecomfe:8.0 so that we can track all changes?
Let's create a new PR and copy the roadmap there.
close in favor of #846