Releases: sebaslogen/resaca
Releases · sebaslogen/resaca
2.2.0 - Support Hilt Scoped ViewModels with keys
- 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
- Fix broken filter of Hilt ViewModel type
- Add automated unit test for fixed bug
2.1.0 - Refactor to use ViewModelProviders
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
- Clear old stored ViewModel/object when a key is used and the key gets updated
- Hilt BREAKING CHANGE: renamed
viewModelScoped
tohiltViewModelScoped
for naming consistency with existing Jetpack APIs
2.0.0 - Add Hilt integration using viewModelScoped
- 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
- 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
- Replace
DisposableEffect.onDispose
withRememberObserver
to trackonAbandoned
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
- 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
- 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
HotFix for this issue #1