Skip to content

Comments

chore(deps): update vico to v3.0.0#4617

Merged
jamesarich merged 1 commit intomainfrom
renovate/vico
Feb 22, 2026
Merged

chore(deps): update vico to v3.0.0#4617
jamesarich merged 1 commit intomainfrom
renovate/vico

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 21, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.patrykandpatrick.vico:compose-m3 3.0.0-beta.43.0.0 age adoption passing confidence
com.patrykandpatrick.vico:compose-m2 3.0.0-beta.43.0.0 age adoption passing confidence
com.patrykandpatrick.vico:compose 3.0.0-beta.43.0.0 age adoption passing confidence

Release Notes

patrykandpatrick/vico (com.patrykandpatrick.vico:compose-m3)

v3.0.0

Overview
Restructuring
compose and multiplatform

The Jetpack Compose module, previously called compose, has been removed in favor of the Compose Multiplatform module, which also supports Jetpack Compose and is now stable. The Compose Multiplatform module has been renamed from multiplatform to compose.

Migration from Vico 2 multiplatform
  1. Adjust the module name(s) in the dependency declaration(s):
    • multiplatformcompose
    • multiplatform-m2compose-m2
    • multiplatform-m3compose-m3
  2. Update the version name (2.4.03.0.0).
  3. Replace all multiplatform imports (com.patrykandpatrick.vico.multiplatformcom.patrykandpatrick.vico.compose).
  4. If required, address points 2 and 10 under “Common” (below).
Migration from Vico 2 compose
  1. Replace all usages of deprecated APIs.
  2. If your project explicitly declares core as a dependency, remove this declaration.
  3. Update the version name (2.4.03.0.0). Given the aforementioned name change, the Compose Multiplatform module will be downloaded; no dependency-declaration changes are needed.
  4. Replace all core imports (com.patrykandpatrick.vico.corecom.patrykandpatrick.vico.compose).
  5. The API surface of the Compose Multiplatform module is largely the same as that of the retired Jetpack Compose Module and core combined, but some discrepancies exist. Refer to the guide, the API reference, and the sample charts for details. See also points 2 and 10 under “Common” (below).
    • There are some basic high-level differences, which are straightforward to adapt to. For example, the Compose Multiplatform module uses Compose’s Shape instead of its own abstraction.
    • If you have a custom implementation of a Vico interface that draws on the canvas—such as a custom Component—then you’ll find that DrawingContext now exposes the Compose Multiplatform canvas (androidx.compose.ui.graphics.Canvas) rather than the native Android canvas (android.graphics.Canvas). You can either migrate to the Compose canvas or simply access the native canvas via Canvas.nativeCanvas, retaining the same drawing logic.
core and views

core previously had two dependents: the Jetpack Compose module and the view module. With the removal of the former, core has been merged into views. All deprecated APIs have been removed. Migrate as follows:

  1. Replace all usages of deprecated APIs.
  2. If your project explicitly declares core as a dependency, remove this declaration.
  3. Update the version name (2.4.03.0.0).
  4. Replace all core imports (com.patrykandpatrick.vico.corecom.patrykandpatrick.vico.views).
  5. If required, address points 2 and 10 under “Common” (below).
Common
  1. Improved LineCartesianLayer performance.
  2. Converted title to an ExtraStore lambda in BaseAxis, HorizontalAxis, and VerticalAxis.
  3. Made CartesianChart call Decoration.drawUnderLayers before Axis.drawUnderLayers. This enables Decorations to draw content under HorizontalAxis and VerticalAxis guidelines.
  4. Added CartesianLayerRangeProvider.Intrinsic.
  5. Opened TextComponent.draw for overriding.
  6. Updated data carriers to override toString for easier debugging.
  7. Fixed empty VerticalLegends reserving space for padding.
  8. Fixed HorizontalAxis instances with Axis.Position.Horizontal.Top ignoring line when reporting their height.
  9. Fixed VerticalAxis shortening line from the bottom when VerticalAxis.ItemPlacer.getShiftTopLines returns false.
  10. Removed the no-op default implementation of Axis.updateAxisDimensions.
Vico 2 support

Bug reports for Vico 2 will be accepted until June 30, 2026. Bug fixes will be provided until July 31, 2026.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Dependency update label Feb 21, 2026
@codecov
Copy link

codecov bot commented Feb 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@7d7292a). Learn more about missing BASE report.
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff           @@
##             main   #4617   +/-   ##
======================================
  Coverage        ?   8.29%           
======================================
  Files           ?     296           
  Lines           ?   10782           
  Branches        ?    1666           
======================================
  Hits            ?     894           
  Misses          ?    9692           
  Partials        ?     196           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jamesarich jamesarich added this pull request to the merge queue Feb 21, 2026
Merged via the queue into main with commit 5c827e3 Feb 22, 2026
12 checks passed
@jamesarich jamesarich deleted the renovate/vico branch February 22, 2026 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant