fast-check v1.0.0 Release Notes

  • Easier replay of failures [Code][Diff]

    Faster shrinks

    No recursion when shrinking

    ๐Ÿ”‹ Features

    • (7dd6fdb) Add min/max parameters on fc.float and fc.double
    • (e294eed) Naming: lower camel case for settings keys
    • (6f35cdd) Check inputs provided to fc.property for easier troubleshoot
    • (b960938) Naming: rename generic_tuple into genericTuple
    • (d1dde51) Faster shrink of arrays (and must of others because built on top of arrays x integers)
    • (fc57174) Faster shrink of integers
    • ๐Ÿ‘€ (be038f0) Replay a failure by setting seed and path
    • (d25d233) Feature counterexamplePath in case of failure
    • โšก๏ธ (c7a1508) Update error message content in case of failure in fc.assert
    • ๐Ÿ‘ (eb0d3c2) Better rendering of strings
    • (1e0a73d) Switch to pure-rand library to handle the random number generation

    ๐Ÿ›  Fixes

    • (56f1e03) Clean: Bump versions of dependencies
    • (d0027d7) Clean: Do not throw raw strings but Error
    • ๐Ÿšš (6af9e6b) Clean: Remove power-assert from devDependencies
    • (fe44db5) Fix: Avoid recursion during shrinking
    • (e3ecc3c) Fix: Bad number of shrinks in case of failure (offset by one)
    • (79c08f7) Fix: Export dictionary arbitrary