Skip to content
This repository was archived by the owner on Dec 14, 2019. It is now read-only.

2.0.0

Choose a tag to compare

@billyjanitsch billyjanitsch released this 08 Jun 17:58
· 40 commits to master since this release

This release reduces orama's package size, improves tree-shakeability, and improves performance. It contains some breaking changes in the form of a slimmed public API, but does not change core behavior at all. See the full changelog for details.

Breaking changes

  • Remove undocumented internals from the public API (utils, chartCore, DEFAULT_THEME, etc.)
  • Remove undocumented Highlight extension
  • Remove undocumented image renderer
  • Drop support for React < 16.3.0

Features

  • Improve performance of tooltips while hovering over data
  • Validate theme objects passed to charts
  • Refactor and optimize the entire codebase
  • Modernize and simplify render output
  • Scale charts based on pixel density of the display
  • Avoid an initial re-render of charts with computed widths

Fixes

  • Avoid erroneously trimming the first datum in Areas layers
  • Fix x-axis label incorrectly displaying y-dimension data
  • Fix brush offset behavior while exiting and re-entering bounds