Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency fast-check to v3 #19

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 18, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fast-check ^2.17.0 -> ^3.0.0 age adoption passing confidence

Release Notes

dubzzz/fast-check

v3.9.0

Compare Source

Finer definition of act to detect race conditions
[Code][Diff]

Features

  • (PR#​3889) Add ability to customize act per call
  • (PR#​3890) Add ability to customize act per wait

Fixes

  • (PR#​3892) Bug: Cap timeout values to 0x7fff_ffff

v3.8.3

Compare Source

Ensure scheduled models can wait everything needed
[Code][Diff]

Fixes

  • (PR#​3887) Bug: Always schedule models until the end
  • (PR#​3880) CI: Stabilize tests on jsonValue
  • (PR#​3876) Clean: Drop legacy documentation
  • (PR#​3875) Doc: First blog post on docusaurus switch

v3.8.2

Compare Source

Rework documentation
[Code][Diff]

Fixes

  • (PR#​3780) CI: Do not relaunch build on new tag
  • (PR#​3792) CI: Remove parse5 when checking types
  • (PR#​3804) CI: Build documentation with LFS enabled
  • (PR#​3800) Doc: Add "advanced" part of the documentation
  • (PR#​3803) Doc: Update our-first-property-based-test.md: typo, punctuation
  • (PR#​3828) Doc: Fix typos in docs
  • (PR#​3820) Doc: First iteration on race conditions tutorial
  • (PR#​3834) Doc: Rework intro of race condition tutorial
  • (PR#​3836) Doc: Merge category and intro for race condition
  • (PR#​3837) Doc: Replace categories by real pages
  • (PR#​3838) Doc: Add video explaining race condition in UI
  • (PR#​3842) Doc: Note about solving race conditions
  • (PR#​3843) Doc: Better colors for dark theme
  • (PR#​3850) Doc: Points to projects in our ecosystem
  • (PR#​3852) Doc: List some bugs found thanks to fast-check
  • (PR#​3860) Doc: Use GitHub logo instead of label
  • (PR#​3858) Doc: Rework homepage page of fast-check.dev
  • (PR#​3863) Doc: Rework display of the homepage for small screens
  • (PR#​3864) Doc: Properly display the quick nav buttons
  • (PR#​3871) Doc: Update all links to new documentation
  • (PR#​3867) Doc: Create proper images in website/
  • (PR#​3872) Doc: Reference image from LFS in README
  • (PR#​3835) Test: Add tests for snippets in the website

v3.8.1

Compare Source

New website for the documentation
[Code][Diff]

Fixes

  • (PR#​3723) CI: Switch to docusaurus for the documentation
  • (PR#​3729) CI: Pre-setup devcontainer with GH Actions
  • (PR#​3728) CI: Change gh-pages deploy process
  • (PR#​3732) CI: Move back to github-pages-deploy-action
  • (PR#​3735) CI: Add gtag for analytics
  • (PR#​3744) CI: Drop website build on build:all
  • (PR#​3751) CI: Update baseUrl on the ain documentation
  • (PR#​3754) CI: Drop version from website
  • (PR#​3754) CI: Drop version from website
  • (PR#​3759) CI: Drop the need for a branch on doc
  • (PR#​3775) CI: Publish all packages in one workflow
  • (PR#​3724) Doc: Add fuzz keywords
  • (PR#​3734) Doc: Add search capability to the doc
  • (PR#​3738) Doc: Fix broken links to api-reference
  • (PR#​3745) Doc: Document core building blocks in new documentation
  • (PR#​3750) Doc: More details into tips/larger-entries...
  • (PR#​3753) Doc: Add some more configuration tips in the documentation
  • (PR#​3755) Doc: Update all links to target fast-check.dev
  • (PR#​3757) Doc: Quick a11y pass on the documentation
  • (PR#​3758) Doc: Move missing configuration parts to new doc
  • (PR#​3760) Doc: Link directly to the target page not to 30x ones
  • (PR#​3761) Doc: Fix broken links in new doc
  • (PR#​3774) Security: Attach provenance to the packages
  • (PR#​3719) Script: Ensure proper package definition

v3.8.0

Compare Source

Introduce new gen arbitrary
[Code][Diff]

Features

Fixes


v3.7.1

Compare Source

Safer declaration of types in package.json
[Code][Diff]

Fixes

v3.7.0

Compare Source

Better error reports without duplicated messages
[Code][Diff]

Features

  • (PR#​3638) Stop repeating the error twice in reports

Fixes

  • (PR#​3637) CI: Update ts-jest configuration files

v3.6.3

Compare Source

Fix broken replay based on path
[Code][Diff]

Fixes

  • (PR#​3617) Bug: Fix broken replay based on path
  • (PR#​3583) CI: Do not run publish workflow of fast-check for vitest
  • (PR#​3616) CI: Always build against latest node

v3.6.2

Compare Source

Still work in fake timer contexts
[Code][Diff]

Fixes

  • (PR#​3571) Bug: Resist to fake timers in interruptAfterTimeLimit
  • (PR#​3572) Bug: Resist to fake timers in timeout
  • (PR#​3564) Performance: Drop bailout linked to toss

v3.6.1

Compare Source

Some more performance improvements
[Code][Diff]

Fixes

  • (PR#​3563) Performance: Mutate rng inplace in tosser

v3.6.0

Compare Source

Slightly faster execution of properties
[Code][Diff]

Features

  • (PR#​3547) Slightly faster thanks to pure-rand v6
  • (PR#​3552) Do not wrap stream when dropping 0 items
  • (PR#​3551) Faster implementation of internal function runIdToFrequency
  • (PR#​3553) Drop useless internal stream conversions
  • (PR#​3554) Tosser must immediately produce values

Fixes

  • (PR#​3556) CI: Enable sourceMap in unpublished for coverage
  • (PR#​3512) Script: Add --cache option to Prettier
  • (PR#​3523) Script: Initialize default devcontainer
  • (PR#​3524) Script: Install and setup nvs inside Dockerfile

v3.5.1

Compare Source

Still work in fake timer contexts
[Code][Diff]

Fixes

  • (PR#​3571) Bug: Resist to fake timers in interruptAfterTimeLimit
  • (PR#​3572) Bug: Resist to fake timers in timeout

v3.5.0

Compare Source

Interrupt running tasks when interruptAfterTimeLimit exceeded
[Code][Diff]

Features

  • (PR#​3507) Interrupt predicates when interruptAfterTimeLimit
  • (PR#​3508) Mark interrupted runs without any success as failures

v3.4.0

Compare Source

Better handling of timeout with beforeEach and afterEach
[Code][Diff]

Features

  • (PR#​3464) No timeout for beforeEach or afterEach

Fixes

  • (PR#​3428) Bug: Avoid stack overflow during shrinking of tuples
  • (PR#​3432) Bug: Avoid stack overflow during shrinking of arrays
  • (PR#​3354) CI: Ignore version bump checks on publish
  • (PR#​3379) CI: Fix configuration for rollup esm tests
  • (PR#​3394) CI: Limit scope of "All ...bump declared"
  • (PR#​3393) CI: Run tests against Node 18.x
  • (PR#​3446) CI: Drop circular deps for dev topo builds
  • (PR#​3417) Clean: Drop v2 to v3 codemods from the repository
  • (PR#​3351) Doc: Update changelogs following backports
  • (PR#​3458) Doc: Document how to use context in examples
  • (PR#​3476) Doc: Revamp sponsoring section to show GitHub Sponsors
  • (PR#​3473) Funding: Re-order links in funding section
  • (PR#​3427) Refactor: Expose shrinker of tuples internally
  • (PR#​3468) Script: Ensure we don't release workspace-based packages

v3.3.0

Compare Source

Expose webPath arbitrary
[Code][Diff]

Features

  • (PR#​3299) Explicitly declare typings for constraints on date
  • (PR#​3300) Expose an url path builder called webPath

Fixes

  • (PR#​3328) CI: Drop netlify related code and "please " actions
  • (PR#​3298) Doc: Document default values in the JSDoc
  • (PR#​3316) Funding: Add link to GitHub sponsors in funding
  • (PR#​3301) Test: Poisoning checks compatible with watch mode
  • (PR#​3330) Test: Make sure poisoning spec never forget one global

v3.2.0

Compare Source

Stop copying the Error into the thrown one but use cause when asked too
[Code][Diff]

Features

  • (PR#​2965) Attach the original Error as a cause of thrown one
  • (PR#​3224) Attach real errors to internal failures

Fixes

  • (PR#​3225) CI: Publish @fast-check/poisoning on CodeSandbox's builds
  • (PR#​3260) Doc: Sync with current path
  • (PR#​3264) Doc: Improve grammar in HowItWorks
  • (PR#​3292) Test: Stabilize tests of SlicedBasedGenerator

v3.1.4

Compare Source

Increased resiliency to poisoned globals
[Code][Diff]

Fixes

  • (PR#​3172) Bug: Fix some remaining accesses to global properties
  • (PR#​3165) Bug: Resist to poisoning of top-level types
  • (PR#​3184) CI: Require renovate to always try to dedupe
  • (PR#​3186) CI: Adapt configuration for new ts-jest
  • (PR#​3194) CI: Attempt to fix "please deploy"
  • (PR#​3196) CI: Build every package for "please deploy"
  • (PR#​3208) CI: Better PRs for changelogs cross packages
  • (PR#​3156) Doc: Add missing changesets in changelog of 2.21.0
  • (PR#​3185) Refactor: Attach a depth onto globals internally
  • (PR#​3157) Script: Less verbose description for PRs of CHANGELOG
  • (PR#​3174) Test: Add tests dropping all globals
  • (PR#​3183) Test: Add some more type related tests for oneof
  • (PR#​3076) Test: Check arbitraries do not cause any poisoning
  • (PR#​3205) Test: Add missing "typecheck" scripts on packages

v3.1.3

Compare Source

More resilient to external poisoning on all arbitraries
[Code][Diff]

Fixes

  • (PR#​3094) Bug: Make numeric arbitraries resistant to poisoning
  • (PR#​3096) Bug: Make single char arbitraries resistant to poisoning
  • (PR#​3097) Bug: Make simple combinators arbitraries resistant to poisoning
  • (PR#​3098) Bug: Make array combinators arbitraries resistant to poisoning
  • (PR#​3099) Bug: Make multi chars arbitraries resistant to poisoning
  • (PR#​3102) Bug: Fix safeApply never calling original apply
  • (PR#​3103) Bug: Make object arbitraries resistant to poisoning
  • (PR#​3104) Bug: Make typed arrays arbitraries resistant to poisoning
  • (PR#​3106) Bug: Make recursive arbitraries resistant to poisoning
  • (PR#​3107) Bug: Make function arbitraries resistant to poisoning
  • (PR#​3108) Bug: Make complex strings arbitraries resistant to poisoning
  • (PR#​3143) Bug: Make webFragments/Segment/QueryParameters resistant to poisoning
  • (PR#​3152) Bug: Protect string generators against poisoning
  • (PR#​3101) CI: Do not suggest private packages during version bumps
  • (PR#​3113) CI: Consider ⚡️ aka zap PRs as fixes for changelog
  • (PR#​3111) CI: Try to configure renovate to open more PRs
  • (PR#​3150) CI: Change update strategy for renovate
  • (PR#​3151) CI: Update bump strategy of renovate
  • (PR#​3141) Clean: Drop unused dependencies
  • (PR#​3100) Performance: Drop unneeded copy for full custom uniqueArray
  • (PR#​3105) Performance: Faster implementation for safeApply
  • (PR#​3112) Performance: Speed-up all safe versions built-in methods
  • (PR#​3109) Refactor: Extract and share code computing safe versions for built-ins
  • (PR#​3154) Script: More verbose CHANGELOG script and continue on failure

v3.1.2

Compare Source

More resilient to external poisoning on assert and property
[Code][Diff]

Fixes

  • (PR#​3082) Bug: Protect assert from poisoned Math or Date
  • (PR#​3086) Bug: Resist to poisoning of Object
  • (PR#​3087) Bug: Resist to poisoning of Function/Array/String
  • (PR#​3089) Bug: Clear poisoning instability in filter, map, chain
  • (PR#​3079) CI: Auto-cancel previous runs on new commits
  • (PR#​3088) Script: Add script to run e2e tests in debug mode
  • (PR#​3092) Script: Better handle new projects in changelog generator
  • (PR#​3081) Test: Add some poisoning e2e for fast-check
  • (PR#​3085) Test: Check poisoning against noop arbitrary (for now)

v3.1.1

Compare Source

Better package.json definition and __proto__ related fixes
[Code][Diff]

Fixes

  • (PR#​3066) Bug: Export package.json
  • (PR#​3070) Bug: Support __proto__ as key in record
  • (PR#​3068) Test: Fix test comparing stringify and JSON.stringify
  • (PR#​3069) Test: Fix tests on record wrongly manipulating __proto__

v3.1.0

Compare Source

Generate more dangerous strings by default
[Code][Diff]

Features

  • (PR#​2975) Sanitize constraints used internally by "oneof" as much as possible
  • (PR#​3048) Add experimental "custom slices" constraint on array
  • (PR#​3043) Generate dangerous strings by default

Fixes

  • (PR#​3049) Bug: Fix out-of-range in SlicedBasedGenerator
  • (PR#​3050) Bug: Allow strange keys as keys of dictionary
  • (PR#​3051) Bug: Better rounding in statistics
  • (PR#​3052) CI: Add missing Ubuntu env for e2e
  • (PR#​3047) Refactor: Implement sliced based generator for arrays
  • (PR#​3059) Script: Add links to buggy PRs in changelog PR
  • (PR#​3060) Script: Only commit package.json corresponding to impacted CHANGELOGs

v3.0.1

Compare Source

Basic setup for monorepo
[Code][Diff]

Fixes

  • (PR#​2986) CI: Switch to Yarn 3 and simple monorepo
  • (PR#​2987) CI: Simplify test-bundle script following merge of Yarn 3
  • (PR#​2988) CI: Switch to yarn workspace * instead of cd packages/*
  • (PR#​2990) CI: Replace npx by yarn dlx
  • (PR#​2991) CI: Setup prettier at the root of the project
  • (PR#​2992) CI: Drop unneeded benchmarks
  • (PR#​2993) CI: Fix script not using the right path
  • (PR#​2994) CI: Fix gh-pages publication follwoing move to monorepo
  • (PR#​2995) CI: Clean-up .gitignore
  • (PR#​2996) CI: Move eslint at top level
  • (PR#​2989) CI: Make fast-check self reference itself as a dev dependency
  • (PR#​2997) CI: Define top-level script to simplify build and test
  • (PR#​2999) CI: Setup for yarn version check
  • (PR#​3001) CI: Make use of yarn version for generate changelog
  • (PR#​3003) CI: Fix usages of yarn version when generating changelog
  • (PR#​3005) CI: Move anything package related next to its package
  • (PR#​3008) CI: Check the need for dedupe for each run
  • (PR#​3010) CI: Cross-jobs caching for yarn
  • (PR#​3011) CI: Enhance and document version related rules for PRs
  • (PR#​3014) CI: Run tests against trimmed versions of the packages
  • (PR#​3015) CI: Make fast-check's tests rely on its own build
  • (PR#​3017) CI: Faster workflow of GH Actions
  • (PR#​3023) CI: Factorize test jobs via matrix of GH Actions
  • (PR#​3024) CI: Drop es-check related jobs
  • (PR#​3032) CI: Handle monorepo in generate changelog
  • (PR#​3034) CI: Better links in PR generating changelog
  • (PR#​3037) CI: Adapt build script to publish any package
  • (PR#​3039) CI: Also commit .yarn/versions with changelogs
  • (PR#​3000) Doc: Default to readme from packages/fast-check
  • (PR#​3006) Doc: Start following all-contributors specification
  • (PR#​3007) Doc: Rework the "bug discovered with fast-check" section of the README
  • (PR#​3031) Doc: Add missing README files on bundle related tests
  • (PR#​2982) Move: Move example/ to examples/
  • (PR#​2983) Move: Move part of test/ into packages/test-bundle-*
  • (PR#​2984) Move: Move part of source code into packages/fast-check
  • (PR#​2977) Refactor: Simplify logic to read constraints for commands
  • (PR#​3016) Test: Check SHA1 of produced bundle in E2E tests

v3.0.0

Compare Source

Easier and more expressive thanks to the full support of size and a new and extensible API for custom arbitraries
[Code][Diff]

This new major of fast-check is:

  • extensible: extending the framework with custom arbitraries made easy
  • expressive properties: write properties corresponding to specs without dealing with internals of the library (more)
  • recursive structures: better native handling of recursive structures without any tweaks around internals
  • unified signatures: unify signatures cross-arbitraries (more)

Breaking changes

  • (PR#​2927) Remove deprecated signatures of fc.array
  • (PR#​2929) Remove deprecated signatures of fc.string
  • (PR#​2930) Remove deprecated signatures of fc.*subarray
  • (PR#​2931) Remove deprecated signatures of fc.commands
  • (PR#​2932) Remove deprecated signatures of fc.option
  • (PR#​2933) Remove deprecated signatures of fc.json
  • (PR#​2934) Remove deprecated signatures of fc.lorem
  • (PR#​2935) Drop support for TypeScript 3.2 (min ≥4.1)
  • (PR#​2928) Rely on new implementations and APIs for fc.float/fc.double
  • (PR#​2938) Remove fully deprecated arbitraries
  • (PR#​2939) Remove deprecated signatures of fc.integer
  • (PR#​2940) Get rid off genericTuple (replaced by tuple)
  • (PR#​2941) Remove forked typings for pure-rand
  • (PR#​2942) Change the API of a property to rely on the modern one
  • (PR#​2944) Switch to the new API of Arbitrary and remove old variants
  • (PR#​2945) Rename NextValue into Value
  • (PR#​2949) No depthFactor specified means: use defaulted configuration
  • (PR#​2951) Stop defaulting maxKeys and maxDepth on object arbitraries
  • (PR#​2952) Stop defaulting maxCount on lorem
  • (PR#​2954) Stop defaulting defaultSizeToMaxWhenMaxSpecified to true
  • (PR#​2959) Change the output of Property::run to return the original error
  • (PR#​2960) Remove frequency now replaced by oneof
  • (PR#​2970) Rename depthFactor into depthSize and invert numeric

You may refer to our migration guide in case of issue: https://github.com/dubzzz/fast-check/blob/main/MIGRATION\_2.X_TO\_3.X.md

Features

  • (PR#​2937) Adopt variadic tuples for signatures of clone
  • (PR#​2936) Adopt variadic tuples for signatures of property
  • (PR#​2950) Add the ability to define use max as depth factor
  • (PR#​2953) Extend usage of defaultSizeToMaxWhenMaxSpecified to depth
  • (PR#​2955) Add support for weighted arbitraries in oneof
  • (PR#​2962) Forward the original Error into RunDetails
  • (PR#​2956) Add big int typed arrays arbitraries
  • (PR#​2968) Better typings for letrec

Fixes

  • (PR#​2963) Bug: Allow property to intercept thrown symbols
  • (PR#​2925) CI: Add type-checking only step and script
  • (PR#​2923) CI: Format all the files not only TS ones
  • (PR#​2964) CI: Check the generated lib against ES standard
  • (PR#​2918) Doc: Update "Question" template to request users to prefer "Discussions"
  • (PR#​2920) Doc: Add some statistics for jsonValue in the documentation
  • (PR#​2966) Doc: Fix link to timeout section in tips doc
  • (PR#​2919) Refactor: Replace usages of set by uniqueArray
  • (PR#​2921) Refactor: Replace deprecated usages of integer by constraint-based ones
  • (PR#​2924) Refactor: Move ts-jest types related helpers internally
  • (PR#​2946) Refactor: Clean src thanks to NextArbitrary
  • (PR#​2948) Refactor: Adapting some code in anything thanks to TODO
  • (PR#​2971) Script: Support breaking changes in generated CHANGELOG
  • (PR#​2973) Script: Support typing related PRs in CHANGELOG
  • (PR#​2943) Test: Rewrite tests on commands based on NextArbitrary
  • (PR#​2947) Test: Remove "Next" from test helpers
  • (PR#​2961) Test: Ensure fc.sample can run against properties and arbitraries

v2.25.0

Compare Source

v2.24.0: Add a way to wait only for minimal stuff with fc.scheduler

Compare Source

[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: Add missing "types" to "exports" for all dependencies

Compare Source

v2.23.1: Add missing "types" to "exports

Compare Source

v2.23.0

Compare Source

v2.22.0

Compare Source

v2.21.0

Compare Source

v2.20.0

Compare Source

v2.19.0: Move to next generation of properties and unlock shrink on user definable examples

Compare Source

[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

Compare Source

v2.18.0

Compare Source

v2.17.1

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the deps Related to dependencies of the library label Jun 18, 2022
@jo3-l jo3-l closed this Jun 2, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Jun 2, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/fast-check-3.x branch June 2, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps Related to dependencies of the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant