Download Latest Version 0.33.1 source code.tar.gz (4.3 MB)
Email in envelope

Get an email when there's a new version of Circuit

Home / 0.31.0
Name Modified Size InfoDownloads / Week
Parent folder
0.31.0 source code.tar.gz 2025-11-04 4.2 MB
0.31.0 source code.zip 2025-11-04 4.7 MB
README.md 2025-11-04 6.7 kB
Totals: 3 Items   9.0 MB 0

Breaking Changes:

Remove kotlinx-immutable dependency. With Compose's strong skipping mode, we no longer feel this is necessary.

Result delivery is now handled by NavigableCircuitContent via an internal AnsweringResultNavigator wrapper, and result handling APIs have been removed from BackStack and SaveableBackStack as this is now purely a navigation concern. This separates result handling concerns from the backstack implementation and provides better encapsulation.

The callback block in rememberAnsweringNavigator is no longer suspendable as it was never intended for any long running operations.

Behaviour Changes:

On iOS GestureNavigationDecorationFactory now uses IOSPredictiveBackNavDecorator instead of CupertinoGestureNavigationDecorator. This new decorator uses the Compose multi-platform PredictiveBackHandler to drive the back animation, instead of a custom swipe gesture or nested scroll.

The Navigator.resetRoot API is now using a StateOptions class to allow saving, restoring, and clearing of back stack state. The previous resetRoot function with saveState and restoreState booleans is available as an extension function.

Misc:

  • Switched Compose uses to depend on Compose Multiplatform over Jetpack Compose
  • Android minimum SDK is now minSdk 23
  • Added saved state peek/remove to Backstack
  • Fixed Navigator.onNavEvent() not passing all arguments to resetRoot()
  • Fixes to rememberCircuitNavigator() capturing onRootPop and not recreating if a new backstack was provided
  • Update Compose Multiplatform to 1.9.2.
  • Update to Kotlin 2.2.21.
  • Update to Molecule 2.2.0.
  • Build against KSP 2.2.20-2.0.4.

What's Changed

New Contributors

Full Changelog: https://github.com/slackhq/circuit/compare/0.30.0...0.31.0

Source: README.md, updated 2025-11-04