Changelog History
-
v0.12.0 Changes
March 28, 2019๐ฑ โ ๏ธ Breaking Changes Ahead โ ๏ธ
- ๐ Update to Swift 5, 5-style package format, and upgrade the Xcode project to compile in Swift 5 mode
- ๐ Fix a bug where
cover
ed properties yielded a false positive if the condition was never true
๐ In the coming release, we will be reworking the coverage system to better match QuickCheck's current functionality.
-
v0.11.0 Changes
September 19, 2018๐ฑ โ ๏ธ Breaking Changes Ahead โ ๏ธ
- ๐ Update to the Swift 4.2 tooling, 4.2-style package format, and upgrade the Xcode project to compile in the 4.2 mode of the Swift compiler.
- โ Removed the previously-deprecated
Gen.map
forms. Please use the correspondingGen.zip
function call itself - โ Removed
quickCheck(_ :name:)
. Use one ofquickCheck(asserting:)
orquickCheck(reporting:)
instead.
-
v0.10.1 Changes
September 19, 2018- โ Remove self-referential Arbitrary instances for lazy collections
- ๐ Updates to documentation
๐ฑ โ ๏ธ Breaking Changes Ahead โ ๏ธ
๐ This is the last release of SwiftCheck that supports Xcode 9 and its tooling.
-
v0.10.0 Changes
April 12, 2018๐ Swift turns 4.1, and so SwiftCheck marches onward. This release brought with it a raft of improvements:
- โ
Non-operator spellings of the standard
property() <- test
pattern is provided in the form of the newquickCheck
functions. - ๐ Conditional conformances for a raft of Standard Library types obviate most modifier types. As such,
ArrayOf<T>
,SetOf<T>
,DictionaryOf<K, V>
, andOptionalOf<T>
have been removed. You can now directly use the natural types[T]
,Set<T>
,[K: V]
, andT?
respectively. - ๐ Documentation improvements and simplifications
- โ
Non-operator spellings of the standard
-
v0.9.1 Changes
November 02, 2017- โ Silence warnings introduced by Xcode 9.1.
-
v0.9.0 Changes
October 20, 2017โฌ๏ธ SwiftCheck has internally upgraded to Swift 4.x.
๐ฑ โ ๏ธ Breaking Changes Ahead โ ๏ธ
๐ Generation of floating point values specified an incorrect mask which could lead to decreased diversity of test values. Calculation of the mask has been corrected (h/t @sebastiangrail). Seeds replaying tests involving floating point numbers may need to be recalculated.
โก๏ธ
Gen.fromElements(in:)
,Gen.fromElements(of:)
,Gen.choose(_:)
andGen.chooseAny()
have been updated to take fuller advantage of type inference and may no longer require explicit specialization. In addition, incorrect specializations may now be diagnosed as errors.๐
Gen.map(...)
overloads have been deprecated and renamedGen.zipWith
. These have been given a similar overhaul to the above. -
v0.8.1 Changes
September 20, 2017๐ฑ โ ๏ธ Breaking Changes Ahead โ ๏ธ
๐ SwiftCheck now targets Xcode 9 and Swift 3.2. This is the last version of SwiftCheck that will support Swift 3.
-
v0.8.0 Changes
March 29, 2017๐ SwiftCheck now builds with Swift 3.1
-
v0.7.3 Changes
February 08, 2017๐ Fixes an issue where generating with the range
(Int.max - 512, Int.max)
could causeBuiltin
integer conversions to fail in the middle of random number generation. -
v0.7.2 Changes
December 01, 2016๐ Fixes an issue where extending the lifetime of
ArrowOf<T, U>
orIsoOf<T, U>
could cause the underlying data table to be prematurely deallocated. (h/t @broomburgo)