Skip to content

Update Rust crate statrs to 0.18.0

Renovate Bot requested to merge renovate/statrs-0.x into main

This MR contains the following updates:

Package Type Update Change
statrs dependencies minor 0.17.1 -> 0.18.0

⚠️ Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

statrs-dev/statrs (statrs)

v0.18.0

Compare Source

Added
  • Added more inverse cumulative distribution functions.
  • Introduced feature flags: rand and nalgebra.
  • Added the std_dev method to the Distribution trait explicitly.
  • Supported sampling integers from discrete distributions.
  • Added support for the Gumbel distribution.
⚠️ Breaking Changes
  • Migrated multivariate distributions to generic dimensions.
  • Replaced StatsError with module-level error types in distribution and its children.
  • Changed checked_logit, checked_multinomial, and similar methods to return Option to handle invalid inputs.
  • Changed Chi distribution to use u64 for degrees of freedom.
🛠️ Changed
  • Upgraded nalgebra to version 0.33.
    • Upgrades MSRV to 1.65+
  • Improved documentation and added examples (e.g., for Hypergeometric distribution).
  • Added MSRV (Minimum Supported Rust Version) metadata to Cargo.toml and documentation.
  • Introduced coverage reporting with llvm-cov.
  • Updated CI to check all feature combinations and ensure MSRV compliance.
  • Added an MSRV badge to crates.io.
Fixed
  • Corrected formatting issues in documentation.
  • Fixed several rustdoc warnings.
  • Expanded test coverage for Dirichlet and Multinomial distributions.
  • Improved ergonomics at cli for tests and ensured compatibility with updated NIST data.
Removed
  • Replaced StatsError with module-level error types.
  • Deprecated the error module and preformatted NIST data.
  • Removed rustfmt.toml as part of CI clean-up.
🎉 New Contributors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Renovate Bot

Merge request reports

Loading