All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
- Fixed array mutation call stack loop #58
- Fixed animations for array mutations
- Fixed pascalCase
- Fixed @vue/runtime-[core|dom] peer deps
- Refacto unit tests
- Refactored the project to add esm and cjs builds
- Compatible with Vite.js and Nuxt 3
- Changed Jest to Vitest ⚡️
- Fixed docs
- Added useful JSdocs
- more
- Breaking changes and new versions numbers
In previous versions, vue-demi
was used. It worked really well, but as the project advanced, they were a lot of problems with vue-related typescript definitions, tests and conflict between dependencies.
This new system will keep vue-chart-3
working for both Vue 2 & 3 with designated versions (2.x
and 3.x
respectively), but each one designed for their specific Vue version.
The usage of components of hooks is unchanged for both versions.
Code wise, there is not big breaking changes. But the Vue 3 version will have improved type checking for components template (with Volar extension).
- New docs using vuepress next!
- Fixed types for Vue 3 imports
- Fix
postinstall
bugs with npm update
- Fix
Plugin
types in hooks
chartInstance
is now accessible by reference to the component!
- Fixed call stack loop when using reactive options using data or ref
- Fixed bundle size thanks to @DRoet
- Fixed component names taking chartId instead of chartType
- Renamed
data
prop tochartData
due to type merging issues
- All components are now correctly typed if using Volar on VSCode
- Added
ExtractComponentData
utility type - Added
ExtractComponentProps
utility type - Reactive
options
Note: Version bump only for package vue-chart-3