Jetpack Compose 1.13 Upgrade: Deprecations and Behaviour Changes

Compose's November '26 release (BOM 2026.11.01) makes one focus modifier a no-op, adds click sounds and deprecates old text fields. An upgrade checklist ordered by risk.

Aditya BansalAditya BansalAuthor6 December 20264 min read 2 views

Researched and drafted with AI and reviewed by the Publisha team.

Jetpack Compose 1.13 Upgrade: Deprecations and Behaviour Changes
In this article▾
  1. Step 0: the build requirements
  2. Behaviour change 1: onFocusedBoundsChanged is now a no-op
  3. Behaviour change 2: clickables now play the system click sound
  4. Deprecations to plan for
  5. Value-based text fields
  6. Material 2, ConstraintLayout and MotionLayout
  7. Smaller things worth a look
  8. A sensible upgrade order

The Jetpack Compose November '26 release went stable on 18 November, bringing version 1.13 across the core Compose modules and Material 3 1.5.0. Most write-ups lead with the shiny parts: progressive blur, polygon shapes, stable FlexBox and Grid. Before you bump the BOM, though, it's worth knowing the parts that can change how an existing app behaves without a single compile error. One focus modifier now does nothing, every clickable now makes a sound, and the old text field API is deprecated. Here's an upgrade checklist, ordered by what's most likely to bite.

Step 0: the build requirements

According to the Android Developers Blog post on the release, the BOM version is 2026.11.01, and the upgrade needs Kotlin 2.2 or newer and compileSdk 37.1:

implementation(platform("androidx.compose:compose-bom:2026.11.01"))

The BOM mapping page lists 1.13.0 across the core libraries for that BOM. If your project is still on an older Kotlin or compileSdk, do those bumps first, in a separate commit, so you can tell their effects apart from Compose's. The compileSdk change also lines up with the Android 17 deadlines covered in this roundup of iOS 27 and Android 17 dates for mobile developers.

Behaviour change 1: onFocusedBoundsChanged is now a no-op

Modifier.onFocusedBoundsChanged was deprecated in 1.12. In 1.13 its implementation has been removed, so the modifier compiles but has no effect. Google says the old version reported focus bounds unreliably and had performance problems.

Who's affected: anyone using it to scroll a focused field into view in a custom container, or to position a tooltip or highlight around the focused element. Built-in scrolling containers such as LazyColumn and Modifier.verticalScroll already bring focused content into view, so screens relying only on those are fine.

The replacements Google lists:

  • To get the focused element's bounds, call FocusTargetModifierNode.getFocusedRect() from a custom Modifier.Node. It returns bounds when asked instead of reporting every change through a callback.

  • To react to focus changes, use Modifier.onFocusChanged.

  • To scroll a focused item into view in a custom container, pair onFocusChanged with BringIntoViewRequester.

Search your codebase for onFocusedBoundsChanged before upgrading. Because it fails silently, nothing in your build will tell you that a screen depended on it. Focus behaviour is one of the states worth checking on every component; this checklist of interactive states is a handy reference for which ones to test.

Behaviour change 2: clickables now play the system click sound

Anything built on Modifier.clickable now automatically plays the standard Android interaction sound, respecting the user's system sound settings. Before 1.13, you had to trigger sound effects yourself to match how Views behave.

Two things to check. If your team added manual sound effects for parity with Views, test whether those elements now click twice. And if you have clickable areas that should stay silent, such as a canvas, a game surface or a custom media control, confirm the new default is what you want for them before release.

Deprecations to plan for

Value-based text fields

The value-based BasicTextField, the Material 2 TextField and VisualTransformation are deprecated in favour of state-based text fields with TextFieldState, InputTransformation and OutputTransformation. Material 3's value-based overloads aren't deprecated yet in 1.5.0, but Google recommends moving anyway. The migration guide shows the basic swap:

// Before (value-based)
var state by rememberSaveable { mutableStateOf("") }
TextField(value = state, onValueChange = { state = it }, singleLine = true)

// After (state-based)
TextField(
    state = rememberTextFieldState(),
    lineLimits = TextFieldLineLimits.SingleLine
)

Start with simple forms. Fields that filter input in onValueChange or format output with a VisualTransformation, such as phone numbers or card numbers, need more thought, because that logic moves into input and output transformations.

Material 2, ConstraintLayout and MotionLayout

  • Compose Material 2 is deprecated and no longer actively maintained. Google recommends migrating to Material 3.

  • ConstraintLayout and MotionLayout for Compose (the constraintlayout-compose artifact) are deprecated, with Google pointing to newer layout tools and shared element APIs.

  • Flow layouts: FlexBox and Grid are now stable, and Google recommends FlexBox over FlowRow and FlowColumn for new code.

None of these break your build today. Log them as tech debt with an owner, rather than letting deprecation warnings pile up until a future release removes something.

Smaller things worth a look

  • Material 3 1.5.0: Slider and RangeSlider have moved to a stateful model with SliderState, and several APIs, including BottomAppBar and BasicAlertDialog, are now stable.

  • Lazy layout caching: LazyLayoutCacheWindow is stable, and its configuration has moved from state holders such as rememberLazyListState onto the layout composables themselves. If you used the experimental version, update the call sites.

  • Styles API: still experimental, and Google has removed its documentation during a redesign. Don't build a design system on it yet.

  • Nested scroll fix: velocity when Compose is nested inside ScrollView, NestedScrollView or CoordinatorLayout is now calculated correctly, so any workaround you added for jumpy flings may no longer be needed.

A sensible upgrade order

  1. Bump Kotlin and compileSdk on their own branch and get CI green.

  2. Search for onFocusedBoundsChanged and replace it.

  3. Bump the BOM to 2026.11.01 and run your UI tests. Compose 1.13 also adds a TestFailurePolicy that can capture a screenshot and the semantics tree when a test fails, which makes CI failures much easier to read.

  4. Manually test focus on a large screen and listen for doubled click sounds.

  5. File tickets for the text field, Material 2 and ConstraintLayout migrations.

Most apps will upgrade cleanly. The two silent changes are the ones to test by hand, because no compiler warning will point you to them. If you're also preparing for Play's foldable requirements next April, focus handling on large screens is worth testing in the same pass, and the Android 16 migration notes in this target API 36 checklist will help you find where layout restrictions were switched off.

Aditya Bansal

Written by

Aditya Bansal

A Publisha editorial profile. Its stories are researched and drafted with AI and reviewed by the Publisha team.

Keep reading

More from Aditya Bansal

More from Aditya Bansal

More in Software Development

Have a story of your own?

Publisha is free to start. Write with AI that keeps your voice, and publish in a click.