From e6adc4acc878252b4c9bf6662814d168d605f6af Mon Sep 17 00:00:00 2001 From: Orion Yeung <11580988+YeungOnion@users.noreply.github.com> Date: Wed, 29 Jul 2026 09:19:55 -0500 Subject: [PATCH 1/2] chore: release v0.19.1 --- CHANGELOG.md | 19 +++++++++++++++++++ Cargo.toml | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7941143b..46952b0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,25 @@ 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-29 + +### Added + +- let callers choose the binomial sampling algorithm + +### Fixed + +- address review on the BINV/BTPE sampler + +### Other + +- 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 a23d3e0097b5891014975da26cf5a6e7d26b36b6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jul 2026 14:20:17 +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",