Skip to content

Commit

Permalink
Bump statrs from 0.17.1 to 0.18.0 (#3426)
Browse files Browse the repository at this point in the history
Bumps [statrs](https://github.com/statrs-dev/statrs) from 0.17.1 to
0.18.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/statrs-dev/statrs/blob/master/CHANGELOG.md">statrs's
changelog</a>.</em></p>
<blockquote>
<h2>[0.18.0] - 2024-12-02</h2>
<h3>✨ Added</h3>
<ul>
<li>Added more inverse cumulative distribution functions.</li>
<li>Introduced feature flags: <code>rand</code> and
<code>nalgebra</code>.</li>
<li>Added the <code>std_dev</code> method to the
<code>Distribution</code> trait explicitly.</li>
<li>Supported sampling integers from discrete distributions.</li>
<li>Added support for the Gumbel distribution.</li>
</ul>
<h3>⚠️ Breaking Changes</h3>
<ul>
<li>Migrated multivariate distributions to generic dimensions.</li>
<li>Replaced <code>StatsError</code> with module-level error types in
<code>distribution</code> and its children.</li>
<li>Changed <code>checked_logit</code>,
<code>checked_multinomial</code>, and similar methods to return
<code>Option</code> to handle invalid inputs.</li>
<li>Changed <code>Chi</code> distribution to use <code>u64</code> for
degrees of freedom.</li>
</ul>
<h3>🛠️ Changed</h3>
<ul>
<li>Upgraded <code>nalgebra</code> to version 0.33.
<ul>
<li>Upgrades MSRV to 1.65+</li>
</ul>
</li>
<li>Improved documentation and added examples (e.g., for Hypergeometric
distribution).</li>
<li>Added MSRV (Minimum Supported Rust Version) metadata to
<code>Cargo.toml</code> and documentation.</li>
<li>Introduced coverage reporting with <code>llvm-cov</code>.</li>
<li>Updated CI to check all feature combinations and ensure MSRV
compliance.</li>
<li>Added an MSRV badge to <code>crates.io</code>.</li>
</ul>
<h3>✅ Fixed</h3>
<ul>
<li>Corrected formatting issues in documentation.</li>
<li>Fixed several <code>rustdoc</code> warnings.</li>
<li>Expanded test coverage for Dirichlet and Multinomial
distributions.</li>
<li>Improved ergonomics at cli for tests and ensured compatibility with
updated NIST data.</li>
</ul>
<h3>❌ Removed</h3>
<ul>
<li>Replaced <code>StatsError</code> with module-level error types.</li>
<li>Deprecated the <code>error</code> module and preformatted NIST
data.</li>
<li>Removed <code>rustfmt.toml</code> as part of CI clean-up.</li>
</ul>
<h3>🎉 New Contributors</h3>
<ul>
<li><a
href="https://github.com/SabrinaJewson"><code>@​SabrinaJewson</code></a>
and <a href="https://github.com/alimf17"><code>@​alimf17</code></a> made
their first contributions!</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/statrs-dev/statrs/commit/2f402503593972578e83ff07959ee9fa4a31a488"><code>2f40250</code></a>
ci: update lockfile to use [email protected]</li>
<li><a
href="https://github.com/statrs-dev/statrs/commit/5bfd9c288ce76a14d03f6ff551842d89cff37848"><code>5bfd9c2</code></a>
chore: update changelog and version in manifest for release</li>
<li><a
href="https://github.com/statrs-dev/statrs/commit/650fe7d16ece2bc3751a5cb7f4d5e3054fb59a28"><code>650fe7d</code></a>
refactor: impl MeanN over generic dimension</li>
<li><a
href="https://github.com/statrs-dev/statrs/commit/ab55c6113fac098752350e281ae32340b47cf05a"><code>ab55c61</code></a>
Fixed typo in MultivariateNormal PDF equation</li>
<li><a
href="https://github.com/statrs-dev/statrs/commit/748aa55b623d8eafb8a7c6ca788b353c3b396366"><code>748aa55</code></a>
refactor!: Empirical::new -&gt; Result&lt;_, Infallible&gt;</li>
<li><a
href="https://github.com/statrs-dev/statrs/commit/b73f18960f5b542bc82bc579bfefff30d3f3f01a"><code>b73f189</code></a>
refactor: Empirical::add: Use <code>and_modify</code></li>
<li><a
href="https://github.com/statrs-dev/statrs/commit/6ad42919d44b1478145bd817be2c488c8d97cb25"><code>6ad4291</code></a>
refactor: Empirical::remove: Try to modify inplace</li>
<li><a
href="https://github.com/statrs-dev/statrs/commit/af648be15a4fa612f25f4bd60492255c723b8268"><code>af648be</code></a>
refactor: Rewrite Empirical::cdf and ::sf</li>
<li><a
href="https://github.com/statrs-dev/statrs/commit/74569477bd4f4c73862b5bf29b89976df055c138"><code>7456947</code></a>
refactor: Separate Empirical::mean_and_var</li>
<li><a
href="https://github.com/statrs-dev/statrs/commit/f68585174b99bea2d3ffe5a70779f2fb9968576d"><code>f685851</code></a>
refactor: Use u64 to store Empirical::sum</li>
<li>Additional commits viewable in <a
href="https://github.com/statrs-dev/statrs/compare/v0.17.1...v0.18.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=statrs&package-manager=cargo&previous-version=0.17.1&new-version=0.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 10, 2024
1 parent 8079997 commit 7362b43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 19 deletions.
24 changes: 6 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ roaring = "0.10.8"
roots = "0.0.8"
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133"
statrs = "0.17.1"
statrs = "0.18.0"
streaming-stats = "0.2.3"
thiserror = "2.0"
twox-hash = "1.6.0"
Expand Down

0 comments on commit 7362b43

Please sign in to comment.