vue-echarts icon indicating copy to clipboard operation
vue-echarts copied to clipboard

v8.0

Open kingyue737 opened this issue 8 months ago • 4 comments

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...)

kingyue737 avatar Apr 21 '25 10:04 kingyue737

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

vercel[bot] avatar Apr 22 '25 05:04 vercel[bot]

Thank you, @kingyue737! I’ve added a few items to the list that I had been thinking about for a while.

Justineo avatar Apr 25 '25 18:04 Justineo

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🤔.

kingyue737 avatar Jun 05 '25 10:06 kingyue737

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.

Justineo avatar Jun 05 '25 11:06 Justineo

@kingyue737 Can you change the source branch of this PR to ecomfe:8.0 so that we can track all changes?

Justineo avatar Jun 30 '25 06:06 Justineo

@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.

Justineo avatar Jul 24 '25 10:07 Justineo

close in favor of #846

kingyue737 avatar Jul 24 '25 10:07 kingyue737