Skip to main content

2.0.0-beta.2

This release includes bug fixes and API enhancements.

Breaking changesAddressed
Minor#862, #889, #890, #900

The following bugs have been fixed:

  • CartesianChartHost recomposition failed to occur when rememberCartesianChart was recomposed with changed arguments. This was related to Jetpack Compose’s strong skipping mode, which is on by default since recently.
  • The HorizontalAxis.ItemPlacer implementation instantiated by HorizontalAxis.ItemPlacer.aligned caused an OutOfMemoryError when addExtremeLabelPadding was true, and label was null.

Some API changes have been made:

  • In cartesianLayerPadding, the Padding suffix has been removed from all parameters’ names.
  • In rememberHorizontalLegend and rememberVerticalLegend, selected parameters have new names and/or default values.
  • In BaseAxis, SizeConstraint is now called Size. The sizeConstraint properties and parameters have been renamed accordingly.
  • In DynamicShader.bitmap, tileXMode is now called xTileMode, and analogously for tileYMode.

Also, multiple APIs have been marked as immutable or stable. This facilitates composable skipping.