Skip to content

First patch

Latest
Compare
Choose a tag to compare
@umairnadeem umairnadeem released this 02 Sep 00:26
· 11 commits to master since this release

Upgrade Steps

  • [ACTION REQUIRED] npm update react-line-graph
  • Enjoy!

Breaking Changes

  • Allow multiple and mixed input types (tuples, numbers, and objects within data array)
  • Change named export to default export

New Features

  • Allow two-way compression (compress bottom and top of data-set)
  • Faster rendering due to improved time complexity
  • Reduce range of smoothing algorithm to allow more granularity

Bug Fixes

  • Prevent scaling artifacts upon hover after re-scaling graph
  • Add default value when computing control points for Bezier smoothing

Improvements

  • Eliminate unnecessary useCallback hook, improving rendering time

Other Changes

  • Refactored propTypes to be centralized, allowing better maintainability