Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`treatment_fraction` remains inert (balanced 2×2×2); pass `group_frac`/`partition_frac`
via `data_generator_kwargs`. See `docs/methodology/REGISTRY.md` §PowerAnalysis.

### Security
- **Bumped the Rust backend's `pyo3` and `numpy` crates 0.28 → 0.29.** Resolves two RustSec
advisories in `pyo3 < 0.29` — RUSTSEC-2026-0176 (out-of-bounds read in `PyList`/`PyTuple`
`nth`/`nth_back`, High) and RUSTSEC-2026-0177 (missing `Sync` bound on
`PyCFunction::new_closure`, Medium). Neither vulnerable path was reachable in this crate
(no `PyList`/`PyTuple` iteration, no `new_closure`, no free-threaded wheels); `numpy` 0.29 is
bumped in lockstep because it requires `pyo3` ^0.29. No API or numerical change — both crates
are FFI/binding layers, and the math/RNG crates (`ndarray`, `faer`, `rand`, `rand_xoshiro`)
are unchanged.

## [3.5.2] - 2026-06-08

### Added
Expand Down
6 changes: 3 additions & 3 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ accelerate = ["ndarray/blas", "dep:blas-src", "blas-src/accelerate"]
openblas = ["ndarray/blas"]

[dependencies]
# PyO3 0.28 supports Python 3.9-3.14
pyo3 = "0.28"
numpy = "0.28"
# PyO3 0.29 supports Python 3.9-3.14
pyo3 = "0.29"
numpy = "0.29"
ndarray = { version = "0.17", features = ["rayon"] }
rand = "0.10"
rand_xoshiro = "0.8"
Expand Down
Loading