Update dependency fast-check to v4
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
fast-check (source) | devDependencies | major | 3.23.2 -> 4.0.0 |
Release Notes
dubzzz/fast-check (fast-check)
v4.0.0
Reducing the API surface to ease ramp-up on fast-check [Code][Diff]
The simplest migration guide to v4 is probably here.
Breaking changes
- (MR#5589) Include invalid dates by default
- (MR#5590) Error with cause by default
- (MR#5597) Include null-prototype by default in record
- (MR#5603) Shorter stringified values for null-prototype
- (MR#5609) Include null-prototype by default in dictionary
- (MR#5610) Drop deprecated
.noBias
- (MR#5611) Drop deprecated
uuidV
arbitrary - (MR#5613) Drop deprecated
unicodeJson*
arbitraries - (MR#5633) Extend
uuid
to build any know version - (MR#5636) Drop deprecated
ascii*
- (MR#5644) Drop deprecated
hexa*
- (MR#5664) Drop deprecated
base64
- (MR#5665) Drop deprecated
stringOf
- (MR#5666) Drop deprecated
char16bits
andstring16bits
- (MR#5667) Drop deprecated
fullUnicode*
- (MR#5669) Drop deprecated
unicode*
- (MR#5671) Drop deprecated
char
- (MR#5674) Drop deprecated
big{U|}int{N|}
- (MR#5679) Drop method
nextArrayInt
fromRandom
- (MR#5694) Drop deprecated
.noShrink
- (MR#5821) Force usage of Node >=12.17.0
Features
- (MR#5577) Better typings for
constantFrom
- (MR#5605) Better typings for
constant
- (MR#5773)
Arbitrary<XxxArray>
=>Arbitrary<XxxArray<ArrayBuffer>>
- (MR#5783) Simplify types for
fc.record
Fixes
- (MR#5604) Bug: Better rejection handling in
scheduleSequence
- (MR#5672) Bug: Resist to external poisoning for
json
- (MR#5696) Bug: Stricter checks for consecutive
noBias
- (MR#5608) CI: Clean unhandled rejections in tests for scheduler
- (MR#5670) CI: Move build chain to ESM
- (MR#5136) CI: Toggle on
isolatedDeclarations
flag on the project - (MR#5685) CI: Stabilize e2e on bigint and duplicates
- (MR#5695) CI: Move CI jobs to Node 22
- (MR#5719) CI: Toggle ON faster documentation build
- (MR#5742) CI: Fix lock file breakeage
- (MR#5770) CI: Switch CI commands to
node --run
- (MR#5578) Clean: Remove
withDeletedKeys
fromrecord
- (MR#5581) Clean: Enforce
run{Before/After}Each
on property - (MR#5634) Clean: Drop unneeded catch param
- (MR#5763) Clean: Abide by lint rule no-empty-object-type
- (MR#5767) Clean: Abide by lint rule no-unused-vars
- (MR#5803) Clean: Fix lint error in ConstantArbitrary class
- (MR#5522) Doc: Advent of PBT Day 14
- (MR#5531) Doc: Do not display success count
- (MR#5524) Doc: Advent of PBT Day 15
- (MR#5532) Doc: Stop trimming user inputs for the Advent of PBT
- (MR#5526) Doc: Advent of PBT Day 16
- (MR#5527) Doc: Advent of PBT Day 17
- (MR#5539) Doc: Advent of PBT, Day 18
- (MR#5542) Doc: Add missing comment sections on Advents
- (MR#5543) Doc: Add socials illustrations on some Advents
- (MR#5540) Doc: Advent of PBT, Day 19
- (MR#5547) Doc: Add comments section on Day 19
- (MR#5550) Doc: Advent of PBT, Day 20
- (MR#5551) Doc: Comments section for Day 20
- (MR#5554) Doc: Make Day 15 compliant to its own spec
- (MR#5555) Doc: Fix validation of Advent of PBT Day 20
- (MR#5549) Doc: Advent of PBT, Day 21
- (MR#5552) Doc: Advent of PBT, Day 22
- (MR#5557) Doc: Drop useless Advent's calls to counter API
- (MR#5553) Doc: Advent of PBT, Day 23
- (MR#5558) Doc: Advent of PBT, Day 24
- (MR#5564) Doc: Add
typespec-fast-check
to ecosystem page - (MR#5684) Doc: Flag migration guide with WIP
- (MR#5768) Doc: Document the Unicode version
- (MR#5774) Doc: Update CONTRIBUTING.md after switch to pnpm
- (MR#5788) Doc: Add new contributor AlexErrant
- (MR#5789) Doc: Add "Answering Questions" to gruhn
- (MR#5795) Doc: Enrich minimal support section
- (MR#5806) Doc: Fix GitHub workflow badge on README
- (MR#5805) Doc: Add new contributor ahrjarrett
- (MR#5814) Doc: Drop direct link to the Advent Of PBT
- (MR#5583) Performance: Faster property::run with strict equality checks
- (MR#5584) Performance: Delay computation of Error stack when no cause
- (MR#5612) Performance: Drop unneeded
BigInt
check inmixedCase
- (MR#5614) Performance: Faster scheduling of
scheduleSequence
- (MR#5615) Performance: Speed-up race-condition schedulers
- (MR#5617) Performance: Faster initialization of globals by dropping
typeof
checks - (MR#5676) Performance: Faster read of parameters passed to runners
- (MR#5677) Performance: Faster read of constraints on
object
and related - (MR#5618) Performance: Faster rewrite of
double
- (MR#5678) Performance: Faster ipV6 generation with cached string builders
- (MR#5771) Performance: Mark all arbitraries as side-effect free
- (MR#5786) Performance: Mark all arbitraries as side-effect free
- (MR#5787) Performance: Target ES2020 in produced bundle
- (MR#5600) Refactor: Rewrite of
scheduleSequence
- (MR#5635) Refactor: Switch to object spreading rather than
Object.assign
- (MR#5710) Script: Moving from yarn to pnpm
- (MR#5815) Script: Add support for pnpm scripts in generate-changelog
- (MR#5816) Script: Take into account bumps on one part of monorepo for changelogs
- (MR#5817) Script: Fix call to changesets to generate changelog for v4
- (MR#5616) Test: Stop checking for
BigInt
in tests - (MR#5673) Test: Cover even more arbitraries within Poisoning
- (MR#5734) Test: Move website tests to Vitest
- (MR#5736) Test: Do not scan useless directories for tests on website
- (MR#5743) Test: Drop useless snapshots results
- (MR#5756) Test: Fix test in double.spec
- (MR#5790) Test: Check TypeScript 5.7 to assess it never breaks
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.