All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
This is the first release for a stable Scala 3 version, and with cats-effect 3 support!
pureharm-testkit
now depends on cats-effect3.2.1
, and the corresponding dependencies for it.pureharm-testkit-ce2
is binary, and source compatible withpureharm-testkit
from version0.3.0
, so if you haven't migrated to CE3 yet, use the former module.
- pureharm-core
0.3.0
- pureharm-effects-cats
0.5.0
- log4cats-core
1.3.1
,2.1.1
2.13.6
3.0.1
for JVM + JS platforms- drop
3.0.0-RC2
,3.0.0-RC3
- bump scalafmt to
3.0.0-RC6
— from2.7.5
- bump sbt to
1.5.5
- bump sbt-spiewak to
0.21.0
- bump sbt-scalafmt to
2.4.3
- bump sbt-scalajs-crossproject to
1.1.0
- bump sbt-scalajs to
1.6.0
- pureharm-effects-cats
0.4.0
- replace scalatest w/ munit
0.7.23
. Do not forget to addtestFrameworks += new TestFramework("munit.Framework")
to your build, as per usage instructions
PureharmTestWithResource
. You can just use themunit
style within thePureharmTest
. Simply do:
final class AlternativeToTestWithResource extends busymachines.pureharm.testkit.PureharmTestkit {
private val myResource =
ResourceFixture((to: TestOptions) => Resource.eval(testLogger.info(s"Making: $to") >> Timer[IO].sleep(10.millis)))
myResource.test("with resource")((_: Unit) => testLogger.info("Executing test w/ resource"))
}
- 3.0.0-RC1 for JS platform
- 3.0.0-RC2, for JVM, and JS platform
- pureharm-core
0.2.0
- pureharm-effects-cats
0.2.0
- log4cats-core
1.2.2
Split out from pureharm as of version 0.0.7
.
- due to future plans to support scalajs, dependency on
org.typelevel %% "log4cats-slf4j"
was removed. AndTestLogger
now has to be provided in client code.