💎 Release new version 2.8.3
Change Log
v2.8.3 (2017-09-06)
Closed issues:
- Rounded corner for Bar chart #185
- Access canvas object from parents #184
- Issue with DonutChart in Safari #183
- Responsive Width, Fixed Height #180
- Entire Lodash Library Is Loaded!! 200kb chunk! #179
- height changed unexpectedly after re-rendering #178
- Default height no longer working in 2.8 #176
- how to get click on point in bar chart? #175
- clean install of from npm cannot be used in gulp / browserify #174
- tooltip callbacks possible? #173
- Computed object won't populate chart #170
- Error in nextTick: "RangeError: Maximum call stack size exceeded" #169
- Standalone chartjs build (don't include moment.js) #124
Merged pull requests:
- 🔥 Remove default styles object as it causes problems #187 (apertureless)
- remvove lodash merge #186 (apertureless)
Lodash
Well, nothing too fancy this release. However lodash
got removed as a dependency as tree-shaking seemed not to work well. As only the merge
was needed, it got replaced with Object.assign
plus the babel-transform-object-assign
as a polyfill.
It drastically decreased the filesize:
Filesize comparision
File | 2.8.2 | 2.8.3 |
---|---|---|
vue-chartjs.js | 277 kB | 49.5 kB |
vue-chartjs.min.js | 71.5 kB | 22.3 kB |
vue-chartjs.full.js | 1.31 MB | 1.09 MB |
vue-chartjs.full.min.js | 499 kB | 450 kB |