Skip to content

Releases: sebaslogen/resaca

2.2.0 - Support Hilt Scoped ViewModels with keys

25 Jul 10:12
Compare
Choose a tag to compare
  • Add support for the new Hilt ViewModel keyed factory thanks to Dagger 2.43: https://github.com/google/dagger/releases/tag/dagger-2.43
  • Fix support for multiple instances of the same ViewModel in one screen using hiltViewModelScoped(), thanks to fixes in Dagger 2.43
  • Add support for keyed ViewModel updates with hiltViewModelScoped(key = "my key")

2.1.1 - Hotfix for Hilt ViewModels of different types

03 Jul 19:17
Compare
Choose a tag to compare
  • Fix broken filter of Hilt ViewModel type
  • Add automated unit test for fixed bug

2.1.0 - Refactor to use ViewModelProviders

03 Jul 18:32
Compare
Choose a tag to compare

RELEASE CHANGES

  • Refactor to use ViewModelProviders, following the official way to create, store and retrieve ViewModels
  • Compose Compiler Version update to 1.2.0
  • Other dependency updates
  • More automated tests

BREAKING CHANGES

  • ViewModel can no longer be provided with rememberScoped
  • Instead use the new viewModelScoped functions to create ViewModels

2.0.1 - Hotfix to clear ViewModels on key update

24 Jun 09:23
Compare
Choose a tag to compare
  • Clear old stored ViewModel/object when a key is used and the key gets updated
  • Hilt BREAKING CHANGE: renamed viewModelScoped to hiltViewModelScoped for naming consistency with existing Jetpack APIs

2.0.0 - Add Hilt integration using viewModelScoped

21 Jun 11:28
3ae2714
Compare
Choose a tag to compare
  • Add Hilt integration using viewModelScoped in new resacahilt library artifact
  • Add Hilt library documentation
  • Add Hilt integration to the sample app and automated tests

1.1.5 - Fix: object clean up after configuration change

09 Jun 14:27
Compare
Choose a tag to compare
  • Fix to clean up objects that are completely gone and should be forgotten after a configuration change

1.1.4 - Fix: Replace DisposableEffect.onDispose with RememberObserver to track onAbandoned edge-case when composition is not committed

06 Jun 10:50
Compare
Choose a tag to compare
  • Replace DisposableEffect.onDispose with RememberObserver to track onAbandoned edge-case when the composition is not committed
  • Update Compose compiler, runtime, and libs to 1.1.1
  • Update Gradle and other dependencies

1.1.3 - Fix to support Koin object provision in rememberScoped lambda

10 Apr 12:13
Compare
Choose a tag to compare
  • Add @Composable annotation to rememberScoped lambda builder function to fix support for Koin object provision

1.1.2 - Fix to properly clear scoped ViewModels on back navigation

14 Mar 21:32
3644b1d
Compare
Choose a tag to compare
  • Hotfix for fixing left-overs (clear on back navigation) of ticket #1
  • Closable objects will also be automatically closed when the scoped object is not needed anymore.

1.1.1 - Fix to properly clear scoped ViewModels

12 Mar 14:05
Compare
Choose a tag to compare