recharts 2.3.0
What's Changed
For the full list of changes between v2.2.0 and v2.3.0 please see the v2.3.0-alpha.0 and the v2.3.0-alpha.1 release notes.
fix
- fix: patch d3 libraries with victory-vendor to fix security vulnerability, failing test by @ckifer in https://github.com/recharts/recharts/pull/3167
- SECURITY VULNERABILITY FIX 🎉: used
victory-vendorto replace esm only versions ofd3withcjscompatible versions from victory. We will introduce a breaking change in 3.0 to move back toesmonly d3 libraries. - closes #3012
- SECURITY VULNERABILITY FIX 🎉: used
memoize responsive container functions and fix bug using previous values in- reverted in 2.3.1setState- https://github.com/recharts/recharts/commit/3214d1405d13d5ddcd3931d870634bcb80a52b22
refactor
- ReactUtils – find by type – refactor using generic by @marcalexiei in https://github.com/recharts/recharts/pull/3152
chore
- chore: add npm publish action by @ckifer in https://github.com/recharts/recharts/pull/3166
jest migration
- fix: migrate area chart test to typescript by @Yilun-Sun in https://github.com/recharts/recharts/pull/3151
- Jest Migration: util/DataUtils (#3134) by @marcalexiei in https://github.com/recharts/recharts/pull/3147
- Jest Migration: Cell by @nikolasrieble in https://github.com/recharts/recharts/pull/3150
- test(JestMigration): convert FunnelChart (closes #3127) by @marcalexiei in https://github.com/recharts/recharts/pull/3153
- Jest Migration: ChartUtils by @nikolasrieble in https://github.com/recharts/recharts/pull/3148
- JestMigration: Label and LabelList by @nikolasrieble in https://github.com/recharts/recharts/pull/3154
- test(JestMigration): convert ResponsiveContainer by @marcalexiei in https://github.com/recharts/recharts/pull/3157
- LineChart.spec jest migration by @turculaurentiu91 in https://github.com/recharts/recharts/pull/3141
- fix: area chart test migration follow up by @Yilun-Sun in https://github.com/recharts/recharts/pull/3161
- fix: area chart test part3 by @Yilun-Sun in https://github.com/recharts/recharts/pull/3163
- test: add jest coverage, differentiate jest and karma envs to fix errors by @ckifer in https://github.com/recharts/recharts/pull/3164
New Contributors
- @Yilun-Sun made their first contribution in https://github.com/recharts/recharts/pull/3151
Full Changelog: