Releases: umairnadeem/react-line-graph
Releases · umairnadeem/react-line-graph
First patch
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