April 8, 2026

Important changes since 1.9.0:

  • Added @RequiresFlag annotation to flag usages of not yet stable Android platform APIs
  • Removed support for KMP x86 Apple targets

API Changes

Bug Fixes

  • Moving the default minSdk from API 21 to API 23 Ibdfca b/380448311 b/435705964 b/435705223
  • AppCompat has been updated to use Activity 1.8.0 to allow it to use the initializeViewTreeOwners() API from ComponentActivity to ensure that it always has the correct ViewTreeOwners set. I96919 b/419208471
  • Refine ActionBarContextView and AppCompatDelegateImpl Ia83b3
  • This library now uses JSpecify nullness annotations, which are type-use. Kotlin developers should use the following compiler arguments to enforce correct usage: -Xjspecify-annotations=strict, -Xtype-enhancement-improvements-strict-mode Id9081 b/326456246
  • Set the window title of AlertDialogs for a11y purposes I8bbdd b/347729115
  • Removed manual outlining of access to new platform APIs since this happens automatically via API modeling when using R8 with AGP 7.3 or later (e.g. R8 version 3.3) and for all builds when using AGP 8.1 or later (e.g. D8 version 8.1). Clients who are not using AGP are advised to update to D8 version 8.1 or later. See this article for more details. I9496c b/345472586
  • Correctly set fontVariationSettings from textAppearance in AppCompat views. I20d06 b/264321145
  • Dispatch configuration changes in AppCompatActivity to the view tree Ibece8 b/321896385
  • Projects released with Kotlin 2.0 require KGP 2.0.0 or newer to be consumed Idb6b5 b/344563182
  • Fix Toolbar height calculation to include title/subtitle vertical margins Ia5846 b/267200424

Important Changes

  • core-ktx APIs have been merged into the core library. All Kotlin extensions are now part of the main core artifact. core-ktx is now an empty artifact for compatibility. I6adbe

API Changes

Bug Fixes

  • Fixed equals() method behavior in AccessibilityNodeInfoCompat.SelectionPositionCompat and AccessibilityNodeInfoCompat.SelectionCompat to properly evaluate equality. Icbe1d b/495537199

New Features

  • Add default Wear Widget background when WearWidgetBrush is empty or not specified. I8300b
  • Update getActiveWidgets API to return the Container Type of the Widget. 2772eb1

API Changes

  • Change Widget update API to take WidgetInstanceId and add helper for fetching IDs for a given widget. The new api throws IllegalArgumentException if the provided id is invalid or not owned by the caller. I6f3c5 b/446828899
  • Add vertical and horizontal gradient in WearWidgetBrush. If70ae b/470080675

New Features

  • Added check for calls to mustRunAfter and shouldRunAfter as they are expensive due to Gradle having to rearrange the task graphs.
  • Added check for calls to System.getenv() and System.getenv("key") that should be going through Provider API instead
  • External contribution from josh@fueledbycaffeine.com to add a check to detect string concatenation of Provider

1.1.0 is now stable!

Important changes since 1.0.0

Shared Elements between Scenes - Navigation3 now supports treating scenes as shared element object. This means that when the scenes change, it is possible to ensure they have a smooth transition. You can enable this by passing a SharedTransitionScope to either the NavDisplay or to rememberSceneState.

SceneDecoratorStrategy - Introduction of SceneDecoratorStrategy to support uses cases such as decorating scenes with common UI components or sharing state across scenes.

NavMetadata DSL - Navigation3 now provides a new type-safe metadata DSL. The DSL uses a new MetadataKey interface that allows for defining the key and value types that they wish to provide to the metadata map. This also added new NavMetadataKeys for NavDisplay transitions so that they can be used with the new metadata DSL to add transitions to NavDisplay.

OverlayScene Animations - The OverlayScene interface has a new onRemoved suspending callback. This callback is invoked after a key associated with the scene is removed from the backstack, but before it leaves composition. This allows exit animations called within onRemovedto complete before the overlay scene is removed from composition.

Other Changes - NavDisplay and rememberSceneState now take a List<SceneStrategy> instead of the previous single SceneStrategy parameter that was chained by the then infix. - You can now dynamically add metadata with consideration for the entry key via the EntryProvider DSL.

Bug Fixes

  • Accessing LocalNavAnimatedContentScope from an OverlayScene will no longer cause an IllegalStateException as OverlayScenes are now provided with a no-op LocalAnimatedContentScope. I2f00c b/486067688

New Features

  • Promote the CoreText, TextStyle, TextTransform and ColorTheme Operations to the baseline AndroidX and Widgets Profiles I69671 b/494482597
    • CoreText provides richer capabilities for rendering text, including adaptive text resizing, and improved control over text layout features like line breaking and overflow behavior.
    • TextStyle allows common text styling attributes to be captured in the document once, and referenced by multiple text runs.
    • TextTransform enables text transformations - for example, uppercasing text.
  • Reverse rendering of items in horizontal layout when layout direction is RTL and not using Absolute horizontal arrangement. I2d38e

API Changes

  • Prefer toRemoteString(DecimalFormat) as the developer API. Ia4925 b/493924433
  • Modifier clip(shape, size) was removed. Modifier clip(shape) should be used instead. I76301

Bug Fixes

  • Update TextLookup to track array element changes. This ensures that expressions will be reevaluated if an element they look up in an array has changed I162c7

