Skip to content

Releases: dubzzz/fast-check

Adapt typings for older versions of TypeScript

16 Apr 22:17
Compare
Choose a tag to compare

Fixes

  • (PR#282) Bug: Cannot find name 'bigint'
  • (PR#282) Declare umd build in package.json

VerbosityLevel enum is accessible through fc.VerbosityLevel

16 Apr 22:17
Compare
Choose a tag to compare

Fixes

  • (PR#278) Bug: VerbosityLevel values not accessible

BigInt support and new verbosity level

16 Apr 22:16
Compare
Choose a tag to compare

Features

  • (PR#274) Add support for asynchronous check method in AsyncCommand
  • (PR#271) More verbose option
  • (PR#268) Add bigInt, bigIntN, bigUint, bigUintN arbitraries
  • (PR#263) Default seed based on random in addition of timestamp

Fixes

  • (PR#272) Bug: Commands partially cloned during the shrinking process
  • (PR#264) Bug: Non-integer seeds not using the full range of integers
  • (PR#269) Clean: Migrate tests to Jest
  • (PR#276) Clean: Unecessary try catch removed for modelRun

Fix regression introduced in the shrinking of cloneable

16 Apr 22:16
Compare
Choose a tag to compare

Fixes

  • (PR#262) Bug: Too many shrinks for commands
  • (PR#261) Bug: Unability to shrink mapped commands
  • (PR#259) Bug: Move cloning responsability at a single place in the code
  • (PR#258) Bug: Shrinker of commands failed to shrink twice (in depth)

Support asynchronous model setup

16 Apr 22:15
Compare
Choose a tag to compare

Fixes

  • (PR#249) Bug: asyncModelRun must accept asynchonous setup function

Native handling of stateful generated values

16 Apr 22:15
Compare
Choose a tag to compare

Features

  • (PR#245) seed can be any possible double value
  • (PR#229) Add context arbitrary
  • (PR#237) Add infiniteStream arbitrary
  • (PR#229) Add cloneable capabilities for stateful generated values

Fixes

  • (PR#241) Doc: Add an example for asyncProperty
  • (PR#238) Better logs for fc.func, fc.compareFunc and fc.compareBooleanFunc
  • (PR#235) Better handling of fc.commands

Fix import of loremIpsum library

16 Apr 22:14
Compare
Choose a tag to compare

Fixes

  • (PR#226) Fix import of loremIpsum library

Switch to another PRNG for better performances, better fc.commands

13 Oct 23:59
Compare
Choose a tag to compare

Features

  • (PR#221) Better shrink capabilities for fc.commands

Fixes

  • (PR#220) Switch to another PRNG as default random - more performances
  • (PR#217) Better typings for fc.record

Performance improvements

11 Oct 22:21
Compare
Choose a tag to compare

Fixes

  • (PR#215) Fix deopt in Stream.join and Random.uniformIn
  • (PR#211) Remove costly spread operator in ArrayArbitrary
  • (PR#210) Reduce the number of closures in Stream
  • (PR#209) Bump to pure-rand@1.4.2: improvements on mersenne twister
  • (PR#208) Bump to pure-rand@1.4.1: destructuring was too costly

Performance improvements

11 Oct 22:33
Compare
Choose a tag to compare

Fixes

  • (PR#207) Performance improvements done on pure-rand side