Please see the 5.0.0-rc.2 release notes for more!
What's Changed
- fix: catch render exceptions and throw them by @wuhaiyang in #4777
- fix(texts): update snapshots by @pearmini in #4780
- fix(animation): keyframe by @pearmini in #4783
- docs: add migration by @pearmini in #4784
- feat: adapt to gui 0.5.0-alpha.5 by @Aarebecca in #4752
- fix(animation): facet keyframe by @pearmini in #4786
- feat(interaction): add sliderFilter to defaults by @pearmini in #4787
- feat(interaction): add legendFilter to defaults by @pearmini in #4788
- fix(tooltip): update after rerendering by @pearmini in #4789
- docs: add tooltip, color, interaction docs by @Aarebecca in #4790
- chore: update version to 5.0.0-rc.2 by @Aarebecca in #4791
Breaking Change
Since the default theme of G2 is still in the preparatory stage, in order to avoid future user changes, we require that the theme should be specified as "classic" when initializing Chart at present. Otherwise you may receive an exception warning and be unable to render the charts.
const chart = new Chart({
container: 'container',
theme: 'classic',
autoFit: true,
});
Full Changelog: v4.2.10...5.0.0-rc.2