Releases: disneystreaming/weaver-test
v0.8.4 : bug fixes
Bug fixes :
- Fixed a bug that would lead tests to freeze upon failed IOs in Javascript : #725
- Fixed a bug that would prevent source-location macro expansion when using mdoc : #702
Misc
- Update cats_effect_usage.md by @lenguyenthanh in #649
- add documentation to suite types by @mcanlas in #666
- Enable discipline on native by @kubukoz in #672
Version updates
- update sbt doc to reflect changes in 1.9.0 by @mcanlas in #665
- Update sbt-projectmatrix to 0.9.1 by @scala-steward in #673
- Update scalafmt-core to 3.7.11 by @scala-steward in #681
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.2 by @scala-steward in #674
- Update nscplugin, sbt-scala-native, ... to 0.4.14 by @scala-steward in #667
- Update sbt to 1.8.3 by @scala-steward in #660
- Update cats-effect, cats-effect-testkit to 3.4.11 by @scala-steward in #661
- Update sbt-scalafix to 0.11.0 by @scala-steward in #664
- Update sbt-ci-release to 1.5.12 by @scala-steward in #655
- Update sbt to 1.9.3 by @scala-steward in #682
- Update cats-effect, cats-effect-testkit to 3.5.1 by @scala-steward in #683
- Update scalafmt-core to 3.7.12 by @scala-steward in #685
- Update sbt to 1.9.6 by @scala-steward in #699
- Update sbt-scalajs, scalajs-compiler, ... to 1.14.0 by @scala-steward in #701
- Update sbt-scalafix to 0.11.1 by @scala-steward in #695
- Update sbt-scalafmt to 2.5.2 by @scala-steward in #690
- Update nscplugin, sbt-scala-native, ... to 0.4.15 by @scala-steward in #691
- Update scalafmt-core to 3.7.14 by @scala-steward in #692
- Update nscplugin, sbt-scala-native, ... to 0.4.16 by @scala-steward in #706
- Update sbt-mdoc to 2.3.8 by @scala-steward in #707
- Update cats-effect, cats-effect-testkit to 3.5.2 by @scala-steward in #704
- Update nscplugin, sbt-scala-native, ... to 0.4.17 by @scala-steward in #722
- Update cats-effect, cats-effect-testkit to 3.5.3 by @scala-steward in #721
- Update sbt to 1.9.8 by @scala-steward in #719
- Update sbt-projectmatrix to 0.9.2 by @scala-steward in #717
- Update sbt-scalajs, scalajs-compiler, ... to 1.15.0 by @scala-steward in #718
New Contributors
- @zainab-ali made their first contribution in #702
Full Changelog: v0.8.3...v0.8.4
v0.8.3: configurable stack-trace lengths
- Adds an environment-variable-driven mechanism to configure the minimum value for how much of a stack-trace is rendered when a test fails due to an exception.
- Increases the default size of reported stack-traces from 10 frames to 50.
- Adds documentation on usage in the context of scala-cli
What's Changed
- Include scala-cli usage by @lenguyenthanh in #643
- Increase default stack frame and make it configurable by @valydia in #647
New Contributors
- @lenguyenthanh made their first contribution in #643
- @valydia made their first contribution in #647
Full Changelog: v0.8.2...v0.8.3
v0.8.2: `whenSuccess` combinator
What's Changed
- Improve documentation by @mcanlas in #611
- Update fs2-core to 3.4.0 by @scala-steward in #610
- Update nscplugin, sbt-scala-native, ... to 0.4.9 by @scala-steward in #613
- Update sbt-scalajs, scalajs-compiler, ... to 1.12.0 by @scala-steward in #612
- Update cats-effect, cats-effect-testkit to 3.4.4 by @scala-steward in #618
- Update scala-js-macrotask-executor to 1.1.1 by @scala-steward in #616
- Update sbt to 1.8.2 by @scala-steward in #619
- Update scala3-library, ... to 3.2.2 by @scala-steward in #627
- Update sbt-mdoc to 2.3.7 by @scala-steward in #626
- Update nscplugin, sbt-scala-native, ... to 0.4.10 by @scala-steward in #625
- Update sbt-scalajs, scalajs-compiler, ... to 1.13.0 by @scala-steward in #624
- Update cats-effect, cats-effect-testkit to 3.4.5 by @scala-steward in #621
- Update scalafmt-core to 3.7.1 by @scala-steward in #623
- Update fs2-core to 3.5.0 by @scala-steward in #620
- Update cats-effect, cats-effect-testkit to 3.4.6 by @scala-steward in #630
- RFC: matches and whenSuccess combinators by @mcanlas in #615
- Fix
CheckConfig
usage inCheckers
trait by @dabd in #631 - Fix typo in doc by @bplommer in #634
New Contributors
Full Changelog: v0.8.1...v0.8.2
v0.8.1 : `.only` and `.ignore` improvements
- Tests tagged with
.only
will now fail in CI environments (checked via the presence of theCI
env var) - Fixes a bug where the
.ignore
tag would have no effect in pure tests
What's Changed
- Update scalacheck to 1.17.0 by @scala-steward in #586
- Update sbt-scalajs, scalajs-compiler, ... to 1.11.0 by @scala-steward in #582
- Update scala-js-macrotask-executor to 1.1.0 by @scala-steward in #583
- Update sbt-ci-release to 1.5.11 by @scala-steward in #596
- Update sbt-mdoc to 2.3.6 by @scala-steward in #595
- Update sbt-scalafix to 0.10.4 by @scala-steward in #592
- Update sbt to 1.7.3 by @scala-steward in #599
- Update scalafmt-core to 3.6.1 by @scala-steward in #600
- Update nscplugin, sbt-scala-native, ... to 0.4.8 by @scala-steward in #602
- Update sbt to 1.8.0 by @scala-steward in #603
- Fail tests marked with .only if running in CI by @callado4 in #598
- Update versions by @Baccata in #606
- Update sbt-scalafmt to 2.5.0 by @scala-steward in #607
- Ignore ignored tests in pure suites by @kubukoz in #609
Full Changelog: v0.8.0...v0.8.1
v0.8.0 : Scala-native support, dropping a number of things
This release is the first of the 0.8.0x lineage. It is not binary-compatible with previous versions, but it should be source compatible for the most part, unless you use one of the modules we're dropping.
This is a difficult release for us to put out because we know we'll be disappointing some people. We apologise for the inconvenience, and wish good luck to the people who have been using the modules in question. Feel free to copy/paste the code we're dropping.
Dropping non-CE effect types.
Head over there to read the why, but the tl;dr is maintenance burden. We are committing to keeping the core of weaver effect-agnostic, so if you want Monix, MonixBIO, or ZIO support revived, it is entirely possible (as long as these have CE3 integration).
Dropping CE2
We are effectively dropping CE2 support. We will keep accepting bug fixes (and helping out) on the 0.6.x lineage, but we won't be adding any new feature.
Dropping specs2
The specs2 integration was never perfect, due to reliance over implicit conversions that were created a lot of edge cases. People wanting to test effect-code with specs2 semantics should probably use cats-effect-testing, or come up with their own mechanism (or copy the old one in userland).
Scala Native
First good news of this release I suppose, weaver now works in Scala-Native, hurray 🎉 .
Static ignore
Another good piece of news : tests can now be ignored via the .ignore
method on test names :
test("foo".ignore){
IO(???)
}
Thanks to @callado4 for the contribution !
What's Changed
- Update scalafmt-core to 3.5.9 by @scala-steward in #557
- Update fs2-core to 3.2.12 by @scala-steward in #556
- Ignored test name tag by @callado4 in #559
- The Great Schism: Remove Cats Effect 2 and monix by @keynmol in #543
- Add build checkpoint by @Baccata in #569
- Make parallel/sequential suites in DogFood lazy resources tests deterministic by @keynmol in #571
- Scala-native support by @Baccata in #568
- Use sbt-ci-release and setup-java GHA by @keynmol in #577
- Dropping a bunch of OOTB modules for 0.8.0. by @Baccata in #576
- Series/0.8 by @Baccata in #563
- Remove version override for CE3 by @Baccata in #579
- Remove specs2 sources altogether by @Baccata in #580
New Contributors
Full Changelog: v0.6.15...v0.8.0
v0.6.15 : fix race condition in DisciplineFSuite
What's Changed
- DisciplineFSuite: fix race condition by @bwiercinski in #555
- Update fs2-core to 3.2.11 by @scala-steward in #553
- Update sbt-mdoc to 2.3.3 by @scala-steward in #554
Full Changelog: v0.6.14...v0.6.15
v0.6.14: effect-able Discipline trait
Adds a DisciplineF
trait that allows to run context-aware laws (for instance, laws that depend on the presence of a database connection). Courtesy of @bwiercinski.
What's Changed
- framework/cats: fix compilation warning regarding Dead Code (throw Boom) by @bwiercinski in #530
- Update cats-effect, cats-effect-testkit to 3.3.13 by @scala-steward in #540
- Upgrade libraries, Scala.js and Scala 3 by @keynmol in #542
- Update fs2-core to 3.2.10 by @scala-steward in #545
- MutableFSuite: remove redundant exists check by @bwiercinski in #549
- create DisciplineFSuite #528 by @bwiercinski in #548
- Update cats-effect, cats-effect-testkit to 3.3.14 by @scala-steward in #551
Full Changelog: v0.6.13...v0.6.14
v0.6.13 : deterministic Scalacheck properties
Highlights :
Changed the Scalacheck integration to increase determinism : previously, forall
properties would be executed in parallel in a way that wouldn't conserve order, which lead runs originating from the same seed to exhibit different results. Now, the properties are still executed in parallel, but the processing of their outcomes respects the initial ordering.
This implies that, provided the properties do not depend on state of the outside world that might be subject to change (like, reading from a database record that could change for an external reason), the likelihood of having reproducible results is drastically increased. In particular, it means you can have fully deterministic unit tests, which wasn't the case before.
There is a little cost in terms of efficiency that should not be noticeable in most cases.
Kudos to @ollyw for the improvement !
What's Changed
- Update fs2-core to 2.5.11 by @scala-steward in #516
- Update scalafmt-core to 3.5.3 by @scala-steward in #522
- Improve determinism/coverage in Scalacheck tests by @ollyw in #527
Full Changelog: v0.6.12...v0.6.13
v0.6.12: improvements for ZIO suites
What's Changed
- Update cats-effect to 3.3.11 by @scala-steward in #508
- Update documentation wrt mill testFramework by @daddykotex in #512
- Update portable-scala-reflect to 1.1.2 by @scala-steward in #515
- Update specs2-matcher to 4.15.0 by @scala-steward in #500
- Update scalafmt-core to 3.5.1 by @scala-steward in #513
- Fix ZIOSuite test timings when clock is overridden by @ollyw in #518
- Fix discovery of ZIO suites via JUnit runners by @ollyw in #520
- Remove unused ZIO SharedResourceModule by @ollyw in #519
- Update cats-effect to 3.3.12 by @scala-steward in #524
- Update cats-effect to 2.5.5 by @scala-steward in #523
New Contributors
- @daddykotex made their first contribution in #512
- @ollyw made their first contribution in #518
Full Changelog: v0.6.11...v0.6.12
v0.6.11 : Allows resource startup timeout to be configured
What's Changed
- Update specs2-matcher to 4.14.0 by @scala-steward in #478
- Update sbt-sonatype to 3.9.11 by @scala-steward in #469
- Update sbt-mdoc to 2.3.1 by @scala-steward in #490
- Add example on how to run shared resources with
sbt testOnly
by @ssahayam-zd in #483 - Update cats-effect to 3.3.6 by @scala-steward in #492
- Allows resource startup timeout to be configured by @mcgizzle in #491
- Update sbt-buildinfo to 0.11.0 by @scala-steward in #482
- Update specs2-matcher to 4.14.1 by @scala-steward in #488
- fmt by @Baccata in #493
New Contributors
- @ssahayam-zd made their first contribution in #483
- @mcgizzle made their first contribution in #491
Full Changelog: v0.6.10...v0.6.11