ScalaCheck v1.15.1 Release Notes

Release Date: 2020-11-06 // over 3 years ago
  • Compatibility

    • Binary compatible with 1.15.0 version of ScalaCheck.

    πŸ›  Fixed

    Return types of Gen.someOf and Gen.atLeastOne corrected to
    preserve source compatibility with Scala 2.13 artifact for
    1.14.3 ScalaCheck.

    πŸ›  Fix breakage with version of Gen.pick that takes multiple
    arguments of Gen[T].

Previous changes from v1.15.0

  • Compatibility

    Binary compatible with 1.14.3 version of ScalaCheck.

    πŸ›  Source incompatible type signatures of Gen.atLeastOne and Gen.someOf in Scala 2.13 artifact(s) of 1.14.3 version of ScalaCheck that will be fixed in 1.15.1.

    πŸ”„ Changed

    ⬇️ Dropped support for Scala 2.10.x

    βœ‚ Remove implicit for Prop.BooleanOperators which was deprecated in 1.14.1 in favor of Prop.propBoolean #667

    βž• Added support for Dotty (currently 0.27)

    Various improvements to Gen and Arbitrary #575

    πŸ‘Œ Improvements to Char and String generators #653

    πŸ—„ Single-argument Prop.collect is deprecated #449

    πŸ›  Fixed

    Prevent nesting properties #677

    πŸ‘€ Seed with four zeroes is not allowed #674

    πŸ–¨ Printing order of shrunk values #635

    πŸŽ‰ Initial seed was reused #651

    βž• Added

    Choose[BigDecimal] #670

    Choose[BigInt] #636

    Statistical distributions (e.g. Gaussian, Poisson) #656

    Shrinking with LazyList for Scala 2.13 compatibility #626 #627

    Shrink.suchThat #484

    Gen.recursive for recursive generators #616 #639

    πŸš€ This release was brought to you by 16 contributors, according to git shortlog -sn --no-merges 1.14.3..1.15.0. Thank you Scala Steward, Aaron S. Hawley, Erik Osheim, Lars Hupel, Dolan Murvihill, Alexey Kotlyarov, Zak, Seth Tisue, Taro L. Saito, Neville Li, P. Oscar Boykin, Guillaume Martres, Sean C. Sullivan, Fred Roth, Jonas KΓΆlker, NthPortal.