Skip to content

Comments

Bump serialization 1.9.0 and migrate hiltViewModel to new package#1035

Merged
gregmarra merged 1 commit intomainfrom
bump-dependencies-medium
Feb 13, 2026
Merged

Bump serialization 1.9.0 and migrate hiltViewModel to new package#1035
gregmarra merged 1 commit intomainfrom
bump-dependencies-medium

Conversation

@gregmarra
Copy link
Contributor

@gregmarra gregmarra commented Feb 13, 2026

Summary

  • Bumps kotlinx-serialization from 1.7.3 to 1.9.0 (max compatible with Kotlin 2.3.x; 1.10.0 requires Kotlin 2.3.0 compiler plugin changes)
  • Adds hilt-lifecycle-viewmodel-compose artifact and migrates all hiltViewModel() imports to the new package (androidx.hilt.lifecycle.viewmodel.compose), eliminating deprecation warnings from hilt-navigation-compose 1.3.0

The 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:assembleDebug passes
  • ./gradlew :app:testDebugUnitTest passes

🤖 Generated with Claude Code

@gregmarra gregmarra force-pushed the bump-dependencies-medium branch 2 times, most recently from ff3b8ed to d0c41b0 Compare February 13, 2026 02:14
@gregmarra gregmarra enabled auto-merge (rebase) February 13, 2026 02:39
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>
@gregmarra gregmarra force-pushed the bump-dependencies-medium branch from d0c41b0 to b712312 Compare February 13, 2026 04:35
@gregmarra gregmarra changed the title Bump minor dependencies and migrate hiltViewModel Bump serialization 1.9.0 and migrate hiltViewModel to new package Feb 13, 2026
@gregmarra gregmarra merged commit 46fb6c6 into main Feb 13, 2026
6 checks passed
@gregmarra gregmarra deleted the bump-dependencies-medium branch February 13, 2026 04:46
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.

2 participants