Releases: scalameta/munit
Releases · scalameta/munit
v1.3.0
Features
- JUnitReporter (js): pass logging level to logEvent (#1076) @kitbellew
- JUnitReporter (js): support
--logger=buffered(#1079) @kitbellew - JUnitReporter (js): refactor filterAnsi (#1078) @kitbellew
- JUnitFramework (js): add
--logger=sbtparameter (#1077) @kitbellew
Build and dependency updates
- scala-native: upgrade to v0.5.11 (#1086) @kitbellew
- scala-js: upgrade to v1.21.0 (#1085) @kitbellew
- Bump fast-xml-parser from 4.5.4 to 4.5.6 in /website in the npm_and_yarn group across 1 directory (#1084) @dependabot[bot]
- Bump lodash from 4.17.23 to 4.18.1 in /website in the npm_and_yarn group across 1 directory (#1083) @dependabot[bot]
- Bump jsdom from 28.1.0 to 29.0.1 (#1082) @dependabot[bot]
- Bump release-drafter/release-drafter from 6 to 7 (#1081) @dependabot[bot]
- Bump undici from 7.22.0 to 7.24.1 in the npm_and_yarn group across 1 directory (#1080) @dependabot[bot]
v1.2.4
Further logging changes
Following up on --log=xxx parameter added in v1.2.3, let's modify it to take the standard logging levels instead and adjust which events are logged at more detailed levels:
- EventDispatcher: log test run with colored counts (#1074) @kitbellew
- Documentation: correct the
--log=...description (#1072) @kitbellew - EventDispatcher: log test run using cyan color (#1071) @kitbellew
- Log: swap info- and debug-level events (#1059) @kitbellew
- JUnitReporter (js): add run-start/finish messages (#1060) @kitbellew
- Log suite-finished as debug, test-started as trace (#1054) @kitbellew
- EventDispatcher: save suite-started time (#1055) @kitbellew
- Update --log to take a standard logging level (#1050) @kitbellew
Miscellaneous
- Ansi: correct "light" to "bright" colors (#1073) @kitbellew
- RunSettings: don't import Ansi, qualify references (#1070) @kitbellew
- RunSettings: add Event to build{Info,Error}Name (#1069) @kitbellew
- RunSettings: remove unused color in buildColorName (#1068) @kitbellew
- JUnitRunner: parse using switch, split on
=(#1053) @kitbellew
Build and dependency updates
- Bump fast-xml-parser from 4.4.1 to 4.5.4 in /website in the npm_and_yarn group across 1 directory (#1067) @dependabot[bot]
- Update sbt, scripted-plugin to 1.12.5 (#1066) @scalameta-bot
- Update google-cloud-storage to 2.64.0 (#1065) @scalameta-bot
- Bump jsdom from 27.4.0 to 28.1.0 (#1064) @dependabot[bot]
- SBT: use JDK17 for scala 3.8 and JDK8 for earlier (#1061) @kitbellew
- SBT: refactor setting scalacOptions (#1063) @kitbellew
- SBT: use variable for scala3-next version (#1062) @kitbellew
- Update sbt, scripted-plugin to 1.12.4 (#1058) @scalameta-bot
- Update scala3-library to 3.8.2 (#1057) @scalameta-bot
- Update sbt-scalafix to 0.14.6 (#1056) @scalameta-bot
v1.2.3
Suppress successful and skipped tests from logs
Use the new --log=failure to only log failing tests to reduce verboseness of CI logs or to keep the context window small when working with coding agents. Docs https://scalameta.org/munit/docs/troubleshooting.html#control-test-logging-verbosity
Pull Requests
- JUnitReporter (js): add Throwable to logEvent (#1051) @kitbellew
- Update google-cloud-storage to 2.63.0 (#1046) @scalameta-bot
- Update sbt-mima-plugin to 1.1.5 (#1048) @scalameta-bot
- Update sbt, scripted-plugin to 1.12.3 (#1047) @scalameta-bot
- Update scalafmt-core to 3.10.7 (#1045) @scalameta-bot
- Update sbt, scripted-plugin to 1.12.2 (#1044) @scalameta-bot
- Update scalafmt-core to 3.10.6 (#1043) @scalameta-bot
- Update sbt, scripted-plugin to 1.12.1 (#1041) @scalameta-bot
- Update google-cloud-storage to 2.62.1 (#1040) @scalameta-bot
- Update scalafmt-core to 3.10.5 (#1042) @scalameta-bot
- Add missing Scaladoc to assertions and document
assertMatches(#1039) @bdmendes
v1.2.2
Features and bugfixes:
- Introduce
assertMatches(#1038) @bdmendes - Tweak apply syntax (#1023) @som-snytt
- MunitRunner: use .transform to guarantee notifier (#1005) @kitbellew
- Await afterAll (#1003) @mwisnicki
- fix: Correctly preprocess test display names with parentheses (#998) @KacperFKorban
Infra
- SBT:
CIis an env var, not a property (#1028) @kitbellew - scalafmt: upgrade to v3.10.3, fold imports, RemoveSemicolons, rewrite floats (#1024) @kitbellew
- SBT: use sbt-dynver to set local snapshot version (#1001) @kitbellew
- improvement: Stop using imgur for images (#1004) @tgodzik
Updates
- Update auxlib, clib, javalib, nativelib, ... to 0.5.10 (#1036) @scalameta-bot
- Bump lodash from 4.17.21 to 4.17.23 in /website in the npm_and_yarn group across 1 directory (#1033) @dependabot[bot]
- Update scalafmt-core to 3.10.4 (#1032) @scalameta-bot
- Update sbt-scalajs, scalajs-compiler, ... to 1.20.2 (#1029) @scalameta-bot
- Update sbt, scripted-plugin to 1.12.0 (#1030) @scalameta-bot
- Bump jsdom from 27.2.0 to 27.4.0 (#1027) @dependabot[bot]
- Update mdoc, sbt-mdoc to 2.8.2 (#1025) @scalameta-bot
- Update google-cloud-storage to 2.61.0 (#1022) @scalameta-bot
- Update sbt-scalafix to 0.14.5 (#1021) @scalameta-bot
- Update scala-library, scala-reflect to 2.12.21 (#1020) @scalameta-bot
- Update mdoc, sbt-mdoc to 2.8.1 (#1019) @scalameta-bot
- Update scalafmt-core to 3.10.2 (#1018) @scalameta-bot
- chore: Update scalafmt to 3.9.10 (#1017) @tgodzik
- Bump jsdom from 27.1.0 to 27.2.0 (#1015) @dependabot[bot]
- Bump express from 4.21.0 to 4.22.1 in /website in the npm_and_yarn group across 1 directory (#1016) @dependabot[bot]
- Bump actions/checkout from 5 to 6 (#1014) @dependabot[bot]
- Update scala-library, scala-reflect to 2.13.18 (#1009) @scalameta-bot
- Update scala3-library to 3.7.4 (#1010) @scalameta-bot
- Update mdoc, sbt-mdoc to 2.8.0 (#1011) @scalameta-bot
- Update sbt-scalafmt to 2.5.6 (#1012) @scalameta-bot
- Bump js-yaml from 3.14.1 to 3.14.2 in /website in the npm_and_yarn group across 1 directory (#1007) @dependabot[bot]
- Bump jsdom from 26.1.0 to 27.1.0 (#1006) @dependabot[bot]
v1.2.1
Pull Requests
- scala: update 3.3 to .7 (#1000) @kitbellew
- Update auxlib, clib, javalib, nativelib, ... to 0.5.9 (#999) @scalameta-bot
- Update google-cloud-storage to 2.58.1 (#995) @scalameta-bot
- Update sbt-scalafix to 0.14.4 (#994) @scalameta-bot
- Update scalajs-env-jsdom-nodejs to 1.1.1 (#996) @scalameta-bot
- Update scala-library, scala-reflect to 2.13.17 (#997) @scalameta-bot
- Update sbt, scripted-plugin to 1.11.7 (#993) @scalameta-bot
- sbt 2.0.0-RC6 (#992) @xuwei-k
- docs(integrations/scalacheck): use shorthand syntax (#989) @scarf005
- Update google-cloud-storage to 2.57.0 (#984) @scalameta-bot
v1.2.0
v1.1.2
What's Changed
- CI: organize JVM, JS, Native tests as matrix by @kitbellew in #917
- Fix munit-scalacheck version by @lenguyenthanh in #919
- Bump jsdom from 26.0.0 to 26.1.0 by @dependabot[bot] in #920
- Update scala3-library, ... to 3.3.6 by @scalameta-bot in #924
- Update sbt-scalafix to 0.14.3 by @scalameta-bot in #923
- Update sbt-scalajs, scalajs-compiler, ... to 1.19.0 by @scalameta-bot in #921
- Update google-cloud-storage to 2.48.2 by @scalameta-bot in #896
- MunitRunner: cosmetic, refactor before-{each,all} by @kitbellew in #926
- Refactor recovering from Failures by @kitbellew in #929
- MunitRunner: make sure to call fireTestFinished by @kitbellew in #928
- MunitRunner: run afterAll if beforeAll didn't fail by @kitbellew in #927
- MunitRunner: use simple Iterator, not LazyList by @kitbellew in #930
- Mima: ignore non-public symbols by @kitbellew in #932
- MunitRunner: remove munitTimeout, BeforeEachResult by @kitbellew in #931
- MunitRunner: refactor runTestBody by @kitbellew in #933
- MunitRunner: inline runAll, runTests in runAsync by @kitbellew in #934
- MunitRunner: sequenceFutures: continue on failure by @kitbellew in #925
- FutureCompat: remove as unnecessary by @kitbellew in #935
- PlatformCompat.waitAtMost: skip if no timeout by @kitbellew in #936
- PlatformCompat: set appropriate execution context by @kitbellew in #938
- PlatformCompat.waitAtMost: single abstract method by @kitbellew in #940
- Update google-cloud-storage to 2.52.3 by @scalameta-bot in #939
- PlatformCompat.waitAtMost: try around startFuture by @kitbellew in #937
- Update sbt, scripted-plugin to 1.11.0 by @scalameta-bot in #942
- Update sbt-ci-release to 1.11.0 by @scalameta-bot in #941
- MUnitRunNotifier: remove unused counters by @kitbellew in #943
- JUnitReporter: define
logEventmethod by @kitbellew in #944 - JUnitReporter: take nanos, not millis by @kitbellew in #945
- MUnitRunNotifier: use concurrent for Native by @kitbellew in #946
- bugfix: Fix releasing process by @tgodzik in #947
- MUnitRunner: take a suite in the constructor by @kitbellew in #949
- chore: Switch to maven central to fix release by @tgodzik in #948
- JUnitTask: report if unable to instantiate runner by @kitbellew in #950
- ci: Update to sbt-ci-release 1.11.1 by @eed3si9n in #951
- Update sbt, scripted-plugin to 1.11.1 by @scalameta-bot in #953
- Update sbt, scripted-plugin to 1.11.2 by @scalameta-bot in #955
- Update auxlib, clib, javalib, nativelib, ... to 0.5.8 by @scalameta-bot in #954
- Update google-cloud-storage to 2.53.0 by @scalameta-bot in #952
- Update sbt-scalafmt to 2.5.5 by @scalameta-bot in #960
- chore: Switch images to latest for munit by @tgodzik in #961
- Update sbt, scripted-plugin to 1.11.3 by @scalameta-bot in #962
- Update mdoc, sbt-mdoc to 2.7.2 by @scalameta-bot in #963
- Mention Gradle plugin for Scala.js and Scala Native by @dubinsky in #968
- chore: Fix missing image by @tgodzik in #969
- Do not swallow exceptions in afterEach. Fixes #966 by @tschuchortdev in #967
- Update google-cloud-storage to 2.53.3 by @scalameta-bot in #965
- Update sbt, scripted-plugin to 1.11.4 by @scalameta-bot in #973
- Update sbt-ci-release to 1.11.2 by @scalameta-bot in #974
- Update sbt, scripted-plugin to 1.11.5 by @scalameta-bot in #975
- sbt 2.0.0-RC3 by @xuwei-k in #976
- Bump actions/setup-java from 4 to 5 by @dependabot[bot] in #978
- Update google-cloud-storage to 2.56.0 by @scalameta-bot in #977
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #979
- Update sbt-scalajs, scalajs-compiler, ... to 1.20.1 by @scalameta-bot in #980
- PlatformCompat: make isJVM/isJS/isNative final by @iRevive in #982
New Contributors
- @lenguyenthanh made their first contribution in #919
- @tschuchortdev made their first contribution in #967
- @xuwei-k made their first contribution in #976
- @iRevive made their first contribution in #982
Full Changelog: v1.1.1...v1.2.0
v1.1.1
Pull Requests
- Populate sbt.testing.Event.duration on Scala.js (#918) @dubinsky
- Update mdoc, sbt-mdoc to 2.7.1 (#916) @scalameta-bot
- Update mdoc, sbt-mdoc to 2.7.0 (#915) @scalameta-bot
- Update mdoc, sbt-mdoc to 2.6.5 (#912) @scalameta-bot
- Update sbt, scripted-plugin to 1.10.11 (#911) @scalameta-bot
- Update sbt-ci-release to 1.9.3 (#909) @scalameta-bot
- Update scalafmt-core to 3.9.4 (#910) @scalameta-bot
- Bump prismjs from 1.29.0 to 1.30.0 in /website (#908) @dependabot[bot]
- docs: add scala-cli example (#907) @scarf005
- Update sbt, scripted-plugin to 1.10.10 (#905) @scalameta-bot
- Update scalafmt-core to 3.9.3 (#906) @scalameta-bot
- Update scalafmt-core to 3.9.2 (#904) @scalameta-bot
- Update auxlib, clib, javalib, nativelib, ... to 0.5.7 (#902) @scalameta-bot
- Update scalafmt-core to 3.9.1 (#901) @scalameta-bot
- Update sbt-scalafix to 0.14.2 (#899) @scalameta-bot
- Update scalafmt-core to 3.9.0 (#898) @scalameta-bot
- Update mdoc, sbt-mdoc to 2.6.4 (#897) @scalameta-bot
- Update mdoc, sbt-mdoc to 2.6.3 (#892) @scalameta-bot
- Update google-cloud-storage to 2.48.0 (#889) @scalameta-bot
- Bump jsdom from 25.0.1 to 26.0.0 (#891) @dependabot[bot]
- Update scala3-library, ... to 3.3.5 (#890) @scalameta-bot
- Update munit-scalacheck to 1.1.0 (#888) @scalameta-bot
- Update sbt-scalajs, scalajs-compiler, ... to 1.18.2 (#886) @scalameta-bot
- Update scalafmt-core to 3.8.6 (#887) @scalameta-bot
v1.1.0
Important changes
These changes control output in case of assert failure and include minor API changes (only in rare cases of method overrides), hence minor version bump:
- Add DiffOptions implicit parameter:
- DiffOptions: allow controlling use of ANSI markers (#885) @kitbellew
- DiffOptions: add an optional value printer (#884) @kitbellew
- Diff: add new DiffOptions parameter (#883) @kitbellew
- Compare: use implicit Location (#881) @kitbellew
- Tests: use
assertNoDiffwith implicit location (#880) @kitbellew
- Diff: swap the order of expected-vs-obtained (#875) @kitbellew
- previously, the actual results were shown in red (removed) and expected in green (added) which led to occasional cases of confusion with standard
git diffoutput (which shows these changes in the "normal" way)
- previously, the actual results were shown in red (removed) and expected in green (added) which led to occasional cases of confusion with standard
Miscellaneous
- ComparisonFailExceptionHandler: instantiate w/ SAM (#882) @kitbellew
- Equalizer: fix warning for unsafe use of
.equals(#876) @kitbellew - Compare: refactor, re-use string representations (#879) @kitbellew
- Diff: refactor, move static methods to companion (#878) @kitbellew
- Formatting: adjust scalafmt configuration (#877) @kitbellew
Build and dependency updates
- Update google-cloud-storage to 2.47.0 (#866) @scalameta-bot
- Update sbt-scalajs, scalajs-compiler, ... to 1.18.1 (#867) @scalameta-bot
- Update scalafmt-core to 3.8.5 (#874) @scalameta-bot
- Update sbt-scalafmt to 2.5.4 (#873) @scalameta-bot
- Update scala-library, scala-reflect to 2.13.16 (#872) @scalameta-bot
- Update sbt-scalafix to 0.14.0 (#871) @scalameta-bot
- Consider a -source and -target version for javac (#869) @cushon
- bugfix: Fix CI to include sbt (#870) @tgodzik
- chore: Update STABLE_VERSION to 1.0.4 (#865) @tgodzik
v1.0.4
Notable Changes
- Support Scala Native multithreading (#861) @WojciechMazur
Pull Requests
- chore: update version to latest (#864) @tgodzik
- Update sbt, scripted-plugin to 1.10.7 (#863) @scalameta-bot
- Update sbt-ci-release to 1.9.2 (#862) @scalameta-bot
- Update mdoc, sbt-mdoc to 2.6.2 (#859) @scalameta-bot