Skip to content

v0.4.0

Compare
Choose a tag to compare
@augustjune augustjune released this 10 Dec 07:41
· 146 commits to master since this release

General 0.4.0 release.
This release is not binary compatible with 0.3.x versions.

Improvements:

  • Added more tests for core library concepts
  • Added new bot examples
  • Improved Scenario API
  • Restricted access to internal classes

Main API changes:

  • start and next methods in Scenario companion object are replaced with expect method in the same object
  • pure method in Scenario companion object now uses partially applied type technique, which implies that you only have to specify effect type whenever compiler cannot infer the whole type (e.g. Scenario.pure[F, Int](12) is now Scenario.pure[F](12))
  • cancelOn and cancelWith methods in Scenario class are replaced with corresponding stopOn and stopWith methods in the same class