github typelift/SwiftCheck 0.7.0
The Seven Chekras

latest releases: 0.12.0, 0.11.0, 0.10.1...
8 years ago

⚠️ Breaking Changes Ahead ⚠️

SwiftCheck now fully supports Swift 3.0 and Xcode 8.0. That entails a bit of breakage:

  • The operator equivalents for functional combinators have been removed - these are, <^>, <*>, and >>-. Please use their nominal equivalents .map, .ap, and .flatMap respectively.
  • For long Applicative-style chains a <^> b <*> c <*> ... please use Gen.compose.
  • The little-known and barely-used exhaustive requirement of Arbitrary has been removed. Please use .once and .again.

In addition, we have a number of framework improvements:

  • Gen.withBounds and Gen.chooseAny have been added to make interacting with RandomType and LatticeType generators even easier.
  • Fixes a potential crash when interacting with randomInRange for large unsigned values.
  • Documentation coverage and robustness continues to increase with the addition of doc comments.
  • SwiftCheck now builds without dependencies.

Thank you to everybody who contributed to this release.

@griotspeak
@bgerstle
@kouky
@EuAndreh
@kballard
@gfontenot
@kykim

❤️

Don't miss a new SwiftCheck release

NewReleases is sending notifications on new releases.