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 and fc.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 and fc.__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 of isValidArbitrary
    • โœ… (PR#1183) Test: Wrongly defined isStrictlySmallerValue for floatNext
    • โœ… (PR#1186) Test: Wrongly defined isStrictlySmallerValue for floatNext (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