Update circuit to v0.31.0 #1458
Open
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:
0.30.0→0.31.00.30.0→0.31.00.30.0→0.31.00.30.0→0.31.0Release Notes
slackhq/circuit (com.slack.circuit:circuit-codegen-annotations)
v0.31.0Compare Source
2025-11-04
Breaking Changes:
Remove
kotlinx-immutabledependency. With Compose's strong skipping mode, we no longer feel this is necessary.Result delivery is now handled by
NavigableCircuitContentvia an internalAnsweringResultNavigatorwrapper, and resulthandling APIs have been removed from
BackStackandSaveableBackStackas this is now purely a navigation concern. Thisseparates result handling concerns from the backstack implementation and provides better encapsulation.
The callback block in
rememberAnsweringNavigatoris no longer suspendable as it was never intended for any long running operations.Behaviour Changes:
On iOS
GestureNavigationDecorationFactorynow usesIOSPredictiveBackNavDecoratorinstead ofCupertinoGestureNavigationDecorator.This new decorator uses the Compose multiplatform
PredictiveBackHandlerto drive the back animation, instead of a swipeable gesture or nested scroll.The
Navigator.resetRootAPI is now using aStateOptionsclass to allow saving, restoring, andclearing of back stack state. The previous
resetRootfunction withsaveStateandrestoreStatebooleans is available as an extension function.Misc:
minSdk23BackstackNavigator.onNavEvent()not passing all arguments toresetRoot()rememberCircuitNavigator()capturingonRootPopand not recreating if a new backstack was provided1.9.2.2.2.21.2.2.0.2.2.20-2.0.4.Special thanks to @simon-duchastel and @eboudrant for contributing to this release!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.