| 1 |
# Version 2.1.0 |
| 2 |
|
| 3 |
- Change the RNG algorithm and the way that the seed is computed. This will cause |
| 4 |
the algorithm to emit different constants for different seeds, hence the minor |
| 5 |
SemVer change. |
| 6 |
- Update to the final WyRand v4.2 constants for better entropy. (#82) |
| 7 |
- Remove an unnecessary seed modification. (#73) |
| 8 |
|
| 9 |
# Version 2.0.2 |
| 10 |
|
| 11 |
- Slight restructuring of the `with_seed` function. (#79) |
| 12 |
|
| 13 |
# Version 2.0.1 |
| 14 |
|
| 15 |
- Clarify documentation for the `fork()` method. (#62) |
| 16 |
- Mention `fastrand-contrib` in documentation. (#70) |
| 17 |
|
| 18 |
# Version 2.0.0 |
| 19 |
|
| 20 |
- **Breaking:** Remove interior mutability from `Rng`. (#47) |
| 21 |
- Add a `fork()` method. (#49) |
| 22 |
- Add a `no_std` mode. (#50) |
| 23 |
- Add an iterator selection function. (#51) |
| 24 |
- Add a `choose_multiple()` function for sampling several elements from an iterator. (#55) |
| 25 |
- Use the `getrandom` crate for seeding on WebAssembly targets if the `js` feature is enabled. (#60) |
| 26 |
|
| 27 |
# Version 1.9.0 |
| 28 |
|
| 29 |
- Add `Rng::fill()` (#35, #43) |
| 30 |
- Add `#[must_use]` to `Rng::with_seed()` (#46) |
| 31 |
|
| 32 |
# Version 1.8.0 |
| 33 |
|
| 34 |
- Add `get_seed()` and `Rng::get_seed()` (#33) |
| 35 |
|
| 36 |
# Version 1.7.0 |
| 37 |
|
| 38 |
- Add `char()` and `Rng::char()` (#25) |
| 39 |
|
| 40 |
# Version 1.6.0 |
| 41 |
|
| 42 |
- Implement `PartialEq` and `Eq` for `Rng` (#23) |
| 43 |
|
| 44 |
# Version 1.5.0 |
| 45 |
|
| 46 |
- Switch to Wyrand (#14) |
| 47 |
|
| 48 |
# Version 1.4.1 |
| 49 |
|
| 50 |
- Fix bug when generating a signed integer within a range (#16) |
| 51 |
|
| 52 |
# Version 1.4.0 |
| 53 |
|
| 54 |
- Add wasm support. |
| 55 |
|
| 56 |
# Version 1.3.5 |
| 57 |
|
| 58 |
- Reword docs. |
| 59 |
- Add `Rng::with_seed()`. |
| 60 |
|
| 61 |
# Version 1.3.4 |
| 62 |
|
| 63 |
- Implement `Clone` for `Rng`. |
| 64 |
|
| 65 |
# Version 1.3.3 |
| 66 |
|
| 67 |
- Forbid unsafe code. |
| 68 |
|
| 69 |
# Version 1.3.2 |
| 70 |
|
| 71 |
- Support older Rust versions. |
| 72 |
|
| 73 |
# Version 1.3.1 |
| 74 |
|
| 75 |
- Tweak Cargo keywords. |
| 76 |
|
| 77 |
# Version 1.3.0 |
| 78 |
|
| 79 |
- Add `f32()` and `f64()`. |
| 80 |
- Add `lowercase()`, `uppercase()`, `alphabetic()`, and `digit()`. |
| 81 |
|
| 82 |
# Version 1.2.4 |
| 83 |
|
| 84 |
- Switch to PCG XSH RR 64/32. |
| 85 |
- Fix a bug in `gen_mod_u128`. |
| 86 |
- Fix bias in ranges. |
| 87 |
|
| 88 |
# Version 1.2.3 |
| 89 |
|
| 90 |
- Support Rust 1.32.0 |
| 91 |
|
| 92 |
# Version 1.2.2 |
| 93 |
|
| 94 |
- Use `std::$t::MAX` rather than `$t::MAX` to support older Rust versions. |
| 95 |
|
| 96 |
# Version 1.2.1 |
| 97 |
|
| 98 |
- Inline all functions. |
| 99 |
|
| 100 |
# Version 1.2.0 |
| 101 |
|
| 102 |
- Add `Rng` struct. |
| 103 |
|
| 104 |
# Version 1.1.0 |
| 105 |
|
| 106 |
- Switch to PCG implementation. |
| 107 |
- Add `alphanumeric()`. |
| 108 |
- Add `seed()`. |
| 109 |
|
| 110 |
# Version 1.0.0 |
| 111 |
|
| 112 |
- Initial version |