Skip to main content

Version 1.0.0-beta10

Version 1.0.0-beta09

Version 1.0.0-beta08

  • Remove FlowCancellationException (#196)
  • Update Kotlin to 1.4.21

Version 1.0.0-beta07

  • Update to coroutines to 1.4.2
  • Update to Kotlin to 1.4.20

Version 1.0.0-beta06

Version 1.0.0-beta05

Api changes

Bug fixes

Housekeeping

  • Set the project JDK target to 8. This only affects the build environment since all previous builds were done on a JDK 8 machine. (#187)
  • Coroutines has been updated to 1.4.0 (#183)
  • Detekt has been updated to 1.4.2 (#184)
  • JUnit5 has been updated to 5.7.0 (#178)

Version 1.0.0-beta04

Features

Bug fixes

dispatch-test-junit5
  • CoroutineTestExtension will now properly call Dispatchers.setMain(...) when injecting a CoroutineScope into a function or when not injecting at all. (#130)
dispatch-android-lifecycle
dispatch-android-lifecycle-extensions

Deprecations

  • The DefaultDispatcherProvider class constructor has been changed to an object factory function (operator fun invoke(): DispatcherProvider) and deprecated. This function will be removed prior to the 1.0 release.

Breaking changes

  • DefaultDispatcherProvider has been changed from a class to an object, and its functionality changed. It is now a singleton holder for a default DispatcherProvider instance. To create a default DispatcherProvider, use the interface's companion object factory function (DispatcherProvider()).

Version 1.0.0-beta03

Renames

  • The project has been renamed from DispatcherProvider to Dispatch.
  • Maven coordinates for existing modules have changed.
  • The base Maven coordinate has changed from com.rickbusarow.DispatcherProvider to com.rickbusarow.dispatch.
  • Base package names have been updated.

New artifacts

Version 1.0.0-beta02

Test features

  • Added TestBasicDispatcherProvider factory which uses CommonPool for default and io, but a shared single-threaded ExecutorCoroutineDispatcher for main and mainImmediate to provide " natural" dispatch behavior in tests without Dispatchers.setMain(...).

Bug fixes and improvements

  • runBlockingTestProvided now uses the same TestCoroutineDispatcher as its ContinuationInterceptor and in its TestDispatcherProvider (#15).
  • runBlockingProvided now uses TestBasicDispatcherProvider as its DispatcherProvider.

Version 1.0.0-beta01

Flow

  • Add non-suspending flowOn___() operators for the Flow api.

Misc

  • Lots of Kdocs.
  • Maven artifacts.
  • Lower JDK version to 1.6