From 89ef77cf0dbd1ebc7cfc9c9e2e7e482d19174952 Mon Sep 17 00:00:00 2001 From: Orion Yeung <11580988+YeungOnion@users.noreply.github.com> Date: Fri, 31 Jul 2026 14:35:07 -0500 Subject: [PATCH 1/2] chore: release v0.19.1 --- CHANGELOG.md | 23 +++++++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7941143b..4284e394 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,29 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.19.1](https://github.com/statrs-dev/statrs/compare/v0.19.0...v0.19.1) - 2026-07-31 + +### Added + +- let callers choose the binomial sampling algorithm + +### Fixed + +- order the selection fast paths by total_cmp, not <= +- replace hand-rolled quickselect with select_nth_unstable_by +- address review on the BINV/BTPE sampler + +### Other + +- add a selection benchmark, and ordered fast paths it exposed +- build the NaN order-statistic test under no_std +- move binomial sampling into its own module +- split the sampler's branch selection out of the RNG path +- require std for the BTPE chi-square test +- sample Binomial via BINV/BTPE instead of n Bernoulli trials +- Bound the Newton iteration count and cover the quantile guards +- Add safeguarded-Newton inverse_cdf for Chi and InverseGamma + ## [0.19.0](https://github.com/statrs-dev/statrs/compare/v0.18.0...v0.19.0) - 2026-07-20 ### Added diff --git a/Cargo.toml b/Cargo.toml index be611f5d..caab9893 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "statrs" -version = "0.19.0" +version = "0.19.1" authors = ["Michael Ma"] description = "Statistical computing library for Rust" license = "MIT" From 46302d4d4e157ad33778097ac55a24f04f6c8467 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2026 19:35:26 +0000 Subject: [PATCH 2/2] chore: update MSRV lockfile --- Cargo.lock.MSRV | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock.MSRV b/Cargo.lock.MSRV index cba8a7b7..8dfc0924 100644 --- a/Cargo.lock.MSRV +++ b/Cargo.lock.MSRV @@ -697,7 +697,7 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "statrs" -version = "0.19.0" +version = "0.19.1" dependencies = [ "anyhow", "approx",