v1.0.0-M11
⚠️ Breaking Changes ⚠️
This release restores the fixture ordering to match that of the v0.7.x release line.
The ordering was originally changed in v1.0.0-M1, and has been a source of confusion.
Going forward the order will be:
MySuite.beforeAll()
myFixture.beforeAll()
MySuite.beforeEach(test-1)
myFixture.beforeEach(test-1)
myFixture.afterEach(test-1)
MySuite.afterEach(test-1)
myFixture.afterAll()
MySuite.afterAll()
Click to see this vizualized as a diff
-- v1.0.0-M1 - v1.0.0-M10 order
++ v0.7.x / +v1.0.0-M11 order
MySuite.beforeAll()
myFixture.beforeAll()
MySuite.beforeEach(test-1)
myFixture.beforeEach(test-1)
- MySuite.afterEach(test-1)
myFixture.afterEach(test-1)
+ MySuite.afterEach(test-1)
- MySuite.afterAll()
myFixture.afterAll()
+ MySuite.afterAll()
Customizing the ordering of beforeAll
/ afterAll
methods
If you require the previous (v1.0.0-M1 - v1.0.0-M10) ordering, you can restore it by separating your fixture into two fixtures, a "before fixture" and "after fixture" and then specify them in an override of munitFixtures
. If fact, this is exactly how the v0.7.x style ordering was restored in #724.
A documented example should be available in the near future (#739)
Notable Changes
- Restore v0.7.x fixture ordering by @valencik in #724
- Drop Support for Scala 2.11 by @valencik in #723
- Honor the NO_COLOR environment variable. by @non in #703
- Improve
assertNotEquals
failure message by @ekans in #728
What's Changed
- Update scala-library, scala-reflect to 2.13.12 by @scalameta-bot in #699
- Update sbt-scalafix to 0.11.1 by @scalameta-bot in #697
- Update sbt-scalafmt to 2.5.2 by @scalameta-bot in #689
- Update sbt-ci-release to 1.5.12 by @scalameta-bot in #652
- Update sbt to 1.9.6 by @scalameta-bot in #702
- Honor the NO_COLOR environment variable. by @non in #703
- Update nscplugin, sbt-scala-native, ... to 0.4.16 by @scalameta-bot in #710
- Update sbt to 1.9.7 by @scalameta-bot in #713
- Bump jsdom from 22.1.0 to 23.0.1 by @dependabot in #721
- Bump actions/setup-java from 3 to 4 by @dependabot in #720
- Drop Support for Scala 2.11 by @valencik in #723
- Update sbt-scalajs, scalajs-library_2.13, ... to 1.14.0 by @scalameta-bot in #705
- Update mdoc, sbt-mdoc to 2.3.8 by @scalameta-bot in #709
- Bump actions/checkout from 3 to 4 by @dependabot in #706
- Update sbt to 1.9.8 by @scalameta-bot in #725
- Update mdoc, sbt-mdoc to 2.5.1 by @scalameta-bot in #726
- chore: Don't publish the docs module by @tgodzik in #727
- fix #712: improve assertNotEquals failure message by @ekans in #728
- Update sbt-scalajs, scalajs-compiler, ... to 1.15.0 by @scalameta-bot in #729
- Restore v0.7.x fixture ordering by @valencik in #724
- Update mdoc, sbt-mdoc to 2.5.2 by @scalameta-bot in #731
- Update google-cloud-storage to 2.31.0 by @scalameta-bot in #732
- Update nscplugin, sbt-scala-native, ... to 0.4.17 by @scalameta-bot in #734
- Update google-cloud-storage to 2.32.1 by @scalameta-bot in #735
- Bump jsdom from 23.0.1 to 24.0.0 by @dependabot in #738
New Contributors
Full Changelog: v1.0.0-M10...v1.0.0-M11