Breaking changes
- Updated peer dependency for
echarts
to^6.0.0
. - Updated peer dependency for
vue
to^3.3.0
. - Dropped support for browsers without native
class
support. - Removed
vue-echarts/csp
entry. Usevue-echarts
instead. Only manually includevue-echarts/style.css
if you are both enforcing a strict CSP that prevents inline<style>
injection and targeting browsers that don't support theCSSStyleSheet()
constructor.
New features
- ECharts 6 support.
- Added slots for tooltip and data view.
- Added support for getter in provide/inject.
- Added smart update strategy to make updates more effortless.
- Made CSS
border-radius
work out-of-the-box.
Chore
- Built with tsdown.
- Switched demo from webpack to rolldown-vite.
- Switched to ESLint flat config.
- Added unit test with Vitest.