Not to be outdone by #Android15, #JetpackReleaseNotes for today include Compose 1.7.0, Compose Material3 1.3.0, Compose Material3 Adaptive 1.0.0, Navigation 2.8.0, Wear Compose 1.4.0 plus bug fixes in Activity 1.9.2, Fragment 1.8.3, and Lifecycle 2.8.5.
https://developer.android.com/jetpack/androidx/versions/all-channel#september_4_2024
Recent Release Notes  |  Android Developers

Android Developers

Compose 1.7.0 provides a stable release with new tools to build a great user experience including shared elements, lazy list item animations, text improvements, new Flow layouts, and performance improvements.

Check out the I/O '24 blog post for an overview: https://android-developers.googleblog.com/2024/05/whats-new-in-jetpack-compose-at-io-24.html

What’s new in Jetpack Compose at I/O ‘24

Here's an overview of all Jetpack Compose news, announcements, and updates at Google I/O '24.

Android Developers Blog
Compose Material3 Adaptive hits its first stable release with today's 1.0.0 release, providing new APIs for reading the current window size, folding features, and providing multi-pane layouts.
https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.0.0
Compose Material 3 Adaptive  |  Jetpack  |  Android Developers

Android Developers
Navigation 2.8.0 is the first stable release that uses Kotlin Serialization for type safety, Predictive Back support for Navigation Compose, and a brand new navigation-fragment-compose artifact to integrate composable destinations into your nav_graph XML.
https://developer.android.com/jetpack/androidx/releases/navigation#2.8.0
Navigation  |  Jetpack  |  Android Developers

Android Developers
Shipping a Wear OS app is _way_ easier when writing your app in Compose with the help of Wear Compose 1.4.0, which adds out of the box support for Wear specific features like rotary input.
https://developer.android.com/jetpack/androidx/releases/wear-compose#1.4.0
Wear Compose  |  Jetpack  |  Android Developers

Android Developers

Fragment 1.8.3 focuses on important crash fixes around Predictive Back (no more IndexOutOfBoundsExceptions) and AndroidFragment (no more "Can not perform this action after onSaveInstanceState").

Please keep reporting any issues you see!
https://developer.android.com/jetpack/androidx/releases/fragment#1.8.3

Fragment  |  Jetpack  |  Android Developers

Android Developers
If you like living on the edge, Compose now ships not only a stable BOM, but also a new 2024.09.00-beta and 2024.09.00-alpha BOM: https://maven.google.com/web/index.html#androidx.compose:compose-bom:2024.09.00-alpha
Google's Maven Repository

WindowSizeClass is getting a lot more flexible in the Window 1.4.0-alpha02 release - rather than fixed WindowWidthSizeClass and WindowHeightSizeClass instances, it is now possible to build one of any size.
https://developer.android.com/jetpack/androidx/releases/window#1.4.0-alpha02
WindowManager  |  Jetpack  |  Android Developers

Android Developers
WorkManager 2.10.0-alpha03 compiles against API 35 and provides the best compatibility for foreground workers on API 34 and 35. The new trace tags also make debugging WorkManager's interaction with JobScheduler way easier as well!
https://developer.android.com/jetpack/androidx/releases/work#2.10.0-alpha03
WorkManager  |  Jetpack  |  Android Developers

Android Developers
There were a lot of other releases today including the absolutely massive Wear Compose Material3 1.0.0-alpha24, Activity 1.10.0-alpha02 (compiled against the final API 35), Emoji2 1.5.0, Health Connect Testing 1.0.0-alpha01 and more, so check them all out:
https://developer.android.com/jetpack/androidx/versions/all-channel#september_4_2024
Recent Release Notes  |  Android Developers

Android Developers
@ianlake I wish there was a way to intercept the window size class and pass a replacement for tests in both activity, and fragments.
@kkrishnanand - yeah, one more reason to switch to Compose, where that kind of thing is much easier to fake: https://androiddev.social/@alex_vanyo/111812765842710910
Alex Vanyo (he/him) (@[email protected])

New Compose testing API just dropped in 1.7.0-alpha01! `DeviceConfigurationOverride` is the successor to accompanist/test-harness and allows locally overriding aspects of the device's configuration for @Composable content under test. Font scale, font weight, dark mode, locale, layout direction, and size are all device-wide properties, so it's difficult to test for them (updating system settings from a test is not fun), but they're also super important to test for!

Android Dev Social

@ianlake Hi, Ian, thank you for replying to my post. Unfortunately, my request pertains to being able to overriding the configuration for activityscenario, and fragment scenario tests. Our use case is that we show a conformation bottom sheet, and alert dialog on click action, for small, and large screens respectively.

I want to be able to set the configuration when I am running either the activity test, or the fragment test, or both.

@kkrishnanand - I get that, but you're asking for something not possible with activities and fragment (nor ever will be, tbh), hence why I said you should switch to Compose where this is trivial.
@ianlake We are slowly migrating to compose, but we want the ability the perform end to end tests, if possible. Perhaps we could get a hook into the activity lifecycle to make that possible.
@ianlake that's a massive set of releases. Compose, material, navigation, adaptive - all finally bring out stuff we've been playing with and waiting for a while now. Chapeau to the teams 🥳