Skip to content

Latest commit

 

History

History
78 lines (51 loc) · 2.79 KB

CHANGELOG.md

File metadata and controls

78 lines (51 loc) · 2.79 KB

Changelog

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.

unreleased

0.4.0

This is the first release for a stable Scala 3 version, and with cats-effect 3 support!

⚠️ breaking

  • pureharm-testkit now depends on cats-effect 3.2.1, and the corresponding dependencies for it.
  • pureharm-testkit-ce2 is binary, and source compatible with pureharm-testkit from version 0.3.0, so if you haven't migrated to CE3 yet, use the former module.

Dependency upgrades

New Scala versions:

  • 2.13.6
  • 3.0.1 for JVM + JS platforms
  • drop 3.0.0-RC2, 3.0.0-RC3

internals

  • bump scalafmt to 3.0.0-RC6 — from 2.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

0.3.0

Dependency upgrades

0.2.0

⚠️ Breaking changes ⚠️

  • replace scalatest w/ munit 0.7.23. Do not forget to add testFrameworks += new TestFramework("munit.Framework") to your build, as per usage instructions

Deprecations

  • PureharmTestWithResource. You can just use the munit style within the PureharmTest. 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"))
}

New Scala versions:

  • 3.0.0-RC1 for JS platform
  • 3.0.0-RC2, for JVM, and JS platform

Dependency upgrades:

0.1.0

Split out from pureharm as of version 0.0.7.

⚠️ Breaking changes ⚠️

  • due to future plans to support scalajs, dependency on org.typelevel %% "log4cats-slf4j" was removed. And TestLogger now has to be provided in client code.