Skip to content

2.1.0

Compare
Choose a tag to compare
@elihart elihart released this 02 Mar 21:18
b9b276f
  • Initial release of mavericks-compose:2.1.0-alpha01.
  • Upgraded to Kotlin 1.4.30.
  • Removed @RestrictTo annotations in favor of just @InternalMavericksApi. The Kotlin opt-in annotations work more reliably than the Android lint rules and there is no need for both.
  • Created initial release of mavericks-compose (use version 2.1.0-alpha01 for the mavericks-compose artifact)
  • Fixed a change in androidx-lifecycle 2.2.0 that would have required any unit tests that use Mavericks to also use robolectric.

Breaking Changes

  • ActivityViewModelContext and MavericksViewModelFactory now uses ComponentActivity instead of FragmentActivity to improve Compose interop. ComponentActivity is the super class of FragmentActivity so you may need to replace FragmentActivity with ComponentActivity if you using ActivityViewModelContext.