Bump serialization 1.9.0 and migrate hiltViewModel to new package#1035
Merged
Bump serialization 1.9.0 and migrate hiltViewModel to new package#1035
Conversation
ff3b8ed to
d0c41b0
Compare
phil-lopreiato
approved these changes
Feb 13, 2026
Version bumps: - activity: 1.10.0 → 1.12.4 - navigation: 2.8.5 → 2.9.7 - hilt-navigation-compose: 1.2.0 → 1.3.0 - lifecycle: 2.8.7 → 2.10.0 - serialization: 1.7.3 → 1.9.0 - googleid: 1.1.1 → 1.2.0 hilt-navigation-compose 1.3.0 deprecated the hiltViewModel() import at androidx.hilt.navigation.compose in favor of a new standalone artifact (hilt-lifecycle-viewmodel-compose). Added the new artifact and migrated all 11 screen files to the new import path, eliminating deprecation warnings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
d0c41b0 to
b712312
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hilt-lifecycle-viewmodel-composeartifact and migrates allhiltViewModel()imports to the new package (androidx.hilt.lifecycle.viewmodel.compose), eliminating deprecation warnings from hilt-navigation-compose 1.3.0The other version bumps originally in this PR (activity, navigation, lifecycle, hilt-navigation-compose, googleid) were merged via Dependabot PRs.
hiltViewModel migration
hilt-navigation-compose 1.3.0 moved
hiltViewModel()to a new standalone artifact (androidx.hilt:hilt-lifecycle-viewmodel-compose). This decouples Hilt's Compose ViewModel support from the Navigation library. All 11 screen files updated.Test plan
./gradlew :app:assembleDebugpasses./gradlew :app:testDebugUnitTestpasses🤖 Generated with Claude Code