API Changes

  • Make RoomDatabase's no-arg constructor public to avoid a Lint warning when the constructor is referenced in the @Database declaration. I9bac2 b/494722261
  • Add a version of Room.inMemoryDatabaseBuilder and Room.databaseBuilder that doesn't take in an Android Context. The need for a Context has been greatly reduced in Room 3.0 and therefore making it an optional value for the Builder allows creating in-memory databases in common code more easily. I5d502 b/438041176

Bug Fixes

  • Fix a 'code too large' error on JVM and Android generated code when the onValidateSchema function's body was too big b/493708172.

API Changes

  • Remove openAsync(), prepareAsync() and stepAsync() from the common interfaces, keeping the suspend APIs only on the web source set interfaces. The suspend APIs are renamed, dropping the 'async' suffix since they no longer conflict with their blocking counterparts in the non-web source set.
  • The top-level suspend extension functions are moved into a new artifact andriodx.sqlite:sqlite-async and a new package androidx.sqlite.async. This is done in order to avoid sub-optimal usages of these extension functions on common sources that do not target web. They should also be avoided if the targets are only web. However, if targeting both web and non-web platforms, then the top-level functions are useful and allow writing common code for all platforms that uses the SQLiteDriver interfaces. I63c2c b/336758416 b/493837704

External Contribution

  • Merge sqlite-ktx into the sqlite library. All Kotlin extensions are now part of the main sqlite artifact. sqlite-ktx is now an empty artifact for compatibility. Ib9512

New Features

  • Refactored all public classes to provide more convenient, idiomatic Kotlin APIs for general usage, while maintaining strong Java interoperability.

API Changes

  • Added a default zero-argument constructor to FontShearSpan for Java compatibility I73065 b/493692287.
  • Removed the Parcelable implementation in RubySpan and EmphasisSpan I49884 b/493693386.
  • Refactored EmphasisSpan for better compatibility I34c40 b/493693310.
  • Refactored AnnotationPosition to improve API surface I10dce b/493693386.
  • Converted TextOrientation to an enum class, refactored AnnotationPosition to a sealed class, and removed RubySpan.Builder Ib4a77 b/493693386.
  • Added the AnnotationPosition enum and refactored the RubySpan class Ibfcff b/493692426.
  • Refactored TextOrientation for general usage and improved internal text scaling extensions I82152 b/493692428.

API Changes

  • TraceSink factory functions now return TraceSink and not AbstractTraceSink. Files now have a unique suffix. We make sure that we can atomically create a new file that will be used to store trace packets. I4c4aa b/496298726
  • Simplify and make coroutine context propagation faster. Ia62db
  • Introduce the optional attributes() when constructing a TraceDriver that provides a way to add metadata pertaining to a trace. Ia147e

Bug Fixes

  • Process threads and counter tracks are now synchronized. This fixes exceptions of the form: java.lang.NullPointerException: Cannot invoke "androidx.tracing.ThreadTrack.flush$tracing()" because "threadTrack" is null
  • Avoid emitting sink events when tracing is disabled.

API Changes

  • Introduced new API for one-handed gestures, where prioritized callbacks may be registered for primary and dismiss actions. The system automatically identifies the most relevant on-screen target to ensure gestures and their indicators are only triggered for elements the user can currently see and interact with. Add Modifier.oneHandedGesture to the composable associated with the gesture (e.g. Button) and use OneHandedGestureDefaults.GestureIndicator to indicate to the user when the gesture action is available. Scrolling and paging can also be triggered with the primary gesture, with OneHandedGestureDefaults.scrollDown and OneHandedGestureDefaults.scrollToNextPage recommended to be used in the callbacks. OneHandedGestureDefaults.ScrollGestureIndicator and OneHandedGestureDefaults.VerticalPageGestureIndicator are provided as alternatives to ScrollIndicator and PageIndicator respectively, to temporarily display a gesture indicator to the user. Ic6324 b/479098447 b/485488443
  • Added requestAnchorItem to TransformingLazyColumnState and introduced TransformingLazyColumnAnchorType to provide developers precise control over item expansion direction and layout anchoring. I0c1e6 b/494301025
  • Added isSwipeToRevealDualFlingThresholdEnabled flag, which is on by default, but can be disabled if bug fixes to swipe behavior in SwipeToReveal in this release cause a regression (in which case, please file a bug as soon as possible) Ie6db6 b/497743775

Bug Fixes

  • Improved SwipeToReveal to support fast flings, allowing users to fully reveal actions regardless of swipe distance (this change can be disabled by turning off isSwipeToRevealDualFlingThresholdEnabled flag). I833fd b/490728860
  • Fixed SwipeToReveal to trigger the full swipe when swiping over 75% of the screen width (this change can be disabled by turning off isSwipeToRevealDualFlingThresholdEnabled flag). Id5604 b/490728860
  • Added a second haptic feedback for SwipeToReveal when the swipe reaches the partial reveal state (this change can be disabled by turning off isSwipeToRevealDualFlingThresholdEnabled flag). Ic27e3 b/492273799
  • Fixed an issue in TransformingLazyColumn where item animations (Modifier.animateItem) stopped working. I904ec b/493167084
  • Fixed a bug in PickerGroup (and hence DatePicker) to prevent multiple touches causing intended scrolling on unselected Picker columns Id76c5 b/378646798

API Changes

Other Changes

  • Updated Compose compileSdk to API 37. This means that a minimum AGP version of 9.2.0 is required when using Compose. Id45cd b/413674743

Major features of 1.0.0:

  • This is the first major release of Watch Face Push (read more).
  • Watch Face Push is an API which allows a Wear OS app to add, update, or remove watch faces directly. It is designed to support use-cases where a user might select, create, or edit a watch face on their phone, and wish to add it to their connected watch.