Jetpack Compose 1.13 goes stable with new UI, performance and testing APIs
Brief
Jetpack Compose 1.13 is stable, with updates spanning graphics, layouts, text, performance, testing and animation. The release also includes migration guidance and new APIs for rendering agent-generated interfaces.
Upgrade and migration
- Use Compose BOM 2026.11.01; the upgrade requires Kotlin 2.2 or newer and compileSdk 37.1.
- Material 3 1.5.0 is stable. Compose Material 2 is deprecated and no longer actively maintained; Compose ConstraintLayout and MotionLayout are also deprecated.
- Value-based BasicTextField and Material 2 TextField are deprecated. The release recommends migrating to state-based text fields.
New capabilities
- Graphics additions include progressive blur, PolygonShape and MorphPolygonShape, plus configurable blur properties for dialogs and popups.
- FlexBox and Grid are stable; LazyLayoutCacheWindow adds window-based prefetching for lazy lists and grids.
- New developer tools include Compose performance static analysis, recomposition tracing in Perfetto and configurable UI-test failure artifacts.
- CapturedAnimatedVisibility animates a snapshot of the last frame when content becomes invisible; the article reports 7–8% faster frame time during exit than with AnimatedVisibility in its benchmarks.
- The alpha Jetpack Compose A2UI renderer implements the open Agent-to-UI protocol, rendering agent data as native Compose components without executing arbitrary code.
Generated by AI from the original article. Check the source for full details.