Releases: sebaslogen/resaca
Releases · sebaslogen/resaca
2.3.3 - Support Compose compiler 1.4.0 with Kotlin 1.8.0 and Compose BOM 2023.01.00
Changelist
- Update Compose compiler to 1.4.0
- Update Kotlin to 1.8.0
- Update Compose BOM to 2023.01.00
2.3.2 - Update Compose dependencies
Changelist
- Update Compose dependencies to BOM 2022.12.00
2.3.1 - Update Dagger, Kotlin and Compose dependencies
Changelist
- Update Compose dependencies to BOM 2022.10.00
- Update Compose Compiler dependency to 1.3.2
- Update Kotlin to 1.7.20
- Update Dagger to 2.44
2.3.0 - Add Assisted Injection with default arguments in Hilt ViewModels
Changelist
- Add Assisted Injection with default arguments in Hilt ViewModels. See docs https://github.com/sebaslogen/resaca/blob/main/resacahilt/README.md#pseudo-assisted-injection-support
- Update Compose dependency to 1.3.1
- Update Android target SDK to 33
- Update Hilt and other dependencies
2.2.1 - Hotfix for SavedStateHandle across multiple VMs of the same type
- Update Compose dependency to 1.2.0
- Update Android target SDK to 32
- Update Hilt and other dependencies
- Add a unique key to fix support of SavedStateHandle across multiple VMs of the same type
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