Skip to content

Update to AppState 1.0.0-alpha03 and bump other dependencies - #11

Open
bsagmoe wants to merge 1 commit into
mainfrom
bsagmoe/appstate-alpha03
Open

bsagmoe wants to merge 1 commit into
mainfrom
bsagmoe/appstate-alpha03

Conversation

@bsagmoe

@bsagmoe bsagmoe commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

Updates Jetpack AppState from the pinned androidx.dev snapshot repository to the published 1.0.0-alpha03 release on Google Maven, and bumps other build and library dependencies.

Changes

  • AppState 1.0.0-alpha03 & PersistToDataStore<T> migration:
    • Remove the androidx.dev snapshot repository from settings.gradle.kts and update README.md.
    • Migrate persisted StateStoreKey objects in :apps:browser, :githubbrowser, and :core tests to implement PersistToDataStore<T> with explicit name and serializer instead of @Serializable.
    • Update PersistToDataStore<*> type checks and README.md snippets across :apps:browser, :core, and :githubbrowser.
  • Gradle, AGP & SDK catalog alignment:
    • Bump AGP to 9.6.0-alpha07 and Gradle wrapper to 9.8.2.
    • Read compileSdk (with compileSdkMinor = 2), minSdk, and targetSdk from gradle/libs.versions.toml across all modules, adding wearMinSdk = "36" for :chatappfunctions:wear.
  • Dependency bumps:
    • Compose BOM (2026.11.01), Lifecycle (2.11.1), Navigation 3 (1.2.2), Wear Compose (1.7.2), AppFunctions (1.0.0), kotlinx.serialization (1.13.0), KSP (2.3.14), Mockito (5.25.0), OkHttp (5.5.1, declared directly in :githubbrowser), and Retrofit (3.0.0).

Verification

  • assembleDebug testDebugUnitTest --continue passed (140 unit tests across :app, :apps:browser, :core, and :githubbrowser: 0 skipped, 0 failed).

Replace the pinned androidx.dev snapshot repository with the published
AppState 1.0.0-alpha03 release and adopt its PersistToDataStore<T> API:
persisted keys now declare an explicit name and KSerializer instead of
being annotated with @serializable.

Also:
- Bump AGP to 9.6.0-alpha07 and the Gradle wrapper to 9.8.2, which that
  AGP version requires.
- Bump Compose BOM, Lifecycle, Navigation 3, Wear Compose, AppFunctions,
  kotlinx.serialization, KSP, and Mockito.
- Upgrade OkHttp to 5.5.1 and Retrofit to 3.0.0, and declare OkHttp as a
  direct dependency of githubbrowser.
- Read compileSdk (with minor API level), minSdk, and targetSdk from the
  version catalog in every module, adding wearMinSdk for the Wear app.
- Update the READMEs to match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant