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