fast-check v2.14.0 Release Notes

  • ๐Ÿ‘€ Easier recursive strcutures and ability discard already seen runs [Code][Diff]

    ๐Ÿ”‹ Features

    • (PR#1581) Reject invalid weights on fc.frequency
    • (PR#1598) Add withCrossShrink constraint on fc.frequency
    • (PR#1586) Add a way to ignore already covered cases
    • (PR#1601) Add maxDepth constraint on fc.frequency
    • (PR#1602) Stricter checks on args of fc.frequency
    • (PR#1603) Add depthFactor constraint on fc.frequency
    • (PR#1606) Adopt variadic tuples for signatures of tuple
    • (PR#1607) Ability to share depth accross instances
    • (PR#1609) Add recursive constraints on fc.option
    • (PR#1611) Add recursive constraints on fc.oneof
    • ๐Ÿ—„ (PR#1624) Mark fc.genericTuple as deprecated
    • (PR#1629) Introduce a way to mark equal values as skipped

    ๐Ÿ›  Fixes

    • (PR#1493) Bug: add64 is not supposed to produce negative zeros
    • ๐Ÿ— (PR#1514) Doc: Build status should open actions page filtered on main
    • ๐Ÿ— (PR#1515) Doc: Build status should open builds page filtered on main
    • (PR#1521) Tooling: Enable strict mode in tsconfig
    • โœ… (PR#1524) Test: Add CJS/ESM tests using esbuild
    • ๐Ÿ‘€ (PR#1525) CI: Relax check ensuring default seed defined in CI
    • โœ… (PR#1534) Test: Fix coverage flakiness on add64(0, 0)
    • โœ… (PR#1555) Test: Run ESM tests against node 13
    • ๐Ÿ”จ (PR#1578) Refactor: Rework initialisation phase of fc.frequency
    • ๐Ÿ”จ (PR#1577) Refactor: Rework initialisation phase of fc.oneof
    • โœ… (PR#1597) Test: Rework tests on frequency
    • ๐Ÿ“š (PR#1600) CI: Checkout code before publishing the documentation
    • ๐Ÿ”จ (PR#1604) Refactor: Re-use fc.frequency for fc.oneof
    • ๐Ÿ”จ (PR#1605) Refactor: Re-use fc.frequency for fc.option
    • โœ… (PR#1608) Test: Better errors for isValidValue in helpers
    • (PR#1610) Doc: Add missing annotations and jsdoc
    • ๐Ÿ“š (PR#1612) Doc: Better documentation for fc.letrec
    • โšก๏ธ (PR#1613) Doc: Update some fc.memo to fc.letrec
    • (PR#1625) Fix: Add missing export for OneOfConstraints