⚠️ 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 useGen.compose
. - The little-known and barely-used
exhaustive
requirement ofArbitrary
has been removed. Please use.once
and.again
.
In addition, we have a number of framework improvements:
Gen.withBounds
andGen.chooseAny
have been added to make interacting withRandomType
andLatticeType
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
❤️