@@ -4,28 +4,26 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ )
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7- ## [ 0.10.0] - Unreleased
7+ ## [ 0.10.0] - 2026-02-01
88
9- ### Added
10- - ` SeedableRng::{fork, try_fork} ` methods ([ #17 ] )
11- - ` BlockRng::reconstruct ` and ` BlockRng::remaining_results ` methods ([ #36 ] )
12- - Re-export of ` core::convert::Infallible ` ([ #56 ] )
13- - ` block::Generator::drop ` method ([ #35 ] )
14- - ` BlockRng::word_offset ` method ([ #44 ] )
9+ This release makes a number of significant changes which we hope will be the
10+ last significant breakage before 1.0. Code has moved from the [ rust-random/rand]
11+ repository to its own [ rust-random/rand_core] .
1512
16- ### Changed
13+ ### User-facing API changes
14+
15+ #### Changed
1716- Edition changed to 2024 and MSRV bumped to 1.85 ([ rand #1668 ] )
1817- ` RngCore ` and ` TryRngCore ` are renamed to ` Rng ` and ` TryRng ` respectively ([ #54 ] )
1918- ` Rng ` is now an extension trait of ` TryRng<Error = Infallible> ` ([ #45 ] )
20- - Relax ` Sized ` bound on impls of ` SeedableRng ` ([ rand #1641 ] )
2119- ` TryRng::Error ` is bound on ` core::error::Error ` instead of ` Debug + Display ` ([ #58 ] )
22- - Replaced ` le ` helper functions with new ` utils ` helpers ([ rand #1667 ] , [ #34 ] , [ #38 ] , [ #45 ] )
23- - Rename ` BlockRng::generate_and_set ` method to ` reset_and_skip ` ([ #44 ] )
24- - Rename ` block::BlockRngCore ` trait to ` block::Generator ` ([ #26 ] )
25- - Rename ` BlockRngCore::Results ` associated type to ` Output ` and remove type bounds on it ([ #26 ] )
26- - Repository from [ rust-random/rand] to [ rust-random/rand_core]
20+ - Relax ` Sized ` bound on impls of ` SeedableRng ` ([ rand #1641 ] )
2721
28- ### Removed
22+ #### Added
23+ - ` SeedableRng::{fork, try_fork} ` methods ([ #17 ] )
24+ - Re-export of ` core::convert::Infallible ` ([ #56 ] )
25+
26+ #### Removed
2927- ` TryRng::read_adapter ` method (replaced with ` rand::RngReader ` ) ([ rand #1669 ] )
3028- ` os_rng ` crate feature ([ rand #1674 ] )
3129- ` OsRng ` and ` OsError ` structs ([ rand #1674 ] )
@@ -35,6 +33,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3533- Optional ` serde ` dependency ([ #28 ] )
3634- ` UnwrapMut ` struct and ` Rng::unwrap_mut ` method ([ #45 ] )
3735- ` Rng::unwrap_err ` method in favor of explicit wrapping in ` UnwrapErr ` ([ #53 ] )
36+
37+ ### API changes to PRNG implementation helpers
38+
39+ ### Added
40+ - ` BlockRng::reconstruct ` and ` BlockRng::remaining_results ` methods ([ #36 ] )
41+ - ` block::Generator::drop ` method ([ #35 ] )
42+ - ` BlockRng::word_offset ` method ([ #44 ] )
43+
44+ ### Changed
45+ - Replaced ` le ` helper functions with new ` utils ` helpers ([ rand #1667 ] , [ #34 ] , [ #38 ] , [ #45 ] )
46+ - Rename ` BlockRng::generate_and_set ` method to ` reset_and_skip ` ([ #44 ] )
47+ - Rename ` block::BlockRngCore ` trait to ` block::Generator ` ([ #26 ] )
48+ - Rename ` BlockRngCore::Results ` associated type to ` Output ` and remove type bounds on it ([ #26 ] )
49+
50+ ### Removed
3851- Implementation of ` Rng ` for ` BlockRng ` , making the latter more generic ([ #34 ] )
3952- ` BlockRng64 ` struct ([ #34 ] )
4053- ` BlockRng::reset ` method ([ #44 ] )
@@ -59,6 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5972[ #44 ] : https://github.com/rust-random/rand_core/pull/44
6073[ #45 ] : https://github.com/rust-random/rand_core/pull/45
6174[ #53 ] : https://github.com/rust-random/rand_core/pull/53
75+ [ #54 ] : https://github.com/rust-random/rand_core/pull/54
6276[ #56 ] : https://github.com/rust-random/rand_core/pull/56
6377[ #58 ] : https://github.com/rust-random/rand_core/pull/58
6478[ #69 ] : https://github.com/rust-random/rand_core/pull/69
0 commit comments