fast-check v2.9.0 Release Notes
Release Date: 2020-12-12 // about 1 month ago-
โ Add arbitraries for typed arrays [Code][Diff]
๐ Features
- 0๏ธโฃ (PR#1210) Wider defaults for numbers in objects
- (PR#1212) Add typed arrays arbitraries
- (PR#1237) Add option withTypedArray to
fc.object
andfc.anything
๐ Fixes
- โ (PR#1231) CI: Split test task into two tasks: one for units, another for e2e
- โ (PR#1232) CI: Run E2E tests on multiple platforms
- (PR#1243) CI: Add github-actions to dependabot list
- โ (PR#1230) Test: Reduce flakyness of object boxing coverage
- โ (PR#1233) Test: Wrongly defined test for 'Should box any number'
- โ (PR#1236) Test: Safer URL validation in our web urls e2e tests
- โ (PR#1238) Test: Add legacy tests for typed arrays
- โ (PR#1250) Test: Increase stability of e2e on floatNext/doubleNext
- โ (PR#1251) Test: Add more tests for fc.anything to reduce coverage flakiness
Previous changes from v2.8.0
-
๐ New opt-in implementation for fc.float and fc.double [Code][Diff]
๐ Features
- (PR#1040) New opt-in implementation for
fc.float
- ๐ (PR#1185) Move NaN as an extreme value for floatNext
- (PR#1187) New opt-in implementation for
fc.double
๐ Fixes
- (PR#1190) CI: Check CJS/ESM against node 12.20
- ๐ (PR#1161) Doc: Show examples for
fc.__version
andfc.__commitHash
- (PR#1128) Doc: Add link to ReScript bindings
- โ (PR#1173) Test: Add more tests on biasNumeric
- โ
(PR#1182) Test: Better error reporting with
isValidArbitrary
- ๐ (PR#1184) Test: Pass the original
seed
to callbacks ofisValidArbitrary
- โ
(PR#1183) Test: Wrongly defined
isStrictlySmallerValue
forfloatNext
- โ
(PR#1186) Test: Wrongly defined
isStrictlySmallerValue
forfloatNext
(2) - โ
(PR#1199) Test: Invalid checks to compare zeros in tests of
fc.float(Next)
- โ (PR#1207) Test: More stable coverage for floatNext
- โ (PR#1211) Test: Add missing legacy tests for node 8 on next floats and others
- โ (PR#1213) Test: Add some more tests for ArrayInt64 for coverage stability
- (PR#1040) New opt-in implementation for