Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump statrs from 0.17.1 to 0.18.0 #1154

Open
wants to merge 1 commit into
base: release/0.16
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 2024

Bumps statrs from 0.17.1 to 0.18.0.

Changelog

Sourced from statrs's changelog.

[0.18.0] - 2024-12-02

✨ 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

Commits
  • 2f40250 ci: update lockfile to use statrs@0.18.0
  • 5bfd9c2 chore: update changelog and version in manifest for release
  • 650fe7d refactor: impl MeanN over generic dimension
  • ab55c61 Fixed typo in MultivariateNormal PDF equation
  • 748aa55 refactor!: Empirical::new -> Result<_, Infallible>
  • b73f189 refactor: Empirical::add: Use and_modify
  • 6ad4291 refactor: Empirical::remove: Try to modify inplace
  • af648be refactor: Rewrite Empirical::cdf and ::sf
  • 7456947 refactor: Separate Empirical::mean_and_var
  • f685851 refactor: Use u64 to store Empirical::sum
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [statrs](https://github.com/statrs-dev/statrs) from 0.17.1 to 0.18.0.
- [Release notes](https://github.com/statrs-dev/statrs/releases)
- [Changelog](https://github.com/statrs-dev/statrs/blob/master/CHANGELOG.md)
- [Commits](statrs-dev/statrs@v0.17.1...v0.18.0)

---
updated-dependencies:
- dependency-name: statrs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner December 9, 2024 17:46
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 9, 2024
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.

0 participants