Skip to content

Commit 9019132

Browse files
authored
Merge pull request #453 from pitdicker/changelog_05
Update changelog
2 parents 5953334 + 55bc5cd commit 9019132

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

CHANGELOG.md

+12-7
Original file line numberDiff line numberDiff line change
@@ -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

rand_core/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
- Remove `BlockRng{64}::inner` and `BlockRng::inner_mut`; instead making `core` public
1111
- Add `BlockRng{64}::index` and `BlockRng{64}::generate_and_set`. (#374, #419)
1212
- Change `BlockRngCore::Results` bound to also require `AsMut<[Self::Item]>`. (#419)
13+
- Implement `std::io::Read` for RngCore. (#434)
1314

1415
## [0.1.0] - 2018-04-17
1516
(Split out of the Rand crate, changes here are relative to rand 0.4.2)

rand_core/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
3636
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
3737
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
38-
html_root_url = "https://docs.rs/rand_core/0.1.0")]
38+
html_root_url = "https://docs.rs/rand_core/0.2")]
3939

4040
#![deny(missing_docs)]
4141
#![deny(missing_debug_implementations)]

0 commit comments

Comments
 (0)