What's new in fast-check 3.21.0?
This release introduces support for UUIDs version 6 to 15. It also extends uuid
to allow specifying a single version or a set of versions.
Continue reading to explore the detailed updates it brings.
This release introduces support for UUIDs version 6 to 15. It also extends uuid
to allow specifying a single version or a set of versions.
Continue reading to explore the detailed updates it brings.
Faker is a well-known and powerful library for generating fake data. It provides a wide range of random but realistic-looking data generators. However, testing with purely random data can be risky, which is why property-based testing is valuable. While using fake but realistic data in tests can be beneficial, it is essential to integrate it properly. fast-check offers a robust solution for this integration.
This release introduces new arbitraries to enhance shrinking capabilities and deprecates the noShrink
and noBias
methods in favor of these new arbitraries.
Continue reading to explore the detailed updates it brings.
This release introduces new opt-in options for objects arbitraries such as anything
, object
, json
and jsonValue
. These options provide more elegant and shorter ways to produce objects with non-ASCII keys and values.
Continue reading to explore the detailed updates it brings.
This release introduces some new opt-in options on floating point number arbitraries such as float
and double
. They offer simpler ways to only produce non-integer numerical values.
Continue reading to explore the detailed updates it brings.
This release exposes additional details regarding the random generator passed to the property. It unlocks the ability to delegate random value generation in the workers in the context of @fast-check/worker
.
Continue reading to explore the detailed updates it brings.
This release makes fc.pre
safer in terms of typings. It leverages the "assertion function" capability offered by TypeScript. This version has also been focused on preparing the monorepo to move to ECMAScript modules to build itself and on making our documentation better.
Continue reading to explore the detailed updates it brings.
This release added support for the parameter depthIdentifier
on dictionary
.
Continue reading to explore the detailed updates it brings.
This release changes the way we import type-only files internally in fast-check. While it should not have any visible impact on our clients we preferred to make it a minor.
Continue reading to explore the detailed updates it brings.
On the 28th of September 2023, a critical security vulnerability affecting all versions of Zod was reported under the identifier CVE-2023-4316. Zod is known as "TypeScript-first schema validation with static type inference".
This post proposes an approach to anticipate and prevent such vulnerabilities. by leveraging fast-check and its ecosystem.