Releases: apertureless/vue-chartjs
Releases · apertureless/vue-chartjs
💎 Release new version 2.3.9
Update
- Add
src
folder to npm package files. - Add
src/index.js
to main npm package entry instead of bundleddist
- This way the dependencies (vue and chart.js) don't get bundled into the package js.
💎 Release new version 2.3.8
Update
- vue to 2.2.1
💎 Release new version 2.3.6
Fixes
- Fixed #42 in reactiveProp and reactiveData mixin: complete dataset gets replaced in the watcher to also replace color variables etc.
💎 Release new version 2.3.5
Fixed
- #35 reactiveProp and reactiveData Mixin: Destroy chart instance before render()
💎 Release new version 2.3.4
Patches
- Update dependency chart.js to 2.5.0
💎 Release new version 2.3.3
Patches
- Updated vue and vue-template-compiler
- Fix #30
💎 Release new version 2.3.2
💎 Release new version 2.3.1
Short
Now vue-chartjs
uses the runtime-only build. All template tags has been rewritten to render functions.
Based on #22
Change Log
v2.3.1 (2016-12-20)
Fixed bugs:
- Issues after using gulp-- production #19
Closed issues:
- Error in rendering #21
Merged pull requests:
- ✅ Add tests for chart instance destroying #24 (apertureless)
- Feature/runtimebuild #22 #23 (apertureless)
💎 Release new version 2.3.0
Changelog
- Updated dependencies (vue.js & chart.js)
Breaking Change
- Changed mixin module imports. Seperated mixins in own module.
Old way was:
import { reactiveProp } from 'vue-chartjs'
Now:
// Load speperate modules
import { Line, mixins } from 'vue-chartjs'
export default Line.extend({
mixins: [mixins.reactiveProp],
props: ["chartData", "options"],
mounted () {
this.renderChart(this.chartData, this.options)
}
})
or with destructive assign:
// Load speperate modules with destructure assign
import { Line, mixins } from 'vue-chartjs'
const { reactiveProp } = mixins
export default Line.extend({
mixins: [reactiveProp],
props: ["chartData", "options"],
mounted () {
this.renderChart(this.chartData, this.options)
}
})
💎 Release new version 2.2.1
Update chartjs and vuejs dependencies