fast-check v2.12.0 Release Notes

  • More efficient shrinkers [Code][Diff]

    ๐Ÿ”‹ Features

    • ๐ŸŽ (PR#1354) Split internal shrinkNumeric for better performances
    • (PR#1355) Introduce new helper ArbitraryWithContextualShrink
    • (PR#1358) More efficient shrinker for integer
    • (PR#1372) More efficient shrinker for bigint
    • (PR#1377) More efficient shrinker for array
    • (PR#1382) More efficient shrinker for subarray
    • (PR#1383) More efficient shrinker for mixedCase
    • (PR#1384) More efficient shrinker for double

    ๐Ÿ›  Fixes

    • (PR#1347) Bug: Legacy float/double should never reach the max specified value
    • (PR#1359) Bug: Calling shrinkableFor should never apply contextual shrinker
    • ๐Ÿ”’ (PR#1350) Clean: Re-generate yarn.lock files
    • ๐Ÿ“š (PR#1331) Doc: Deploy temporary documentation and package to Netlify
    • ๐ŸŽ (PR#1352) Doc: Performance impacts of filter
    • (PR#1379) Doc: Only specify a single entryPoint in TypeDoc
    • ๐Ÿ”จ (PR#1357) Refactor: Re-implement shrinker for integer based on contextual shrinker
    • ๐Ÿ”จ (PR#1373) Refactor: Re-use contextual shrinker of integer in array
    • ๐Ÿ”จ (PR#1376) Refactor: Re-use contextual shrinker of integer in commands
    • ๐Ÿ”จ (PR#1385) Refactor: Extract Stream.of logic for re-use
    • ๐Ÿ”จ (PR#1387) Refactor: Restructure implementations of ArbitraryWithContextualShrink
    • โœ… (PR#1353) Test: Add unit tests for stringify on Regex
    • โœ… (PR#1368) Test: Add non-regression tests on shrinking quality
    • โœ… (PR#1375) Test: Typings of ArbitraryWithContextualShrink
    • โœ… (PR#1380) Test: Typings of constantFrom and chain
    • โœ… (PR#1381) Test: Tests on typings should fail with explicit errors
    • โœ… (PR#1386) Test: Add tests for ArbitraryWithContextualShrink
    • โœ… (PR#1388) Test: Add snapshot tests for new core shrinkers: integer, bigint, arrayInt64