IMPROVEMENTS
- Support Scala 2.13.x.
- Upgrade Akka to 2.5.23.
- Built against Scala versions 2.13.0, 2.12.8, and 2.11.12 (using JDK 8).
CHANGES
- Default Scala version changed from 2.12.x to 2.13.x.
- Upgrade Akka to 2.5.19.
- Built against Scala versions 2.12.8 and 2.11.12.
BUG FIXES
- [GH-8] Cancelled recurring task keeps executing. (thanks ivashin)
This release adds support for Scala 2.12.
IMPROVEMENTS
- [GH-7] Update dependency versions including Akka (now using Akka 2.4.14). Add support for Scala 2.12. (thanks koshelev)
BREAKING CHANGES
- Supports only Scala 2.11 and Scala 2.12, built against Java 8.
- Support for Scala 2.10 and Java 7 was dropped. Use version
0.4.0
if you still need to work against those.
IMPROVEMENTS
- [GH-5] Tasks are now cancellable. When scheduling a task via e.g.
scheduler.scheduleOnce()
, the returned Cancellable can now be cancelled; if it is cancelled before its execution time, then theMockScheduler
will not run the task. (thanks mmacfadden)
BUG FIXES
- [GH-4] Fix deadlock involving
MockScheduler#schedule()
andVirtualTime#advance()
. (thanks emrecelikten)
BREAKING CHANGES / BUG FIXES
- [GH-1] Tasks scheduled to run at the same time will be run in registration order. This is primarily a bug fix to ensure that "conflicting" tasks are run in a well-defined, deterministic order. The breaking change is that unlike the previous version we will not run one-time tasks always before recurring tasks. If there is a scheduling "conflict", then the tasks -- whether one-time or recurring -- will always be run in the order of registration with the scheduler. (thanks DylanArnold)
- Initial release