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 onfc.frequency
- (PR#1586) Add a way to ignore already covered cases
- (PR#1601) Add
maxDepth
constraint onfc.frequency
- (PR#1602) Stricter checks on args of
fc.frequency
- (PR#1603) Add
depthFactor
constraint onfc.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
forfc.oneof
- ๐จ (PR#1605) Refactor: Re-use
fc.frequency
forfc.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
tofc.letrec
- (PR#1625) Fix: Add missing export for
OneOfConstraints
- (PR#1581) Reject invalid weights on