Releases: dubzzz/fast-check
Releases · dubzzz/fast-check
Reducing the API surface to ease ramp-up on fast-check
The simplest migration guide to v4 is probably here.
Breaking changes
- (PR#5589) Include invalid dates by default
- (PR#5590) Error with cause by default
- (PR#5597) Include null-prototype by default in record
- (PR#5603) Shorter stringified values for null-prototype
- (PR#5609) Include null-prototype by default in dictionary
- (PR#5610) Drop deprecated
.noBias
- (PR#5611) Drop deprecated
uuidV
arbitrary - (PR#5613) Drop deprecated
unicodeJson*
arbitraries - (PR#5633) Extend
uuid
to build any know version - (PR#5636) Drop deprecated
ascii*
- (PR#5644) Drop deprecated
hexa*
- (PR#5664) Drop deprecated
base64
- (PR#5665) Drop deprecated
stringOf
- (PR#5666) Drop deprecated
char16bits
andstring16bits
- (PR#5667) Drop deprecated
fullUnicode*
- (PR#5669) Drop deprecated
unicode*
- (PR#5671) Drop deprecated
char
- (PR#5674) Drop deprecated
big{U|}int{N|}
- (PR#5679) Drop method
nextArrayInt
fromRandom
- (PR#5694) Drop deprecated
.noShrink
- (PR#5821) Force usage of Node >=12.17.0
Features
- (PR#5577) Better typings for
constantFrom
- (PR#5605) Better typings for
constant
- (PR#5773)
Arbitrary<XxxArray>
=>Arbitrary<XxxArray<ArrayBuffer>>
- (PR#5783) Simplify types for
fc.record
Fixes
- (PR#5604) Bug: Better rejection handling in
scheduleSequence
- (PR#5672) Bug: Resist to external poisoning for
json
- (PR#5696) Bug: Stricter checks for consecutive
noBias
- (PR#5608) CI: Clean unhandled rejections in tests for scheduler
- (PR#5670) CI: Move build chain to ESM
- (PR#5136) CI: Toggle on
isolatedDeclarations
flag on the project - (PR#5685) CI: Stabilize e2e on bigint and duplicates
- (PR#5695) CI: Move CI jobs to Node 22
- (PR#5719) CI: Toggle ON faster documentation build
- (PR#5742) CI: Fix lock file breakeage
- (PR#5770) CI: Switch CI commands to
node --run
- (PR#5578) Clean: Remove
withDeletedKeys
fromrecord
- (PR#5581) Clean: Enforce
run{Before/After}Each
on property - (PR#5634) Clean: Drop unneeded catch param
- (PR#5763) Clean: Abide by lint rule no-empty-object-type
- (PR#5767) Clean: Abide by lint rule no-unused-vars
- (PR#5803) Clean: Fix lint error in ConstantArbitrary class
- (PR#5522) Doc: Advent of PBT Day 14
- (PR#5531) Doc: Do not display success count
- (PR#5524) Doc: Advent of PBT Day 15
- (PR#5532) Doc: Stop trimming user inputs for the Advent of PBT
- (PR#5526) Doc: Advent of PBT Day 16
- (PR#5527) Doc: Advent of PBT Day 17
- (PR#5539) Doc: Advent of PBT, Day 18
- (PR#5542) Doc: Add missing comment sections on Advents
- (PR#5543) Doc: Add socials illustrations on some Advents
- (PR#5540) Doc: Advent of PBT, Day 19
- (PR#5547) Doc: Add comments section on Day 19
- (PR#5550) Doc: Advent of PBT, Day 20
- (PR#5551) Doc: Comments section for Day 20
- (PR#5554) Doc: Make Day 15 compliant to its own spec
- (PR#5555) Doc: Fix validation of Advent of PBT Day 20
- (PR#5549) Doc: Advent of PBT, Day 21
- (PR#5552) Doc: Advent of PBT, Day 22
- (PR#5557) Doc: Drop useless Advent's calls to counter API
- (PR#5553) Doc: Advent of PBT, Day 23
- (PR#5558) Doc: Advent of PBT, Day 24
- (PR#5564) Doc: Add
typespec-fast-check
to ecosystem page - (PR#5684) Doc: Flag migration guide with WIP
- (PR#5768) Doc: Document the Unicode version
- (PR#5774) Doc: Update CONTRIBUTING.md after switch to pnpm
- (PR#5788) Doc: Add new contributor AlexErrant
- (PR#5789) Doc: Add "Answering Questions" to gruhn
- (PR#5795) Doc: Enrich minimal support section
- (PR#5806) Doc: Fix GitHub workflow badge on README
- (PR#5805) Doc: Add new contributor ahrjarrett
- (PR#5814) Doc: Drop direct link to the Advent Of PBT
- (PR#5583) Performance: Faster property::run with strict equality checks
- (PR#5584) Performance: Delay computation of Error stack when no cause
- (PR#5612) Performance: Drop unneeded
BigInt
check inmixedCase
- (PR#5614) Performance: Faster scheduling of
scheduleSequence
- (PR#5615) Performance: Speed-up race-condition schedulers
- (PR#5617) Performance: Faster initialization of globals by dropping
typeof
checks - (PR#5676) Performance: Faster read of parameters passed to runners
- (PR#5677) Performance: Faster read of constraints on
object
and related - (PR#5618) Performance: Faster rewrite of
double
- (PR#5678) Performance: Faster ipV6 generation with cached string builders
- (PR#5771) Performance: Mark all arbitraries as side-effect free
- (PR#5786) Performance: Mark all arbitraries as side-effect free
- (PR#5787) Performance: Target ES2020 in produced bundle
- (PR#5600) Refactor: Rewrite of
scheduleSequence
- (PR#5635) Refactor: Switch to object spreading rather than
Object.assign
- (PR#5710) Script: Moving from yarn to pnpm
- (PR#5815) Script: Add support for pnpm scripts in generate-changelog
- (PR#5816) Script: Take into account bumps on one part of monorepo for changelogs
- (PR#5817) Script: Fix call to changesets to generate changelog for v4
- (PR#5616) Test: Stop checking for
BigInt
in tests - (PR#5673) Test: Cover even more arbitraries within Poisoning
- ([PR#5734](h...
Support fast-check v4
Support fast-check v4
Update build scripts
Fix declaration of the script
Support fast-check v4
Adapted some build scripts
Support fast-check v4
Extend support to vitest v3
Increased resiliency to poisoning
Fixes
- (PR#5469) Bug: Make
subarray
a bit more resilient to poisoning - (PR#5468) Bug: Make
stringify
a bit more resilient to poisoning - (PR#5515) Bug: Make depth retrieval more resilient to poisoning
- (PR#5516) Bug: Make
mapToConstant
a bit more resilient to poisoning - (PR#5517) Bug: Make run details printer a bit more resilient to poisoning
- (PR#5518) Bug: Make
gen
a bit more resilient to poisoning - (PR#5456) CI: Allow Bluesky calls from the blog
- (PR#5457) CI: Add Bluesky CDN as trustable source for images
- (PR#5410) Doc: Release note for 3.23.0
- (PR#5413) Doc: Update social links on footer
- (PR#5414) Doc: Drop Twitter badge from README
- (PR#5415) Doc: Add link to bluesky account in the header of the doc
- (PR#5453) Doc: AdventOfPBT event Day 1
- (PR#5454) Doc: Saving Christmas with nroken playground
- (PR#5455) Doc: Add links towards Bluesky from the AdventOfPBT
- (PR#5460) Doc: Advent Of PBT, day 2
- (PR#5461) Doc: Add linkt towards Bluesky comments
- (PR#5464) Doc: Add quick code snippet directly from the documentation
- (PR#5465) Doc: Quick CTA to our Advent of PBT event
- (PR#5467) Doc: Single line success message for the Advent of PBT
- (PR#5470) Doc: Notify fast-check.dev account
- (PR#5471) Doc: Advent of PBT, day 3
- (PR#5472) Doc: Add comments section on Advent of PBT, Day 3
- (PR#5474) Doc: Advent of PBT, day 4
- (PR#5477) Doc: Add comments section on Advent of PBT, Day 4
- (PR#5479) Doc: Advent of PBT Day 5
- (PR#5480) Doc: Advent of PBT Day 5, link to comments on Bluesky
- (PR#5481) Doc: Do not send new success pixels when advent solved once
- (PR#5482) Doc: Add a counter showing the number of times the puzzle got solved
- (PR#5489) Doc: Advent Of PBT, Day 6
- (PR#5490) Doc: Advent of PBT, comments on Day 6
- (PR#5493) Doc: Fix playground code of Day 6
- (PR#5495) Doc: Advent of PBT Day 7
- (PR#5496) Doc: Advent of PBT Day 7, comments section
- (PR#5497) Doc: Advent of PBT Day 8
- (PR#5498) Doc: Advent of PBT Day 8, comments section
- (PR#5501) Doc: Drop buggy "solved times" at the end of each advent
- (PR#5500) Doc: Advent of PBT Day 9
- (PR#5503) Doc: Add back buggy "solved times" at the end of each advent
- (PR#5505) Doc: Advent of PBT Day 10
- (PR#5510) Doc: Advent Of PBT Day 10, comments section
- (PR#5508) Doc: Advent Of PBT Day 11
- (PR#5507) Doc: Advent Of PBT Day 12
- (PR#5509) Doc: Advent Of PBT Day 13
- (PR#5523) Doc: Advent of PBT add comments sections on days 11 to 13