All Versions
36
Latest Version
Avg Release Cycle
55 days
Latest Release
-

Changelog History
Page 1

  • v3.0.1 Changes

    • ๐Ÿ›  Fix issue where mavericks-common module was not published to maven in 3.0.0
  • v3.0.0 Changes

    • Experimental mavericks-common module with new abstraction MavericksRepository that behaves exactly like MavericksViewModel except it doesn't have any Android dependencies and can be used in pure Kotlin modules (#635)
    • ๐Ÿ’ฅ Breaking changes: MavericksViewModelConfig.BlockExecutions is extracted into top level class MavericksBlockExecutions (#635)
    • ๐Ÿ†• New mavericks extension argsOrNull to handle optional (nullable) fragment args (#639)
    • ๐Ÿ†• New Anvil sample in the sample-anvil module
  • v2.7.0 Changes

    • โž• Add mockEightViewModels and mockNineViewModels to MockBuilder (#633)
  • v2.6.1 Changes

    • ๐Ÿ”ฆ Expose state restoration functions (#611)
    • ๐Ÿ‘‰ Use passed scope as fragment if possible (#618)
  • v2.6.0 Changes

    ๐Ÿš€ Big thanks to @itsandreramon for contributing the two main improvements in this release!

    • ๐Ÿ”ง Pre-configure Hilt by adding a new "mvrx-hilt" artifact (#598)

    ๐Ÿ“š See the updated Hilt documentation for guidance on how to more easily use Hilt with Mavericks https://airbnb.io/mavericks/#/dagger?id=hilt

    • โž• Add support to use Mavericks with JUnit 5 (#600)

    ๐Ÿ“š See the new testing documentation at https://airbnb.io/mavericks/#/testing for details.

    • Don't expose lifecycleAwareLazy in viewModel return type (#603)
  • v2.5.1 Changes

    • โž• Add ability to manually pass argument to composable viewModel factories (#595)
    • ๐Ÿ›  Fix Fragment arguments not being correctly passed to viewmodel state initialization in compose usage (#595)
    • Switch mavericks-compose artifact to use same versioning scheme as other artifacts
  • v2.5.0 Changes

    • ๐Ÿ›  Fix issue when the LocalContext is not directly an Activity (#582)
    • โšก๏ธ update to Compose 1.0.4, Kotlin 1.5.31, Koin 3.1.3 (#586)
    • ๐Ÿคก Ignore VerifyError Exception when loading potential mockable classes #590
  • v2.4.0 Changes

    • โž• Add covariant recreation support (#565)
    • Exposing unique subscription handling for custom flow operations (#560)
    • โž• Add support for restoring ViewModels that were initially created with a companion factory in a superclass #566
  • v2.3.0 Changes

    • Error handling enhancements (#540)
    • โฌ†๏ธ Upgraded Compose to beta07 (#549)

    ๐Ÿ‘ Note: Compose support is experimental and mvrx-compose artifact is at version 2.1.0-alpha02

  • v2.2.0 Changes

    • ๐Ÿ›  Fix subscriptionLifecycleOwner to use viewLifecycleOwner in Fragment's onCreateView (#533)
    • โœ‚ Remove createUnsafe and don't auto-subscribe on background threads (#525)
    • ๐Ÿ›  Fix lifecycle 2.3.0 throwing IllegalStateException when using MavericksLauncherActivity (#523)