Skip to content

build(deps): bump com.patrykandpatrick.vico:compose from 3.3.0 to 3.3.1 - #1409

Merged
bmc08gt merged 1 commit into
code/cashfrom
dependabot/gradle/code/cash/com.patrykandpatrick.vico-compose-3.3.1
Sep 4, 2026
Merged

build(deps): bump com.patrykandpatrick.vico:compose from 3.3.0 to 3.3.1#1409
bmc08gt merged 1 commit into
code/cashfrom
dependabot/gradle/code/cash/com.patrykandpatrick.vico-compose-3.3.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 4, 2026

Copy link
Copy Markdown
Contributor

Bumps com.patrykandpatrick.vico:compose from 3.3.0 to 3.3.1.

Release notes

Sourced from com.patrykandpatrick.vico:compose's releases.

v3.3.1

Overview

  • breaking changes: none
  • addressed: #1587

Changes

  • Fixed an IllegalStateException (“Underflow in restore—more restores than saves”) that could crash charts with a LineCartesianLayer on Android 10. LineCartesianLayer guards its reveal-sweep clip with a sweepFraction < 1f check, and an ART JIT bug (b/553511933) could make the two evaluations of that comparison disagree, leaving an unmatched Canvas.restore. The comparison is now evaluated once and reused.

v3.3.0-next.2

Overview

Changes

  • Added content-area chart sizing. CartesianChartHost and PieChartHost gain a chartAreaHeight parameter, 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.height and similar still constrain the component bounds.
  • Deprecated MeasuringContext.canvasSize in favor of MeasuringContext.canvasWidth. With chartAreaHeight, the canvas height isn’t necessarily known during measuring. When drawing, read the full size from DrawingContext.canvasSize, narrowing your receiver from MeasuringContext to DrawingContext where needed. See the deprecation messages for more.
  • Deprecated BaseAxis.Size.Fraction. Its main use case—keeping the chart area’s height constant as the x-axis height changes—is now served by chartAreaHeight. Relatedly, HorizontalAxis’s automatic-height cap is now a fixed 64 dp instead of a fraction of the canvas height.
  • Alleviated the 3.3.0-next.1 breaking changes. All VicoScrollState constructor parameters now have defaults, matching rememberVicoScrollState, so direct construction no longer requires xSnapStep and snapAnimationSpec. titlePosition moved to the end of the HorizontalAxis and VerticalAxis factory, copy, and constructor signatures, so positional calls that pass tickPosition and lineDrawingOrder keep compiling.
  • Added visible-x-range preservation across data updates. When a chart’s x-range shifts (its minX or xStep changes), VicoScrollState recomputes 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.
  • Fixed two VicoScrollState scroll-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.
  • Prevented an UpdateReceiver leak when a chart’s identity changes. Registration, transformation, and unregistration with CartesianChartModelProducer now use the effect-stable chart ID rather than a value that mutates on recomposition.
  • Fixed PieChart slice 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.
  • Fixed the clipping of outside pie labels. PieChart now reserves vertical space for SliceLabel.Outside labels instead of shrinking the pie to fit them inside the chart bounds.
  • Deprecated pieSeries in favor of pieModel, aligning the pie API with the candlestick, column, and line transaction functions.
  • Improved ShapeComponent drawing performance. Resolved Outlines are now drawn directly instead of being replayed into a reusable Path, so rectangles and rounded rectangles skip path construction entirely.

v3.3.0-next.1

[!WARNING] Android is now Compose-first. Moving forward, like the official view-based Jetpack libraries, Vico’s views module will receive only critical fixes. Its versioning is being decoupled, and the following applies only to compose. The views guide, API reference, and sample charts remain available.

If your project will stay view-based for the foreseeable future and you need the latest Vico features, you can use the compose module with ComposeView.

Overview

Changes

  • Introduced per-type CartesianLayerDrawingModelInterpolator factories: line, column, and candlestick. The old default factory and the CartesianLayerDrawingModel.transform and Entry.transform hooks are deprecated; layer-specific interpolators now own interpolation policy. If you customized interpolation, consult the deprecation messages.
  • Added a reveal animation for LineCartesianLayer. Passing CartesianLayerDrawingModelInterpolator.line(sweep = true) for drawingModelInterpolator animates a line’s first appearance as a clip sweeping in from the start.
  • Added configurable axis title positions. HorizontalAxis and VerticalAxis gain a titlePosition property, and BaseAxis.TitlePosition defines the available values (Side and End). Their factory and copy functions also gain a titlePosition parameter; positional calls that pass later parameters may need to switch to named arguments.[^1]
  • Added separate initial-animation settings. CartesianChartHost gains an initialAnimationSpec parameter, which defaults to animationSpec and can be set to null to skip the initial reveal animation. The animateIn parameter is deprecated; set initialAnimationSpec to null instead.
  • Added VicoZoomState.animateZoom for animating zoom programmatically.

... (truncated)

Commits
  • 3d675cc ci: fix release notes generation
  • effbd5b chore: update version name to 3.3.1
  • 632d413 fix(compose): keep sweep canvas operations balanced
  • 52e8fe9 fix(deps): update dependency androidx.glance:glance-appwidget to v1.2.0 (#1597)
  • 9502f43 chore(deps): update dependency org.jetbrains.compose to v1.12.0 (#1592)
  • a1748c5 chore(deps): update dependency org.jetbrains.compose to v1.12.0 (#1591)
  • 10f33e5 chore(deps): update actions/setup-java action to v6 (#1594)
  • 9adf27c fix(deps): update agp to v9.3.2 (#1582)
  • eb12d77 chore(deps): update gradle to v9.7.1 (#1580)
  • b11e1a8 feat(sample): add donut chart to cover
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.patrykandpatrick.vico:compose](https://github.com/patrykandpatrick/vico) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/patrykandpatrick/vico/releases)
- [Commits](patrykandpatrick/vico@v3.3.0...v3.3.1)

---
updated-dependencies:
- dependency-name: com.patrykandpatrick.vico:compose
  dependency-version: 3.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file type: build Build system, Gradle, dependencies labels Sep 4, 2026
@github-actions github-actions Bot added the area: build-system Gradle, convention plugins, build-logic label Sep 4, 2026
@bmc08gt
bmc08gt merged commit 83977cd into code/cash Sep 4, 2026
4 checks passed
@dependabot
dependabot Bot deleted the dependabot/gradle/code/cash/com.patrykandpatrick.vico-compose-3.3.1 branch September 4, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build-system Gradle, convention plugins, build-logic dependencies Pull requests that update a dependency file type: build Build system, Gradle, dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant