v2.11.0
Cats v2.11.0 is a binary-compatible release in the 2.x series. It is published for Scala 2.12, 2.13, and 3.3+ with Scala.js 1.13+ and Scala Native 0.4.
What's Changed
Features
- Add
OptionT#unlessMby @m50d in https://github.com/typelevel/cats/pull/4519 - Add
mapOrKeepto Functor by @jozic in https://github.com/typelevel/cats/pull/4582 - Expose FunctionK.liftFunction as a part of the Scala 3 API by @pomadchin in https://github.com/typelevel/cats/pull/4600
- FunctionKLift cross compiled liftFunction suite by @pomadchin in https://github.com/typelevel/cats/pull/4603
Optimizations
- Replaces other
Applicative.pure(())with.unitby @satorg in https://github.com/typelevel/cats/pull/4558 - Use
Applicative#unitinFoldable#traverse_by @valencik in https://github.com/typelevel/cats/pull/4557 - Optimize traverse by @TimWSpence in https://github.com/typelevel/cats/pull/4498
Fixes
- Fix EitherT Bifunctor priority, add Bifoldable instance by @joroKr21 in https://github.com/typelevel/cats/pull/4576