All Versions
127
Latest Version
Avg Release Cycle
20 days
Latest Release
-

Changelog History
Page 1

  • v2.25.0 Changes

    Connect depth factor onto the notion of size [Code][Diff]

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ (PR#2828) Adopt better way to bias oneof with depth
    • (PR#2848) Make generated objects (able to be) deeper
    • ๐Ÿ‘ (PR#2866) Better support for recursive structures implying arrays
    • (PR#2882) Simpler way to create unique identifier for depths
    • (PR#2883) Avoid instances of anything to be too large
    • 0๏ธโƒฃ (PR#2884) Extend size to defaulting of depthFactor
    • 0๏ธโƒฃ (PR#2887) Default depth factor of objects to = when not set

    ๐Ÿ›  Fixes

    • ๐Ÿ”ง (PR#2890) CI: Configure Renovate
    • (PR#2901) CI: Drop dependabot
    • (PR#2903) CI: Attempt to fix renovate
    • ๐Ÿ“Œ (PR#2907) CI: Stop pinning dependencies with renovate
    • (PR#2870) Doc: Replace faker with the new official fork of faker
    • (PR#2885) Doc: Add ability to show statistics in generated doc
    • ๐Ÿ“š (PR#2886) Doc: Show some statistics inside the documentation

  • v2.24.0 Changes

    โž• Add a way to wait only for minimal stuff with fc.scheduler [Code][Diff]

    ๐Ÿ”‹ Features

    • โฑ (PR#2807) Add ability to wait until the end of a given task from fc.scheduler

    ๐Ÿ›  Fixes

    • (PR#2826) Bug: Narrow return type of readConfigureGlobal
    • (PR#2819) Doc: Corrected uniqueArray signatures
    • โœ… (PR#2813) Doc: Add examples based on supertest

  • v2.23.2 Changes

    โž• Add missing "types" to "exports" for all dependencies [Code][Diff]

    ๐Ÿ›  Fixes

    • (PR#2806) Bug: Bump pure-rand for moduleResolution fix
    • โœ… (PR#2805) Test: Run fast-check against --moduleResolution nodenext
  • v2.23.1 Changes

    โž• Add missing "types" to "exports" [Code][Diff]

    ๐Ÿ›  Fixes

    • (PR#2803) Bug: Add "types" to "exports"
    • ๐Ÿšš (PR#2793) Clean: Remove unused test on array
    • (PR#2789) Script: Generate changelog also bumps the npm version
    • ๐Ÿ“ฆ (PR#2791) Script: Properly change package.json when generating changelog
  • v2.23.0 Changes

    Introduce fc.uniqueArray as a replacement for fc.set [Code][Diff]

    ๐Ÿ”‹ Features

    • (PR#2616) Add new arbitrary called uniqueArray
    • ๐Ÿ—„ (PR#2784) Mark fc.set as deprecated

    ๐Ÿ›  Fixes

    • (PR#2786) CI: Stop creating the tags via action
    • (PR#2787) CI: Preserve Jest's cache accross runs
    • ๐Ÿ“š (PR#2750) Doc: Reorder assert overloads to render better documentation
    • ๐Ÿ—„ (PR#2785) Script: Mark changes for "deprecated" as feature
    • โœ… (PR#2766) Test: Add some tests onto ArrayArbitrary
    • โœ… (PR#2783) Test: Better coverage for selector and comparator in uniqueArray

  • v2.22.0 Changes

    Introduce the notion of size to avoid having to specify maxLength not being real constraints [Code][Diff]

    ๐Ÿ”‹ Features

    • 0๏ธโƒฃ (PR#2652) Stop defaulting maxLength when not provided on arrays
    • ๐Ÿ‘ (PR#2664) Support shrink of any length with stringOf
    • (PR#2666) Introduce the notion of size
    • (PR#2668) Introduce the notion of relative size
    • ๐Ÿ”ง (PR#2669) Add ability to configure a base size
    • ๐Ÿ‘ (PR#2670) Add built-in support for size to set
    • ๐Ÿ”ง (PR#2671) Add ability to configure constraints on dictionary
    • ๐Ÿ‘ (PR#2673) Add support for size onto object arbitraries
    • ๐Ÿ‘ (PR#2672) Add support for size onto string arbitraries
    • ๐Ÿ“œ (PR#2690) Add support for size onto sparseArray
    • ๐Ÿ“œ (PR#2699) Forward size of anything to underlying sparseArray
    • (PR#2701) Make ipV6 independent of size global settings
    • ๐Ÿ‘ (PR#2700) Add support for size on typed arrays
    • ๐Ÿ‘ (PR#2703) Add support for size onto lorem
    • ๐Ÿ‘ (PR#2712) Add support for sized webUrl and related
    • ๐Ÿ‘ (PR#2728) Add support for size on commands

    ๐Ÿ›  Fixes

    • (PR#2674) Bug: fc.object not applying constraint maxKeys at root
    • ๐Ÿ‘ (PR#2675) Bug: Don't shrink array with trailing hole when not supporting it
    • (PR#2709) Bug: Cap the max generated length with max length
    • (PR#2725) Bug: Pass length related constraints to internals in anything
    • 0๏ธโƒฃ (PR#2727) Bug: Pass size to any key and default value in anything
    • (PR#2639) CI: Properly define the tag when publishing versions
    • ๐Ÿ‘ (PR#2661) CI: Support fire emoji in changelog
    • ๐Ÿšš (PR#2660) Clean: Remove redundant computation in sparseArray
    • ๐Ÿ”จ (PR#2649) Refactor: Split maxLength into two facets inside the internal for arrays
    • โœ… (PR#2676) Test: Add more tests around shrinker of sparseArray
    • โœ… (PR#2702) Test: More stable test on StrictlyEqualSet
    • โœ… (PR#2710) Test: Add more tests on size related helpers
    • โœ… (PR#2729) Test: Stabilize tests of adapter by switching to Object.is

  • v2.21.0 Changes

    More performant arbitrary for arrays of unique values [Code][Diff]

    ๐Ÿ”‹ Features

    • ๐ŸŽ (PR#2600) Improve performance of set
    • (PR#2601) Selector-based compare for set
    • (PR#2602) Add types of operators for set
    • โšก๏ธ (PR#2603) Switch to optimized compare of set internally
    • ๐Ÿ— (PR#2617) Use relevant comparator to build anything

    ๐Ÿ›  Fixes

    • (PR#2594) CI: More verbose "please debug"
    • ๐Ÿ”€ (PR#2595) CI: More generic "please merge"
    • ๐Ÿ”€ (PR#2597) CI: Rewrite "please merge" with JavaScript
    • ๐Ÿ”€ (PR#2598) CI: Wrong ref retrieval in "please merge"
    • ๐Ÿ”€ (PR#2599) CI: Nicer log in "please merge"
    • (PR#2618) CI: Attempt to generate changelog from GitHub Actions
    • ๐Ÿ”Š (PR#2619) CI: Verbose fails when generating changelogs
    • ๐Ÿ— (PR#2620) CI: Attempt to fix action building changelog
    • (PR#2621) CI: Do not quote changes for changelog computation
    • (PR#2622) CI: Do not scope variables inside try/catch for changelog
    • ๐Ÿ”Š (PR#2623) CI: Report errors in logs instead of throwing when computing changelog
    • ๐Ÿšง (PR#2624) CI: Fix typo when building maintenance changelog
    • (PR#2625) CI: Last little changes to adapt auto changelog script
    • (PR#2626) CI: Add a publish version GitHub Action
    • (PR#2629) CI: Extract the script generating changelog
    • โšก๏ธ (PR#2630) CI: Create PRs with updated CHANGELOG.md from action
    • (PR#2631) CI: Import from fs and not fs/promises for action
    • (PR#2632) CI: Fill head with the name of the newly created branch
    • ๐Ÿ‘ (PR#2634) CI: Better naming for branches generated by actions
    • (PR#2636) CI: Some refinements for commit name of actions

  • v2.20.0 Changes

    Some refinements on object-related arbitraries [Code][Diff]

    ๐Ÿ”‹ Features

    • โš  (PR#2459) More precise typings for json and unicodeJson :warning:
    • ๐Ÿ—„ (PR#2461) Mark integer(min, max) as deprecated
    • โš  (PR#2460) More precise typing for jsonObject and related :warning:
    • ๐Ÿ—„ (PR#2463) Mark forked typings of pure-rand as deprecated
    • โš  (PR#2465) Warn users earlier for wrong params on integer :warning:
    • (PR#2490) depthFactor on arbitraries for objects
    • (PR#2464) Prepare rename of jsonObject into jsonValue

    ๐Ÿ›  Fixes

    • (PR#2496) Bug: No dangerous transform in codemod
    • ๐Ÿšš (PR#2480) Doc: Remove outdated dependabot's badge
    • ๐Ÿ”จ (PR#2493) Refactor: Simplify codemod to be more focused
    • โœ… (PR#2458) Test: Avoid Error tags in reports caused by some tests
    • โœ… (PR#2492) Test: Add some tests for codemods
    • โœ… (PR#2497) Test: Check codemod against several parsers
    • ๐Ÿ“š (PR#2472) Typo: Documentation fix for fc.oneof
    • ๐Ÿ“š (PR#2508) Typo: Fix various typos in the documentation

  • v2.19.0 Changes

    ๐Ÿšš Move to next generation of properties and unlock shrink on user definable examples [Code][Diff]

    ๐Ÿ”‹ Features

    • (PR#2391) Automatically shrink user defined examples
    • ๐Ÿ‘ (PR#2393) Support shrink on examples with unshrinkable parts
    • ๐Ÿ‘ (PR#2395) Better shrinker for arrays requested minLength
    • ๐Ÿ›  (PR#2423) Make fixed sized arrays as biased as tuples

    ๐Ÿ›  Fixes

    • ๐Ÿ”จ (PR#2371) Refactor: Declare API and converters for the next gen property
    • ๐Ÿ”จ (PR#2372) Refactor: Migrate runners to rely on next gen properties
    • ๐Ÿ”จ (PR#2373) Refactor: Migrate UnbiasedProperty to next gen property
    • ๐Ÿ”จ (PR#2374) Refactor: Migrate IgnoreEqualValuesProperty to next gen property
    • ๐Ÿ”จ (PR#2375) Refactor: Migrate TimeoutProperty to next gen property
    • ๐Ÿ”จ (PR#2376) Refactor: Migrate SkipAfterProperty to next gen property
    • ๐Ÿ”จ (PR#2387) Refactor: Produce next gen properties via decorateProperty
    • ๐Ÿ”จ (PR#2388) Refactor: Migrate property builders to produce next gen
    • (PR#2377) Typo: Typo in error thrown when invalid arguments passed to frequency
    • (PR#2394) Bug: Properly re-wrap values on shrink in properties
    • โœ… (PR#2399) Test: Ensure correct min/max for float32/64Arrays in tests
    • โœ… (PR#2402) Test: Reduce the maximal minLength requested in tests
    • ๐Ÿ”จ (PR#2415) Refactor: Update the way we use flags for mixedCase
    • ๐Ÿ”จ (PR#2416) Refactor: Do not favor numeric values over others in json arbitraries
    • โœ… (PR#2403) Test: Better asserts of shrinks by going deeper in path
    • (PR#2417) Bug: Unmapper function of hexa was not unmapping properly
    • ๐Ÿ‘ฏ (PR#2421) Bug: Accept already cloneable values as output of .map
    • โœ… (PR#2424) CI: Run tests with verbose flag enabled
    • (PR#2426) Doc: Document shrink of user definable values
    • โœ… (PR#2427) Test: Stop flakiness on legacy tests of float/double

  • v2.18.1 Changes

    ๐Ÿ›  Fix regression when mapper returns an already cloneable value [Code][Diff]

    ๐Ÿ›  Fixes

    • ๐Ÿ‘ฏ (PR#2421) Bug: Accept already cloneable values as output of .map