Skip to content

7.1.0 M7

Lars Hupel edited this page May 16, 2014 · 1 revision

This release is not binary compatible with 7.0.0 and previous milestones in the 7.1.x series.

Built against Scala 2.9.3, 2.10.3 and 2.11.0.

Note that these lists are not cumulative!

New features

  • Coyoneda suspension support in Free (#670)
  • leftAs and rightAs for Bifunctor syntax, analogous to as in Functor syntax (#675)
  • contravariant Coyoneda (#677)
  • monoid coproducts (ec7c1f1ad7, cf0532f3ba, ee9e23e952, 1426dfb491)
  • InvariantFunctor instance for Shrink (50f7f6b5b2)
  • toIList and toEphemeralStream on Foldable (#681, 52c052c2a3)
  • Unicode aliases: for unsafeTap (#682), for |> (#683), for \/ (#689)
  • getOrAdd on scala.Map (#688)
  • tailOption for scala.List (#698)
  • nmap{2-7} on Nondeterminism, running multiple values in parallel (#697)
  • Applicative and Order instances for Const (#699, 77a5738531)
  • nonEmpty, minimum0, +, insertAll and insertAllF on Heap (#685)
  • mempty, msuml and msuml on Foldable syntax (#691)

Changed features

  • use name of QName in its Order instance (#668, #667)
  • improved type inference: explicit return types for Yoneda and Coyoneda constructors (#669)
  • fix multiple evaluation of arguments in tuple instances (#662, 8b1580707a)
  • changes in Coyoneda (#677, breaking change compared to the previous milestone)
  • move none/some constructors of OptionT to the correct place (#692)
  • swap order of arguments in the Const applicative, previous behaviour was wrong (084e9c9a5d)
  • Cofree is trampolined (#702)
  • fix groupWhen and groupWhenM: don't use span, but rather compare adjacent elements (#707)

Build changes

Incompatible changes

  • rename overloaded untilM to untilM_ in Monad syntax (#674)

    Migration strategy: trivial

  • new law for Order: antisymmetry (08d99c125d)

    Migration strategy: make sure that complement on Order behaves as expected

  • remove collapse{2-7} on Foldable (#680)

    Migration strategy: collapse still exists; for higher arities, Foldable instances can be composed via compose

  • change return type of groupWhen and groupWhenM on lists to return NonEmptyList as elements (#707)

    Migration strategy: if needed, map the return value with _.list to a plain list of lists

Clone this wiki locally