Cats 2.2.0-RC3
Pre-releaseThis is the third release candidate for Cats 2.2.0. We decided to publish another release candidate because since 2.2.0-RC2 we've received contributions that add new type class instances and new methods, fix some issues related to laziness and stack-safety, and improve performance.
This release is verified to be backward binary compatible with all 2.1.x and 2.0.x releases (and also with 1.x for the non-laws modules), but not with any of the other 2.2.0 milestones or release candidates. It breaks binary compatibility with the previous release candidates only in removing a single unnecessary type class instance, the catsTraverseForEither
method in Traverse
, which was introduced in 2.2.0-M1.
The largest change since 2.2.0-RC2 is @LukaJCB's migration of the Cats tests from ScalaTest to MUnit, which makes it easier for us to track current Dotty releases, but this switch has no effect on any published artifacts.
1 bug fix
- #3565 Fix ReducibleLaws causing stack overflow by calling
Eval.now
early by @bastewart
15 API / feature enhancements
- #3569 Change AndThen to directly check isRightAssociated by @johnynek
- #3567 Avoid all evaluation of LazyList#foldRightDefer by @takayahilton
- #3560 Improve AndThen use of Single by @johnynek
- #3553 add ifElseM by @mtomko
- #3556 Order for writert by @TimWSpence
- #3527 Add toRightAssociated to AndThen by @johnynek
- #3555 Order for IorT by @TimWSpence
- #3554 Order for Ior by @TimWSpence
- #3540 Remove traverseForEither in Traverse companion object by @LukaJCB
- #3549 Enable breakout in Reducible[NonEmptyVector].reduceMapA by @takayahilton
- #3545 Enable breakout in functions nonEmptyTraverse_ and nonEmptySequence_ by @takayahilton
- #3533 Improve invariants and performance in Chain by @johnynek
- #3535 Improve traverseViaChain API by @johnynek
- #3538 Preliminary Munit port by @LukaJCB
- #3528 Optimize toNonEmptyList of Reducible[NonEmptyChain] by @takayahilton
4 documentation improvements
- #3562 Comments on NonEmptyReducible not being a typeclass by @akopich
- #3537 add coulomb-cats to ecosystem list by @erikerlandson
- #3531 adding Hootsuite Inc. to the list of Adopters by @jyoo980
- #3526 Update README.md by @Immozentral
11 build improvements
- #3564 Remove redundant parentheses by @barambani
- #3561 Update munit-scalacheck to 0.7.11 by @scala-steward
- #3558 Update sbt-doctest to 0.9.7 by @scala-steward
- #3557 Update sbt-buildinfo to 0.10.0 by @scala-steward
- #3546 Fix alleycats-tests on Scala.js by @joroKr21
- #3548 Test freeJS with FastOptStage to save some CO2 by @joroKr21
- #3544 Scala 2.12.3 and 2.12.12 by @barambani
- #3543 Update discipline-munit to 0.2.3 by @scala-steward
- #3542 Update sbt-scalafmt to 2.4.2 by @scala-steward
- #3539 Update discipline-core to 1.0.3 by @scala-steward
- #3530 Update discipline-scalatest to 2.0.0 by @scala-steward