Skip to content

chore(deps): Bump rand from 0.9.5 to 0.10.3 in /rust - #197

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust/rand-0.10.3
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rust/rand-0.10.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Bumps rand from 0.9.5 to 0.10.3.

Changelog

Sourced from rand's changelog.

[0.10.3] — 2026-09-20

Fixes

  • Fix WeightedIndex panic when the sum of float weights is infinite; return Error::Overflow instead (#1808)
  • Fix spurious Error::NonFinite from Uniform::new_inclusive on large finite float ranges such as 0.0..=f64::MAX (#1821)
  • Fix possible panic due to sampling a deserialized Uniform<char> (#1831)

Changes

  • Report exact remaining lengths from WeightedIndex::weights() and reduce overhead when reading weights (#1838)

#1808: rust-random/rand#1808 #1821: rust-random/rand#1821 #1831: rust-random/rand#1831 #1838: rust-random/rand#1838

[0.10.2] — 2026-07-02

Fixes

  • Fix possible memory safety violation due to deserialization of UniformChar from bad source (#1790)

Changes

  • Document required output order of fn partial_shuffle and apply #[must_use] (#1769)
  • Avoid usage of unsafe in contexts where non-local memory corruption could invalidate contract (#1791)

#1769: rust-random/rand#1769 #1790: rust-random/rand#1790 #1791: rust-random/rand#1791

[0.10.1] — 2026-02-11

This release includes a fix for a soundness bug; see #1763.

Changes

  • Document panic behavior of make_rng and add #[track_caller] (#1761)
  • Deprecate feature log (#1763)

#1761: rust-random/rand#1761 #1763: rust-random/rand#1763

[0.10.0] - 2026-02-08

Changes

  • The dependency on rand_chacha has been replaced with a dependency on chacha20. This changes the implementation behind StdRng, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones in chacha20 instead of rand_chacha (#1642).
  • Rename fns IndexedRandom::choose_multiple -> sample, choose_multiple_array -> sample_array, choose_multiple_weighted -> sample_weighted, struct SliceChooseIter -> IndexedSamples and fns IteratorRandom::choose_multiple -> sample, choose_multiple_fill -> sample_fill (#1632)
  • Use Edition 2024 and MSRV 1.85 (#1653)
  • Let Fill be implemented for element types, not sliceable types (#1652)
  • Fix OsError::raw_os_error on UEFI targets by returning Option<usize> (#1665)
  • Replace fn TryRngCore::read_adapter(..) -> RngReadAdapter with simpler struct RngReader (#1669)
  • Remove fns SeedableRng::from_os_rng, try_from_os_rng (#1674)
  • Remove Clone support for StdRng, ReseedingRng (#1677)
  • Use postcard instead of bincode to test the serde feature (#1693)

... (truncated)

Commits
  • 9e7d328 Prepare rand 0.10.3 (#1840)
  • f73ce74 Optimize WeightedIndex weight lookup and iteration (#1838)
  • ef9e044 Avoid panic from deserialized Uniform\<char> where range == 0 (#1831)
  • c994eb1 docs: fix angle unit in quick start example (#1839)
  • 33dea4f Test that WeightedIndex rejects INFINITY with Error::Overflow (#1822)
  • 94c9078 Fix Uniform::new_inclusive overflow on large finite float ranges (#1821)
  • bb1262f Use Xoshiro256PlusPlus in examples/rayon-monte-carlo.rs (#1805)
  • 521fab6 Stop pinning dependencies (#1820)
  • 3f7c433 Stop pinning dependencies
  • cf4f73e sample_efraimidis_spirakis: error on more than amount non-finite weights (#1814)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 20, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/rust/rand-0.10.3 branch from c456c68 to ec69805 Compare October 20, 2026 06:39
athvin pushed a commit that referenced this pull request Oct 20, 2026
Supersedes #191, #192, #193, #197, #198, #199, #200. Three sibling
dependabot PRs are NOT included because they cannot resolve — see below.

CI actions:
- sccache-action 0.0.9 -> 0.0.11 (5 call sites in rust.yml)
- taiki-e/install-action 2.87.28 -> 2.87.29

Rust (#193 rust-minor-patch group, #197):
- duckdb 1.10505.0 -> 1.10506.1 (exact pin), tokio -> 1.54.0,
  unicode-normalization -> 0.1.26
- rand 0.9 -> 0.10

rand 0.10 renamed the core trait: `RngCore` is gone from the crate root and
`Rng` now carries `fill_bytes` (the old extension trait became `RngExt`). Two
sites broke, both minting secrets — the API-key secret in `pg.rs` and the
webhook HMAC secret in `lib.rs`. Both are `use rand::RngCore` ->
`use rand::Rng`; the RNG itself is unchanged. Verified against rand 0.10.3's
source that `ThreadRng` is still ChaCha12-backed and `TryCryptoRng`, so the
cryptographic property these two secrets depend on is preserved.

Frontend (#198 group of 22, #199, #200):
- next 16.3.8 -> 16.4.2, react/react-dom 19.3.0 -> 19.3.1, eslint -> 10.13.0,
  zod -> 4.6.7, @anthropic-ai/sdk -> 0.135.0, lucide-react -> 1.58.0 and the
  rest of the minor-patch group
- motion 13.4.4 -> 14.3.0, @testing-library/jest-dom ^6.9.1 -> ^7.0.1

`@playwright/test` stays pinned at 1.63.0 (it must equal the docker tag) and
`typescript` stays at `5.x`; neither was in any of the bumps.

Not included, both blocked on an external pin rather than on anything here:

- #195 arrow 58 -> 59. The `duckdb` crate depends on arrow 58.4.0 even at
  1.10506.1, and DuckDB's Arrow batches ARE the workspace Arrow type — e.g.
  er-entities returns `::duckdb::Result<Vec<::arrow::record_batch::RecordBatch>>`.
  Putting the workspace on 59 while duckdb emits 58 stops that type-checking;
  pr/195's own lock resolves three arrow versions (57.3.1/58.4.0/59.3.1).
  Needs `duckdb` on arrow 59 first.
- #194 / #196 datafusion-common and datafusion-expr 52 -> 55. er-sql-check
  depends on both datafusion and `ff-analysis`, and feather-flow (git tag
  er-entity-v0.1.4) pins `datafusion-* = "52"`, a caret requirement that
  cannot unify with 55. Needs a feather-flow tag on datafusion 55 first.

No MSRV change is needed: duckdb 1.10506.1 declares rust-version 1.88, and
#203 already raised the workspace to 1.88 (with the 10 let-chain rewrites
clippy then asks for, across er-sql-check, er-golden, er-eval and
er-entity-gen). This branch leaves that line alone.

Rebased onto #207, which fixes the runner disk exhaustion that had the `test`
job failing on main since #188 — unrelated to these bumps and reproducible on
main with duckdb 1.10505.0.

Verified locally: frontend `pnpm check` 164 unit tests pass and a fresh-server
e2e run is 324 passed; `make check` 263 tests pass with no genuine failures.
Note that `make frontend` runs `test:e2e` rather than `test:e2e:fresh`, so it
can adopt a stale server and report phantom failures — clean main does the
same, with a different set of grow.spec.ts tests failing each run.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
athvin pushed a commit that referenced this pull request Oct 20, 2026
Supersedes #191, #192, #193, #197, #198, #199, #200. Three sibling
dependabot PRs are NOT included because they cannot resolve — see below.

CI actions:
- sccache-action 0.0.9 -> 0.0.11 (5 call sites in rust.yml)
- taiki-e/install-action 2.87.28 -> 2.87.29

Rust (#193 rust-minor-patch group, #197):
- duckdb 1.10505.0 -> 1.10506.1 (exact pin), tokio -> 1.54.0,
  unicode-normalization -> 0.1.26
- rand 0.9 -> 0.10

rand 0.10 renamed the core trait: `RngCore` is gone from the crate root and
`Rng` now carries `fill_bytes` (the old extension trait became `RngExt`). Two
sites broke, both minting secrets — the API-key secret in `pg.rs` and the
webhook HMAC secret in `lib.rs`. Both are `use rand::RngCore` ->
`use rand::Rng`; the RNG itself is unchanged. Verified against rand 0.10.3's
source that `ThreadRng` is still ChaCha12-backed and `TryCryptoRng`, so the
cryptographic property these two secrets depend on is preserved.

Frontend (#198 group of 22, #199, #200):
- next 16.3.8 -> 16.4.2, react/react-dom 19.3.0 -> 19.3.1, eslint -> 10.13.0,
  zod -> 4.6.7, @anthropic-ai/sdk -> 0.135.0, lucide-react -> 1.58.0 and the
  rest of the minor-patch group
- motion 13.4.4 -> 14.3.0, @testing-library/jest-dom ^6.9.1 -> ^7.0.1

@playwright/test stays pinned at 1.63.0 (it must equal the docker tag) and
typescript stays at 5.x; neither was in any of the bumps.

Also raises the lint and ducklake-e2e job timeouts from 30 to 45 minutes.
Bumping duckdb invalidates the sccache/rust-cache, so both jobs rebuild the
bundled duckdb C++ tree from scratch. On that cold run lint measured 30+ min
and was cancelled mid-job with every gate already green — fmt, clippy with
-D warnings, er-entity verify and rustdoc all passed, and only the step the
workflow itself labels advisory (the OpenAPI breaking-change diff, which ends
in `|| true`) was cut off. ducklake-e2e finished at 29 min, one minute inside
the old limit. That margin was luck, and any future duckdb bump hits the same
wall.

Not included, both blocked on an external pin rather than on anything here:

- #195 arrow 58 -> 59. The `duckdb` crate depends on arrow 58.4.0 even at
  1.10506.1, and DuckDB's Arrow batches ARE the workspace Arrow type — e.g.
  er-entities returns `::duckdb::Result<Vec<::arrow::record_batch::RecordBatch>>`.
  Putting the workspace on 59 while duckdb emits 58 stops that type-checking;
  pr/195's own lock resolves three arrow versions (57.3.1/58.4.0/59.3.1).
  Needs `duckdb` on arrow 59 first.
- #194 / #196 datafusion-common and datafusion-expr 52 -> 55. er-sql-check
  depends on both datafusion and `ff-analysis`, and feather-flow (git tag
  er-entity-v0.1.4) pins `datafusion-* = "52"`, a caret requirement that
  cannot unify with 55. Needs a feather-flow tag on datafusion 55 first.

No MSRV change is needed: duckdb 1.10506.1 declares rust-version 1.88, and
#203 already raised the workspace to 1.88 along with the 10 let-chain rewrites
clippy then asks for. This branch leaves that line alone.

Rebased onto #207, which fixes the runner disk exhaustion that had the `test`
job failing on main since #188 — unrelated to these bumps and reproducible on
main with duckdb 1.10505.0.

Verified: CI green on the previous push for test, DuckLake e2e, cargo-deny,
semgrep, pnpm audit, frontend lint/types/unit and the playwright tier.
Locally, frontend `pnpm check` passes 164 unit tests and a fresh-server e2e run
is 324 passed. Note that `make frontend` runs `test:e2e` rather than
`test:e2e:fresh`, so it can adopt a stale server and report phantom failures —
clean main does the same, with a different set of grow.spec.ts tests failing
each run.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/rust/rand-0.10.3 branch from ec69805 to 7f83ea2 Compare October 20, 2026 08:24
athvin pushed a commit that referenced this pull request Oct 20, 2026
Supersedes #191, #192, #193, #197, #198, #199, #200. Three sibling
dependabot PRs are NOT included because they cannot resolve — see below.

CI actions:
- sccache-action 0.0.9 -> 0.0.11 (5 call sites in rust.yml)
- taiki-e/install-action 2.87.28 -> 2.87.29

Rust (#193 rust-minor-patch group, #197):
- duckdb 1.10505.0 -> 1.10506.1 (exact pin), tokio -> 1.54.0,
  unicode-normalization -> 0.1.26
- rand 0.9 -> 0.10

rand 0.10 renamed the core trait: `RngCore` is gone from the crate root and
`Rng` now carries `fill_bytes` (the old extension trait became `RngExt`). Two
sites broke, both minting secrets — the API-key secret in `pg.rs` and the
webhook HMAC secret in `lib.rs`. Both are `use rand::RngCore` ->
`use rand::Rng`; the RNG itself is unchanged. Verified against rand 0.10.3's
source that `ThreadRng` is still ChaCha12-backed and `TryCryptoRng`, so the
cryptographic property these two secrets depend on is preserved.

Frontend (#198 group of 22, #199, #200):
- next 16.3.8 -> 16.4.2, react/react-dom 19.3.0 -> 19.3.1, eslint -> 10.13.0,
  zod -> 4.6.7, @anthropic-ai/sdk -> 0.135.0, lucide-react -> 1.58.0 and the
  rest of the minor-patch group
- motion 13.4.4 -> 14.3.0, @testing-library/jest-dom ^6.9.1 -> ^7.0.1

@playwright/test stays pinned at 1.63.0 (it must equal the docker tag) and
typescript stays at 5.x; neither was in any of the bumps.

Also raises the lint and ducklake-e2e job timeouts from 30 to 45 minutes.
Bumping duckdb invalidates the sccache/rust-cache, so both jobs rebuild the
bundled duckdb C++ tree from scratch. On that cold run lint measured 30+ min
and was cancelled mid-job with every gate already green — fmt, clippy with
-D warnings, er-entity verify and rustdoc all passed, and only the step the
workflow itself labels advisory (the OpenAPI breaking-change diff, which ends
in `|| true`) was cut off. ducklake-e2e finished at 29 min, one minute inside
the old limit. That margin was luck, and any future duckdb bump hits the same
wall.

Not included, both blocked on an external pin rather than on anything here:

- #195 arrow 58 -> 59. The `duckdb` crate depends on arrow 58.4.0 even at
  1.10506.1, and DuckDB's Arrow batches ARE the workspace Arrow type — e.g.
  er-entities returns `::duckdb::Result<Vec<::arrow::record_batch::RecordBatch>>`.
  Putting the workspace on 59 while duckdb emits 58 stops that type-checking;
  pr/195's own lock resolves three arrow versions (57.3.1/58.4.0/59.3.1).
  Needs `duckdb` on arrow 59 first.
- #194 / #196 datafusion-common and datafusion-expr 52 -> 55. er-sql-check
  depends on both datafusion and `ff-analysis`, and feather-flow (git tag
  er-entity-v0.1.4) pins `datafusion-* = "52"`, a caret requirement that
  cannot unify with 55. Needs a feather-flow tag on datafusion 55 first.

No MSRV change is needed: duckdb 1.10506.1 declares rust-version 1.88, and
clippy then asks for. This branch leaves that line alone.

Rebased onto #207, which fixes the runner disk exhaustion that had the `test`
job failing on main since #188 — unrelated to these bumps and reproducible on
main with duckdb 1.10505.0.

Verified: CI green on the previous push for test, DuckLake e2e, cargo-deny,
semgrep, pnpm audit, frontend lint/types/unit and the playwright tier.
Locally, frontend `pnpm check` passes 164 unit tests and a fresh-server e2e run
is 324 passed. Note that `make frontend` runs `test:e2e` rather than
`test:e2e:fresh`, so it can adopt a stale server and report phantom failures —
clean main does the same, with a different set of grow.spec.ts tests failing
each run.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
athvin added a commit that referenced this pull request Oct 20, 2026
Supersedes #191, #192, #193, #197, #198, #199, #200. Three sibling
dependabot PRs are NOT included because they cannot resolve — see below.

CI actions:
- sccache-action 0.0.9 -> 0.0.11 (5 call sites in rust.yml)
- taiki-e/install-action 2.87.28 -> 2.87.29

Rust (#193 rust-minor-patch group, #197):
- duckdb 1.10505.0 -> 1.10506.1 (exact pin), tokio -> 1.54.0,
  unicode-normalization -> 0.1.26
- rand 0.9 -> 0.10

rand 0.10 renamed the core trait: `RngCore` is gone from the crate root and
`Rng` now carries `fill_bytes` (the old extension trait became `RngExt`). Two
sites broke, both minting secrets — the API-key secret in `pg.rs` and the
webhook HMAC secret in `lib.rs`. Both are `use rand::RngCore` ->
`use rand::Rng`; the RNG itself is unchanged. Verified against rand 0.10.3's
source that `ThreadRng` is still ChaCha12-backed and `TryCryptoRng`, so the
cryptographic property these two secrets depend on is preserved.

Frontend (#198 group of 22, #199, #200):
- next 16.3.8 -> 16.4.2, react/react-dom 19.3.0 -> 19.3.1, eslint -> 10.13.0,
  zod -> 4.6.7, @anthropic-ai/sdk -> 0.135.0, lucide-react -> 1.58.0 and the
  rest of the minor-patch group
- motion 13.4.4 -> 14.3.0, @testing-library/jest-dom ^6.9.1 -> ^7.0.1

@playwright/test stays pinned at 1.63.0 (it must equal the docker tag) and
typescript stays at 5.x; neither was in any of the bumps.

Also raises the lint and ducklake-e2e job timeouts from 30 to 45 minutes.
Bumping duckdb invalidates the sccache/rust-cache, so both jobs rebuild the
bundled duckdb C++ tree from scratch. On that cold run lint measured 30+ min
and was cancelled mid-job with every gate already green — fmt, clippy with
-D warnings, er-entity verify and rustdoc all passed, and only the step the
workflow itself labels advisory (the OpenAPI breaking-change diff, which ends
in `|| true`) was cut off. ducklake-e2e finished at 29 min, one minute inside
the old limit. That margin was luck, and any future duckdb bump hits the same
wall.

Not included, both blocked on an external pin rather than on anything here:

- #195 arrow 58 -> 59. The `duckdb` crate depends on arrow 58.4.0 even at
  1.10506.1, and DuckDB's Arrow batches ARE the workspace Arrow type — e.g.
  er-entities returns `::duckdb::Result<Vec<::arrow::record_batch::RecordBatch>>`.
  Putting the workspace on 59 while duckdb emits 58 stops that type-checking;
  pr/195's own lock resolves three arrow versions (57.3.1/58.4.0/59.3.1).
  Needs `duckdb` on arrow 59 first.
- #194 / #196 datafusion-common and datafusion-expr 52 -> 55. er-sql-check
  depends on both datafusion and `ff-analysis`, and feather-flow (git tag
  er-entity-v0.1.4) pins `datafusion-* = "52"`, a caret requirement that
  cannot unify with 55. Needs a feather-flow tag on datafusion 55 first.

No MSRV change is needed: duckdb 1.10506.1 declares rust-version 1.88, and
clippy then asks for. This branch leaves that line alone.

Rebased onto #207, which fixes the runner disk exhaustion that had the `test`
job failing on main since #188 — unrelated to these bumps and reproducible on
main with duckdb 1.10505.0.

Verified: CI green on the previous push for test, DuckLake e2e, cargo-deny,
semgrep, pnpm audit, frontend lint/types/unit and the playwright tier.
Locally, frontend `pnpm check` passes 164 unit tests and a fresh-server e2e run
is 324 passed. Note that `make frontend` runs `test:e2e` rather than
`test:e2e:fresh`, so it can adopt a stale server and report phantom failures —
clean main does the same, with a different set of grow.spec.ts tests failing
each run.

Co-authored-by: bmoore813 <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
@athvin

athvin commented Oct 20, 2026

Copy link
Copy Markdown
Owner

Superseded by #204, merged as 04bf9b2 — this bump is included there. Consolidated into one PR so the Rust and frontend gates ran once over the combined set instead of seven times over conflicting lockfiles.

@athvin athvin closed this Oct 20, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/rust/rand-0.10.3 branch October 20, 2026 09:11
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