react-chartjs-2 v4.0.1 Release Notes

Release Date: 2022-01-19 // 4 months ago

Previous changes from v4.0.0

  • โš  BREAKING CHANGES

    • ๐Ÿšš getDatasetAtEvent, getElementAtEvent and getElementsAtEvent props are removed, utils with the same names can used instead
    • ๐Ÿ†• New target browsers: ie 11 dropped for regular bundle, modern bundle builds for ๐Ÿ’ป browsers with es6 modules support.
    • ๐Ÿšš Functional data prop is removed
    • โž• Added support of tree-shaking of Chart.js. Now you should register Chart.js components by yourself.
    • 0๏ธโƒฃ default export is renamed to Chart
    • ๐Ÿšš Chart.js re-exports are removed

    ๐Ÿ”‹ Features

    • datasetIdKey prop (#848) (f895766)

    • 0๏ธโƒฃ default export is renamed to Chart (#836) (131daa0)

    • ๐Ÿšš functional data prop is removed (#840) (b64dfb0)

    • ๐Ÿšš getDatasetAtEvent, getElementAtEvent and getElementsAtEvent props are removed (#845) (6a9b2a7)

    • ๐Ÿ†• new target browsers (#841) (b1e83db)

    • โœ‚ removed chart.js re-exports (#835) (30d5c2d)

    • tree-shaking (#839) (fcd2849)