@@ -15,6 +15,7 @@ You may also find the [Update Guide](UPDATING.md) useful.
1515- Minimum Rust version update: 1.22.0. (#239 )
1616- Create a separate ` rand_core ` crate. (#288 )
1717- Deprecate ` rand_derive ` . (#256 )
18+ - Add ` prelude ` (and module reorganisation). (#435 )
1819- Add ` log ` feature. Logging is now available in ` JitterRng ` , ` OsRng ` , ` EntropyRng ` and ` ReseedingRng ` . (#246 )
1920- Add ` serde1 ` feature for some PRNGs. (#189 )
2021- ` stdweb ` feature for ` OsRng ` support on WASM via stdweb. (#272 , #336 )
@@ -47,7 +48,6 @@ You may also find the [Update Guide](UPDATING.md) useful.
4748- Add ` SmallRng ` wrapper. (#296 )
4849- Rewrite ` ReseedingRng ` to only work with ` BlockRngCore ` (substantial performance improvement). (#281 )
4950- Deprecate ` weak_rng ` . Use ` SmallRng ` instead. (#296 )
50- - Deprecate ` random ` . (#296 )
5151- Deprecate ` AsciiGenerator ` . (#279 )
5252
5353### Random number generators
@@ -56,13 +56,14 @@ You may also find the [Update Guide](UPDATING.md) useful.
5656- Change ` thread_rng ` reseeding threshold to 32 MiB. (#277 )
5757- PRNGs no longer implement ` Copy ` . (#209 )
5858- ` Debug ` implementations no longer show internals. (#209 )
59+ - Implement ` Clone ` for ` ReseedingRng ` , ` JitterRng ` , OsRng`. (#383 , #384 )
5960- Implement serialization for ` XorShiftRng ` , ` IsaacRng ` and ` Isaac64Rng ` under the ` serde1 ` feature. (#189 )
6061- Implement ` BlockRngCore ` for ` ChaChaCore ` and ` Hc128Core ` . (#281 )
6162- All PRNGs are now portable across big- and little-endian architectures. (#209 )
6263- ` Isaac64Rng::next_u32 ` no longer throws away half the results. (#209 )
6364- Add ` IsaacRng::new_from_u64 ` and ` Isaac64Rng::new_from_u64 ` . (#209 )
6465- Add the HC-128 CSPRNG ` Hc128Rng ` . (#210 )
65- - Add ` ChaChaRng::set_rounds ` method . (#243 )
66+ - Change ChaCha20 to have 64-bit counter and 64-bit stream . (#349 )
6667- Changes to ` JitterRng ` to get its size down from 2112 to 24 bytes. (#251 )
6768- Various performance improvements to all PRNGs.
6869
@@ -80,17 +81,21 @@ You may also find the [Update Guide](UPDATING.md) useful.
8081
8182### Distributions
8283- New ` Distribution ` trait. (#256 )
84+ - Add ` Distribution::sample_iter ` and ` Rng::::sample_iter ` . (#361 )
8385- Deprecate ` Rand ` , ` Sample ` and ` IndependentSample ` traits. (#256 )
8486- Add a ` Standard ` distribution (replaces most ` Rand ` implementations). (#256 )
8587- Add ` Binomial ` and ` Poisson ` distributions. (#96 )
88+ - Add ` Bernoulli ` dsitribution. (#411 )
8689- Add ` Alphanumeric ` distribution. (#279 )
87- - Remove ` Open01 ` and ` Closed01 ` distributions, use ` Standard ` instead (open distribution) . (#274 )
90+ - Remove ` Closed01 ` distribution, add ` OpenClosed01 ` . (#274 , # 420 )
8891- Rework ` Range ` type, making it possible to implement it for user types. (#274 )
89- - Add ` Range::new_inclusive ` for inclusive ranges . (#274 )
90- - Add ` Range::sample_single ` to allow for optimized implementations . (#274 )
92+ - Rename ` Range ` to ` Uniform ` . (#395 )
93+ - Add ` Uniform::new_inclusive ` for inclusive ranges . (#274 )
9194- Use widening multiply method for much faster integer range reduction. (#274 )
92- - ` Standard ` distributions for ` bool ` uses ` Range ` . (#274 )
93- - ` Standard ` distributions for ` bool ` uses sign test. (#274 )
95+ - ` Standard ` distribution for ` char ` uses ` Uniform ` internally. (#274 )
96+ - ` Standard ` distribution for ` bool ` uses sign test. (#274 )
97+ - Implement ` Standard ` distribution for ` Wrapping<T> ` . (#436 )
98+ - Implement ` Uniform ` distribution for ` Duration ` . (#427 )
9499
95100
96101## [ 0.4.2] - 2018-01-06
0 commit comments