fix(deps): update vico to v3.3.0 - #478
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/vico
branch
from
August 16, 2026 16:55
5f1f0ba to
c418f2b
Compare
renovate
Bot
force-pushed
the
renovate/vico
branch
from
August 20, 2026 14:02
c418f2b to
f62e8ea
Compare
renovate
Bot
force-pushed
the
renovate/vico
branch
from
August 20, 2026 18:56
f62e8ea to
ee416a5
Compare
renovate
Bot
force-pushed
the
renovate/vico
branch
from
August 21, 2026 15:38
ee416a5 to
e57a430
Compare
renovate
Bot
force-pushed
the
renovate/vico
branch
from
August 21, 2026 19:13
e57a430 to
91efb9a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.2.3→3.3.03.2.3→3.3.0Release Notes
patrykandpatrick/vico (com.patrykandpatrick.vico:compose-m3)
v3.3.0Overview
Changes
CartesianChartHostandPieChartHostgain achartAreaHeightparameter, which sets the default height of the coordinate system (for Cartesian charts) or the default pie diameter (for pie charts). The legend, the marker, the axis margins, and other components now add to this height rather than being fitted inside a capped total height. The defaults are 192 dp for Cartesian charts and 232 dp for pie charts.Modifier.heightand similar still constrain the component bounds.MeasuringContext.canvasSizein favor ofMeasuringContext.canvasWidth. WithchartAreaHeight, the canvas height isn’t necessarily known during measuring. When drawing, read the full size fromDrawingContext.canvasSize, narrowing your receiver fromMeasuringContexttoDrawingContextwhere needed. See the deprecation messages for more.BaseAxis.Size.Fraction. Its main use case—keeping the chart area’s height constant as the x-axis height changes—is now served bychartAreaHeight. Relatedly,HorizontalAxis’s automatic-height cap is now a fixed 64 dp instead of a fraction of the canvas height.CartesianLayerDrawingModelInterpolatorfactories:line,column, andcandlestick. The olddefaultfactory and theCartesianLayerDrawingModel.transformandEntry.transformhooks are deprecated; layer-specific interpolators now own interpolation policy. If you customized interpolation, consult the deprecation messages.LineCartesianLayer. PassingCartesianLayerDrawingModelInterpolator.line(sweep = true)fordrawingModelInterpolatoranimates a line’s first appearance as a clip sweeping in from the start.CartesianChartHostgains aninitialAnimationSpecparameter, which defaults toanimationSpecand can be set tonullto skip the initial reveal animation. TheanimateInparameter is deprecated; setinitialAnimationSpectonullinstead.HorizontalAxisandVerticalAxisgain atitlePositionproperty, andBaseAxis.TitlePositiondefines the available values (SideandEnd). Their factory and copy functions also gain atitlePositionparameter.HorizontalAxislabels to the plot-area edges without shrinking the plot area, preventing clipping.HorizontalAxis.ItemPlacer.alignedgains ashiftExtremeLabelsparameter, andHorizontalAxis.ItemPlacergainsgetShiftExtremeLabels.rememberVicoScrollStateandVicoScrollStategainxSnapStepandsnapAnimationSpec; whenxSnapStepis set, the scroll position snaps to multiples of the given x-step after a fling.VicoZoomState.animateZoomfor animating zoom programmatically.minXorxStepchanges),VicoScrollStaterecomputes the scroll value so the same x-coordinates stay on screen, keeping prepended history from jumping the viewport to the start edge. The correction runs during measurement, so the adjusted value is used by the frame that draws the new data, and it works in both LTR and RTL layouts.VicoScrollStatescroll-position bug in which a zoom’s stale scroll compensation was applied when a pinch transitioned straight into a pan or fling, rolling the viewport back to its zoom-time position.UpdateReceiverleak when a chart’s identity changes. Registration, transformation, and unregistration withCartesianChartModelProducernow use the effect-stable chart ID rather than a value that mutates on recomposition.PieChartslice spacing, which now yields a constant-width gap for both donuts and holeless pies instead of widening toward the outer edge or collapsing at the center.PieChartnow reserves vertical space forSliceLabel.Outsidelabels instead of shrinking the pie to fit them inside the chart bounds.pieSeriesin favor ofpieModel, aligning the pie API with thecandlestick,column, andlinetransaction functions.ShapeComponentdrawing performance. ResolvedOutlines are now drawn directly instead of being replayed into a reusablePath, so rectangles and rounded rectangles skip path construction entirely.CartesianLayerDrawingModelandCartesianLayerDrawingModelInterpolatorfromcom.patrykandpatrick.vico.compose.common.datatocom.patrykandpatrick.vico.compose.cartesian.data. Deprecated type aliases remain at the old locations.v3.3.0-next.2Overview
Changes
CartesianChartHostandPieChartHostgain achartAreaHeightparameter, which sets the default height of the coordinate system (for Cartesian charts) or the default pie diameter (for pie charts). The legend, the marker, the axis margins, and other components now add to this height rather than being fitted inside a capped total height. The defaults are 192 dp for Cartesian charts and 232 dp for pie charts.Modifier.heightand similar still constrain the component bounds.MeasuringContext.canvasSizein favor ofMeasuringContext.canvasWidth. WithchartAreaHeight, the canvas height isn’t necessarily known during measuring. When drawing, read the full size fromDrawingContext.canvasSize, narrowing your receiver fromMeasuringContexttoDrawingContextwhere needed. See the deprecation messages for more.BaseAxis.Size.Fraction. Its main use case—keeping the chart area’s height constant as the x-axis height changes—is now served bychartAreaHeight. Relatedly,HorizontalAxis’s automatic-height cap is now a fixed 64 dp instead of a fraction of the canvas height.3.3.0-next.1breaking changes. AllVicoScrollStateconstructor parameters now have defaults, matchingrememberVicoScrollState, so direct construction no longer requiresxSnapStepandsnapAnimationSpec.titlePositionmoved to the end of theHorizontalAxisandVerticalAxisfactory,copy, and constructor signatures, so positional calls that passtickPositionandlineDrawingOrderkeep compiling.minXorxStepchanges),VicoScrollStaterecomputes the scroll value so the same x-coordinates stay on screen, keeping prepended history from jumping the viewport to the start edge. The correction runs during measurement, so the adjusted value is used by the frame that draws the new data, and it works in both LTR and RTL layouts.VicoScrollStatescroll-position regressions. The scroll anchor no longer drifts by the trimmed amount when data is removed from the start side while the scroll is pinned to the end, and a zoom’s stale scroll compensation is no longer applied when a pinch transitions straight into a pan or fling.UpdateReceiverleak when a chart’s identity changes. Registration, transformation, and unregistration withCartesianChartModelProducernow use the effect-stable chart ID rather than a value that mutates on recomposition.PieChartslice spacing, which now yields a constant-width gap for both donuts and holeless pies instead of widening toward the outer edge or collapsing at the center.PieChartnow reserves vertical space forSliceLabel.Outsidelabels instead of shrinking the pie to fit them inside the chart bounds.pieSeriesin favor ofpieModel, aligning the pie API with thecandlestick,column, andlinetransaction functions.ShapeComponentdrawing performance. ResolvedOutlines are now drawn directly instead of being replayed into a reusablePath, so rectangles and rounded rectangles skip path construction entirely.v3.3.0-next.1Overview
Changes
CartesianLayerDrawingModelInterpolatorfactories:line,column, andcandlestick. The olddefaultfactory and theCartesianLayerDrawingModel.transformandEntry.transformhooks are deprecated; layer-specific interpolators now own interpolation policy. If you customized interpolation, consult the deprecation messages.LineCartesianLayer. PassingCartesianLayerDrawingModelInterpolator.line(sweep = true)fordrawingModelInterpolatoranimates a line’s first appearance as a clip sweeping in from the start.HorizontalAxisandVerticalAxisgain atitlePositionproperty, andBaseAxis.TitlePositiondefines the available values (SideandEnd). Their factory and copy functions also gain atitlePositionparameter; positional calls that pass later parameters may need to switch to named arguments.1CartesianChartHostgains aninitialAnimationSpecparameter, which defaults toanimationSpecand can be set tonullto skip the initial reveal animation. TheanimateInparameter is deprecated; setinitialAnimationSpectonullinstead.VicoZoomState.animateZoomfor animating zoom programmatically.rememberVicoScrollStateandVicoScrollStategainxSnapStepandsnapAnimationSpec; whenxSnapStepis set, the scroll position snaps to multiples of the given x-step after a fling. DirectVicoScrollStateconstructor calls must pass the new parameters.1HorizontalAxislabels to the plot-area edges without shrinking the plot area, preventing clipping.HorizontalAxis.ItemPlacer.alignedgains ashiftExtremeLabelsparameter, andHorizontalAxis.ItemPlacergainsgetShiftExtremeLabels.CartesianLayerDrawingModelandCartesianLayerDrawingModelInterpolatorfromcom.patrykandpatrick.vico.compose.common.datatocom.patrykandpatrick.vico.compose.cartesian.data. Deprecated type aliases remain at the old locations.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.
Footnotes
These minor breaking changes will be alleviated in subsequent prereleases; they will not be present in version
3.3.0. ↩ ↩2