Skip to content

0.12.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Aug 21:23
· 284 commits to main since this release
63512c8

🚀 Features

  • WorkManager/Worker Assisted injection is now supported (#180)
@TangleWorker
class MyWorker @AssistedInject constructor(
  @Assisted context: Context,
  @Assisted params: WorkerParameters,
  val repository: MyRepository
) : CoroutineWorker(context,params){
  override suspend fun doWork(): Result {
    // ...
  }
}

💥 Breaking Changes

  • The by tangleViewModel() delegate functions for Activity and Fragment have been moved to their own modules. (#204)
    This was done to prevent leaking the Androidx transitive dependencies into projects which don't otherwise use them.
    The new artifacts are:
    • com.rickbusarow.tangle:tangle-viewmodel-activity
    • com.rickbusarow.tangle:tangle-viewmodel-fragment
  • TangleGraph has moved :tangle-api (tangle.inject.TangleGraph) (#169)

🐛 Bug Fixes

  • fix wrapping of very long checkNotNull error messages (#162)