Tags: haroldadmin/Vector
Tags
Version 0.6.2 New: - Add workflow for generating sample-app APKs on CI flows for new releases - Support for automatic instantiation of VectorViewModels with more constructor variations Fixed: - Fix clearing order for state processor and state holder in state store Miscellaneous: - Delete deprecated Actors based state processor
Version 0.6.0 New: - withState actions are now treated as side-effects - Add a new simple sample app to the repository - Deprecate viewScope and fragmentScope properties in VectorFragment - Make Kotlin, Fragment, ViewModel SavedState and Coroutines libraries part of the public API in Gradle
Version 0.5.3 Features: - New Documentation website covering components of this library, as well as real world usage scenarios. - New viewScope coroutine scope tied to Fragment's view lifecycle in VectorFragment Fixes: - Fix coroutine scope used for renderState method. This method should only be used in onViewCreated now.
Version 0.5.2 Fixes: - Updgrade to coroutines 1.3.2 - Include additional proguard rules and different constructor access - Add consumer proguard rules to vector module - Fix incorrect version reference in fragmentKtx dependency - Fix improper ViewModel instantiation when factory does not implement create method
A lot of new features in this release, including automatic viewmodel … …creation, support for assisted inject factories, and more. New: - Add new viewmodel delegates for Fragments and Activities for automatic viewmodel creation. - Better support for libraries such as AssistedInject, because of overloaded versions of viewmodel delegates which accept a factory lambda for the viewmodel. - Easier state persistence in SavedStateVectorViewModel, using the new KEY_SAVED_STATE for storing state objects in the saved state handle and a new setStateAndPersistMethod - Migrate Sample app to use Dagger and AssistedInject Other: - Deprecate setInitialState method - Reflection benchmarks in the benchmark module The library is stuck on lifecycle lib version 2.2.0-alpha04 for now because of a SavedStateController bug in alpha05.
PreviousNext