fastrand/CHANGELOG.md

113 lines
2.1 KiB
Markdown
Raw Permalink Normal View History

# Version 2.1.0
- Change the RNG algorithm and the way that the seed is computed. This will cause
the algorithm to emit different constants for different seeds, hence the minor
SemVer change.
- Update to the final WyRand v4.2 constants for better entropy. (#82)
- Remove an unnecessary seed modification. (#73)
# Version 2.0.2
- Slight restructuring of the `with_seed` function. (#79)
# Version 2.0.1
- Clarify documentation for the `fork()` method. (#62)
- Mention `fastrand-contrib` in documentation. (#70)
# Version 2.0.0
- **Breaking:** Remove interior mutability from `Rng`. (#47)
- Add a `fork()` method. (#49)
- Add a `no_std` mode. (#50)
- Add an iterator selection function. (#51)
- Add a `choose_multiple()` function for sampling several elements from an iterator. (#55)
- Use the `getrandom` crate for seeding on WebAssembly targets if the `js` feature is enabled. (#60)
2023-02-13 02:29:45 +00:00
# Version 1.9.0
- Add `Rng::fill()` (#35, #43)
- Add `#[must_use]` to `Rng::with_seed()` (#46)
2022-07-23 17:15:59 +00:00
# Version 1.8.0
- Add `get_seed()` and `Rng::get_seed()` (#33)
2022-01-22 07:00:08 +00:00
# Version 1.7.0
- Add `char()` and `Rng::char()` (#25)
2021-12-19 05:56:25 +00:00
# Version 1.6.0
- Implement `PartialEq` and `Eq` for `Rng` (#23)
2021-07-19 15:17:54 +00:00
# Version 1.5.0
- Switch to Wyrand (#14)
2021-04-24 09:02:15 +00:00
# Version 1.4.1
- Fix bug when generating a signed integer within a range (#16)
2020-10-03 15:58:19 +00:00
# Version 1.4.0
- Add wasm support.
2020-09-01 05:24:41 +00:00
# Version 1.3.5
- Reword docs.
2020-09-01 05:25:25 +00:00
- Add `Rng::with_seed()`.
2020-09-01 05:24:41 +00:00
2020-08-08 17:14:56 +00:00
# Version 1.3.4
- Implement `Clone` for `Rng`.
2020-07-07 07:53:27 +00:00
# Version 1.3.3
- Forbid unsafe code.
2020-06-26 17:54:32 +00:00
# Version 1.3.2
- Support older Rust versions.
2020-06-26 14:29:04 +00:00
# Version 1.3.1
- Tweak Cargo keywords.
2020-06-26 14:28:24 +00:00
# Version 1.3.0
- Add `f32()` and `f64()`.
- Add `lowercase()`, `uppercase()`, `alphabetic()`, and `digit()`.
2020-06-18 11:10:55 +00:00
# Version 1.2.4
- Switch to PCG XSH RR 64/32.
- Fix a bug in `gen_mod_u128`.
- Fix bias in ranges.
2020-06-17 20:37:45 +00:00
# Version 1.2.3
- Support Rust 1.32.0
2020-06-17 19:29:41 +00:00
# Version 1.2.2
- Use `std::$t::MAX` rather than `$t::MAX` to support older Rust versions.
2020-06-17 19:21:37 +00:00
# Version 1.2.1
- Inline all functions.
2020-06-17 19:05:44 +00:00
# Version 1.2.0
- Add `Rng` struct.
2020-05-28 20:33:29 +00:00
# Version 1.1.0
- Switch to PCG implementation.
- Add `alphanumeric()`.
- Add `seed()`.
2020-05-27 16:18:29 +00:00
# Version 1.0.0
- Initial version