Skip to content

Commit

Permalink
rand_distr/CHANGELOG.md: merge 0.5.0-alpha.* entries into beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Nov 26, 2024
1 parent 87b8b75 commit 50e5f95
Showing 1 changed file with 15 additions and 24 deletions.
39 changes: 15 additions & 24 deletions rand_distr/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
This is a pre-release. To depend on this version, use `rand = "=0.9.0-beta.0"` to prevent automatic updates (which can be expected to include breaking changes).

### Compilation options
- Target `rand` version `0.9.0-beta.0`
- Bump the MSRV to 1.61.0 (#1207, #1246, #1269, #1341, #1416); note that 1.60.0 may work for dependents when using `--ignore-rust-version`
- The `serde1` feature has been renamed `serde` (#1477)

### Testing
- Add Kolmogorov Smirnov tests for distributions (#1494, #1504, #1525)

### Fixes
- Fix Knuth's method so `Poisson` doesn't return -1.0 for small lambda (#1284)
- Fix `Poisson` distribution instantiation so it return an error if lambda is infinite (#1291)
- Fix Dirichlet sample for small alpha values to avoid NaN samples (#1209)
- Fix infinite loop in `Binomial` distribution (#1325)
- Fix panic in Binomial (#1484)
- Limit the maximal acceptable lambda for `Poisson` to solve (#1312) (#1498)
- Fix bug in `Hypergeometric`, this is a Value-breaking change (#1510)

### API changes
### Additions
- Make distributions comparable with `PartialEq` (#1218)
- Add `WeightedIndexTree` (#1372, #1444)

### Changes
### Other changes
- Remove unused fields from `Gamma`, `NormalInverseGaussian` and `Zipf` distributions (#1184)
This breaks serialization compatibility with older versions.
- `Dirichlet` now uses `const` generics, which means that its size is required at compile time (#1292)
- The `Dirichlet::new_with_size` constructor was removed (#1292)
- Add `PertBuilder`, fix case where mode ≅ mean (#1452)
- Rename `Zeta`'s parameter `a` to `s` (#1466)
- Mark `WeightError`, `PoissonError`, `BinomialError` as `#[non_exhaustive]` (#1480)
Expand All @@ -32,29 +46,6 @@ This is a pre-release. To depend on this version, use `rand = "=0.9.0-beta.0"` t
### Documentation
- Add plots for `rand_distr` distributions to documentation (#1434)

## [0.5.0-alpha.1] - 2024-03-18
- Target `rand` version `0.9.0-alpha.1`

## [0.5.0-alpha.0] - 2024-02-18
This is a pre-release. To depend on this version, use `rand_distr = "=0.5.0-alpha.0"` to prevent automatic updates (which can be expected to include breaking changes).

### Additions
- Make distributions comparable with `PartialEq` (#1218)
- Add `WeightedIndexTree` (#1372, #1444)

### Changes
- Target `rand` version `0.9.0-alpha.0`
- Remove unused fields from `Gamma`, `NormalInverseGaussian` and `Zipf` distributions (#1184)
This breaks serialization compatibility with older versions.
- `Dirichlet` now uses `const` generics, which means that its size is required at compile time (#1292)
- The `Dirichlet::new_with_size` constructor was removed (#1292)

### Fixes
- Fix Knuth's method so `Poisson` doesn't return -1.0 for small lambda (#1284)
- Fix `Poisson` distribution instantiation so it return an error if lambda is infinite (#1291)
- Fix Dirichlet sample for small alpha values to avoid NaN samples (#1209)
- Fix infinite loop in `Binomial` distribution (#1325)

## [0.4.3] - 2021-12-30
- Fix `no_std` build (#1208)

Expand Down

0 comments on commit 50e5f95

Please sign in to comment.