Skip to content

chore(deps): bump proptest-derive from 0.3.0 to 0.5.1#3826

Merged
jolestar merged 1 commit into
mainfrom
dependabot/cargo/proptest-derive-0.5.1
Nov 26, 2025
Merged

chore(deps): bump proptest-derive from 0.3.0 to 0.5.1#3826
jolestar merged 1 commit into
mainfrom
dependabot/cargo/proptest-derive-0.5.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2025

Copy link
Copy Markdown
Contributor

Bumps proptest-derive from 0.3.0 to 0.5.1.

Changelog

Sourced from proptest-derive's changelog.

0.5.1

New Additions

  • proptest::strategy::Union and proptest::strategy::TupleUnion now work with weighted strategies even if the sum of the weights overflows a u32.

  • Added SIGNALING_NAN strategy to generate signalling NaNs if supported by the platform. Note that this is not included in ANY.

Bug Fixes

  • Fixed values produced via prop_recursive() not shrinking from the recursive to the non-recursive case.

  • Fix that QUIET_NAN would generate signalling NaNs on most platforms on Rust 1.24.0 and later.

0.5.0

Potential Breaking Changes

  • There is a small chance of breakage if you've relied on the constraints put on type inference by the closure in leaf.prop_recursive(..) having a fixed output type. The output type is now any strategy that generates the same type as leaf. This change is intended to make working with recursive types a bit easier as you no longer have to use .boxed() inside the closure you pass to .prop_recursive(..).

  • There is a small chance of breakage wrt. type inference due to the introduction of SizeRange.

  • There is a small chance of breakage wrt. type inference due to the introduction of Probability.

  • BoxedStrategy and SBoxedStrategy are now newtypes instead of being type aliases. You will only experience breaking changes if you've directly used .boxed() and not (S)BoxedStrategy<T> but rather Box<Strategy<Value = Box<ValueTree<Value = T>>>>. The probability of breakage is very small, but still possible. The benefit of this change is that calling .boxed() or .sboxed() twice only boxes once. This can happen in situations where you have functions Strategy -> BoxedStrategy or with code generation.

  • proptest::char::ANY has been removed. Any remaining uses must be replaced by proptest::char::any().

  • proptest::strategy::Singleton has been removed. Any remaining uses must be replaced by proptest::strategy::Just.

... (truncated)

Commits
  • 39875e2 Version 0.5.1.
  • 20cd398 Update floating-support for Rust 1.24.0's new from_bits implementation.
  • 6dee486 Fix Recursive not shrinking to non-recursive case.
  • b107e3f Version 0.5.0.
  • 9a84f3e Remove the long-deprecated Singleton alias.
  • 2ad1d5b Clarify role of arbitrary.
  • dd09a1a Remove char::ANY.
  • 8404588 Merge pull request #40 from Centril/feature/recursion-improvements
  • da677e9 fix bug in osstring_invalid_string (windows)
  • add17f2 document changes to .prop_recursive(..)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [proptest-derive](https://github.com/proptest-rs/proptest) from 0.3.0 to 0.5.1.
- [Release notes](https://github.com/proptest-rs/proptest/releases)
- [Changelog](https://github.com/proptest-rs/proptest/blob/0.5.1/CHANGELOG.md)
- [Commits](proptest-rs/proptest@proptest-derive-0.3.0...0.5.1)

---
updated-dependencies:
- dependency-name: proptest-derive
  dependency-version: 0.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Nov 25, 2025
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 25, 2025
@dependabot dependabot Bot requested a review from steelgeek091 as a code owner November 25, 2025 18:13
@dependabot dependabot Bot added the rust Pull requests that update Rust code label Nov 25, 2025
@vercel

vercel Bot commented Nov 25, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
rooch-portal-v2.1 Ready Ready Preview Comment Nov 25, 2025 6:18pm
test-portal Ready Ready Preview Comment Nov 25, 2025 6:18pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
rooch Ignored Ignored Preview Nov 25, 2025 6:18pm

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
cargo/proptest-derive 0.5.1 UnknownUnknown

Scanned Files

  • Cargo.lock

@jolestar jolestar merged commit 3069868 into main Nov 26, 2025
19 checks passed
@jolestar jolestar deleted the dependabot/cargo/proptest-derive-0.5.1 branch November 26, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant