Releases: scalameta/munit
MUnit v0.7.25
Pull Requests
- Release for Scala 3.0.0-RC3 (#351) @gabro
- Update google-cloud-storage to 1.113.14 (#331) @scala-steward
- Upgrade to sbt 1.5.0 (#344) @gabro
- Update scalajs-junit-test-runtime, ... to 1.5.1 (#342) @scala-steward
- Update sbt-scalajs, scalajs-compiler, ... to 1.5.1 (#341) @scala-steward
- Update sbt-dotty to 0.5.4 (#340) @scala-steward
- Update scala-xml to 2.0.0-RC1 (#337) @scala-steward
- Update mdoc_2.12, mdoc_2.13, sbt-mdoc to 2.2.19 (#338) @scala-steward
- Update sbt-scalafix to 0.9.27 (#336) @scala-steward
- Update release script and irrelevant expect conditions for 0.23.0 (#335) @tgodzik
MUnit v0.7.23
Pull Requests
- Update to Scala 3.0.0-RC2 (#334) @tgodzik
- Fix include/exclude categories arguments in docs (#333) @tpetrucciani
- Update sbt-ci-release to 1.5.7 (#332) @scala-steward
- Update sbt to 1.4.9 (#329) @scala-steward
- avoid re-calculating s.length (#326) @robstoll
- Update google-cloud-storage to 1.113.13 (#327) @scala-steward
- Add external integrations to TypeLevel (#328) @diesalbla
- Update sbt to 1.4.8 (#325) @scala-steward
- Update google-cloud-storage to 1.113.11 (#320) @scala-steward
- Fix test-release script (#315) @tgodzik
- Update scala-xml to 2.0.0-M5 (#316) @scala-steward
MUnit v0.7.22
Pull Requests
- Update to Scala 3.0.0-RC1 (#312) @tgodzik
- update sbt versions (#313) @larsrh
- Update junit to 4.13.2 (#310) @scala-steward
- Add External Integrations page with munit-snapshot (#309) @lolgab
- Update scalajs-junit-test-runtime, ... to 1.5.0 (#308) @scala-steward
- Update sbt-scalajs, scalajs-compiler, ... to 1.5.0 (#307) @scala-steward
- Update mdoc_2.12, mdoc_2.13, sbt-mdoc to 2.2.17 (#306) @scala-steward
- Update scala-xml to 2.0.0-M4 (#303) @scala-steward
- Add more details on how to setup test reports on google cloud (#302) @tgodzik
MUnit v0.7.21
Pull Requests
- Add support for Scala Native 0.4.0 and cross-publish native for 2.11/2.12/2.13 (#298) @gabro
- update docs (#300) @lambdista
- Use 'main' instead of 'master' in GitHub Actions workflows (#299) @olafurpg
- Update Scala versions to 2.12.13 and 2.13.4 (#297) @tgodzik
- Update mdoc, sbt-mdoc to 2.2.15 (#294) @scala-steward
- Update sbt-scalafix to 0.9.25 (#291) @scala-steward
- Update google-cloud-storage to 1.113.9 (#290) @scala-steward
- Update scalajs-junit-test-runtime, ... to 1.4.0 (#287) @scala-steward
- Update sbt-scalajs, scalajs-compiler, ... to 1.4.0 (#286) @scala-steward
- Mix Scala 2 macros in MUnit Scala 3 module (#283) @olafurpg
- Update google-cloud-storage to 1.113.8 (#284) @scala-steward
- Update mdoc, sbt-mdoc to 2.2.14 (#280) @scala-steward
MUnit v0.7.20
Pull Requests
- Add support for Scala 3.0.0-M3 (#279) @tgodzik
- Unwrap "Boxed Error" exceptions, fixes #275 (#277) @olafurpg
- Adding minimal setup notes for Mill and Scala.js (#270) @davesmith00000
- Update google-cloud-storage to 1.113.6 (#274) @scala-steward
- Update google-cloud-storage to 1.113.5 (#272) @scala-steward
- Update sbt-ci-release to 1.5.5 (#271) @scala-steward
- Update sbt-scalafix to 0.9.24 (#268) @scala-steward
- Update scala-xml to 2.0.0-M3 (#267) @scala-steward
- Update mdoc, sbt-mdoc to 2.2.13 (#266) @scala-steward
MUnit v0.7.19
MUnit v0.7.18
Bug fixes
- Fix #258 - escape "non-visible" characters in test names. (#261) @olafurpg
- Fix bug related to escaping single quotes inside strings. (#260) @olafurpg
Internal
- Check with Scalafix in CI. (#259) @olafurpg
- Move dependabot.yml in the right location and fix release CI (#257) @gabro
- Fix the CI and configure dependabot to keep actions updated (#256) @gabro
Upgrades
- Update google-cloud-storage to 1.113.4 (#255) @scala-steward
- Update mdoc, sbt-mdoc to 2.2.12 (#249) @scala-steward
- Update scalajs-junit-test-runtime, ... to 1.3.1 (#253) @scala-steward
- Update sbt-scalajs, scalajs-compiler, ... to 1.3.1 (#252) @scala-steward
MUnit v0.7.17
Scala.js for Scala 3
Breaking change
Scala.js v0.6.x is no longer supported. If you are still using v0.6.x then you can continue to use MUnit v0.7.16 but you will need to upgrade to Scala.js v1.x in order to benefit from future MUnit releases.
Upgrades
- Update sbt-dotty to 0.4.6 (#251) @scala-steward
- Update sbt-scalafix to 0.9.23 (#245) @scala-steward
- Update mdoc, sbt-mdoc to 2.2.11 (#244) @scala-steward
Internal
MUnit v0.7.16
MUnit v0.7.15
This is the last release in the v0.7.x series. The next release will be v1.0.0-M1 and will include several binary and source breaking changes. Most users should not be affected by the upcoming breaking changes in v1, the core ideas and APIs will remain mostly unchanged. For more details see https://github.com/scalameta/munit/milestone/1
ScalaCheck integration for Scala 3
Previously, the munit-scalacheck module was not available for Scala 3. It was only possible to use the ScalaCheck integration from Scala 3 by using the withDottyCompat()
helper. Now, munit-scalacheck is released for Scala 3 so that withDottyCompat()
is no longer necessary.
Improved IntelliJ integration
- MUnitRunner.filter should mutate state as in other standard JUnitRunners (#212) @unkarjedy
- Introduce a new "failComparison()" helper (#222) @olafurpg
- Make FailException extend AssertionError, fixes #215 (#220) @olafurpg
The upcoming release of the Scala IntelliJ plugin will include significantly improved support for MUnit, see https://youtrack.jetbrains.com/issue/SCL-17360
For example, assertEquals()
errors can now be viewed in a diff explorer.
Breaking changes
munit.FailException
no longer extendsException
. Now, it extendsjava.lang.AssertionError
in order to improve the IntelliJ integration.assertEquals()
errors no longer throwmunit.FailException
. Instead, they throwmunit.ComparisonFailException
.
To upgrade to the new version, replace usages of FailException
with FailExceptionLike[T]
-- before
-- now
try { ... }
catch {
- case _: FailException =>
+ case _: FailExceptionLike[_] =>
Bug fixes
- Fix #211, handle test case on last line in the source file (#226) @olafurpg
- Fix #179, handle case when obtained is a single newline character (#227) @olafurpg
Scala Steward
- Update sbt-dotty to 0.4.5 (#234) @scala-steward
- Enable mima (#237) @olafurpg
- Update mdoc to 2.2.10 (#233) @scala-steward
- Update google-cloud-storage to 1.113.2 (#230) @scala-steward
- Update sbt-dotty to 0.4.4 (#224) @scala-steward
- Update scalafmt-core to 2.7.5 (#219) @scala-steward
- Update sbt-dotty to 0.4.3 (#218) @scala-steward
- Update junit to 4.13.1 (#216) @scala-steward
- Update scalafmt-core to 2.7.4 (#214) @scala-steward