Skip to content

Commit 78ea664

Browse files
authored
Reorganize changelog for v0.10.0 (rust-random#59)
1 parent 50062f1 commit 78ea664

1 file changed

Lines changed: 61 additions & 61 deletions

File tree

CHANGELOG.md

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -5,71 +5,71 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [0.10.0] - Unreleased
8-
### API changes
9-
- `RngCore` and `TryRngCore` are renamed to `Rng` and `TryRng` respectively ([#54])
10-
- Relax `Sized` bound on impls of `SeedableRng` ([rand#1641])
11-
- Move `rand_core::impls::*` to `rand_core::le` module ([rand#1667])
12-
- Use Edition 2024 and MSRV 1.85 ([rand#1668])
13-
- Remove fn `TryRng::read_adapter(..) -> RngReadAdapter` (replaced with `rand::RngReader`) ([rand#1669])
14-
- Remove feature `os_rng`, structs `OsRng` and `OsError` and fns `from_os_rng`, `try_from_os_rng` ([rand#1674])
15-
- Remove feature `std` ([rand#1674])
16-
- Removed dependency `getrandom` ([rand#1674])
17-
- Removed optional dependency `serde` ([#28])
18-
- Add `SeedableRng::fork` methods ([#17])
19-
- Rename trait `block::BlockRngCore` to `block::Generator` and associated type `Results` to `Output`; remove assoc. `type Item` and remove type bounds ([#26])
20-
- Add `fn drop` to trait `block::Generator` ([#35])
21-
- Remove `BlockRng64` ([#34])
22-
- Remove impl of `Rng` for `BlockRng`, making the latter more generic ([#34])
23-
- Add trait `le::Word` ([#34])
24-
- Add fn `BlockRng::reconstruct` and fn `BlockRng::remaining_results` ([#36])
25-
- Move `le::{Word, next_u64_via_u32}` to new `utils` module; remove `le` ([#38])
26-
- Replace `le::fill_bytes_via_next` with `utils::fill_bytes_via_next_word` ([#38])
27-
- Replace `le::next_u32_via_fill` and `le::next_u64_via_fill` with `utils::next_word_via_fill` ([#38])
28-
- Replace `le::read_u32_into` and `le::read_u64_into` with `utils::read_words` ([#38])
29-
- Replace fn `BlockRng::index` with `word_offset` ([#44])
30-
- Rename fn `BlockRng::generate_and_set` -> `reset_and_skip`; remove fn `reset` ([#44])
31-
- `Rng` is now an extension trait of `TryRng<Error = Infallible>` ([#45])
32-
- Remove `UnwrapMut` and fns `unwrap_mut`, `unwrap_err`, retaining `UnwrapErr` ([#45], [#53])
33-
- Add error handling to `utils` functions over `TryRng` or via closure ([#45])
348

359
### Added
10+
- `SeedableRng::{fork, try_fork}` methods ([#17])
11+
- `BlockRng::reconstruct` and `BlockRng::remaining_results` methods ([#36])
3612
- Re-export of `core::convert::Infallible` ([#56])
13+
- `block::Generator::drop` method ([#35])
14+
- `BlockRng::word_offset` method ([#44])
3715

3816
### Changed
39-
- `TryRng::Error` is bound on `core::error::Error` instead of `Debug + Display` ([#58])
40-
41-
### Other
42-
- Changed repository from [rust-random/rand] to [rust-random/core].
43-
44-
[0.10.0]: https://github.com/rust-random/core/compare/v0.9.3...HEAD
17+
- Edition changed to 2024 and MSRV bumped to 1.85 ([rand#1668])
18+
- `RngCore` and `TryRngCore` are renamed to `Rng` and `TryRng` respectively ([#54])
19+
- `Rng` is now an extension trait of `TryRng<Error = Infallible>` ([#45])
20+
- Relax `Sized` bound on impls of `SeedableRng` ([rand#1641])
21+
- `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]
27+
28+
### Removed
29+
- `TryRng::read_adapter` method (replaced with `rand::RngReader`) ([rand#1669])
30+
- `os_rng` crate feature ([rand#1674])
31+
- `OsRng` and `OsError` structs ([rand#1674])
32+
- `SeedableRng::from_os_rng` and `SeedableRng::try_from_os_rng` methods ([rand#1674])
33+
- `getrandom` dependency ([rand#1674])
34+
- `std` crate feature ([rand#1674])
35+
- Optional `serde` dependency ([#28])
36+
- `UnwrapMut` struct and `Rng::unwrap_mut` method ([#45])
37+
- `Rng::unwrap_err` method in favor of explicit wrapping in `UnwrapErr` ([#53])
38+
- Implementation of `Rng` for `BlockRng`, making the latter more generic ([#34])
39+
- `BlockRng64` struct ([#34])
40+
- `BlockRng::reset` method ([#44])
41+
- `BlockRng::index` method (replaced with `BlockRng::word_offset`) ([#44])
42+
- `Generator::Item` associated type ([#26])
43+
44+
[0.10.0]: https://github.com/rust-random/rand_core/compare/v0.9.3...HEAD
4545

4646
[rand#1641]: https://github.com/rust-random/rand/pull/1641
4747
[rand#1667]: https://github.com/rust-random/rand/pull/1667
4848
[rand#1668]: https://github.com/rust-random/rand/pull/1668
4949
[rand#1669]: https://github.com/rust-random/rand/pull/1669
5050
[rand#1674]: https://github.com/rust-random/rand/pull/1674
51-
[#17]: https://github.com/rust-random/rand-core/pull/17
52-
[#26]: https://github.com/rust-random/rand-core/pull/28
53-
[#28]: https://github.com/rust-random/rand-core/pull/28
54-
[#34]: https://github.com/rust-random/rand-core/pull/34
55-
[#35]: https://github.com/rust-random/rand-core/pull/35
56-
[#36]: https://github.com/rust-random/rand-core/pull/36
57-
[#38]: https://github.com/rust-random/rand-core/pull/38
58-
[#44]: https://github.com/rust-random/rand-core/pull/44
59-
[#45]: https://github.com/rust-random/rand-core/pull/45
60-
[#53]: https://github.com/rust-random/rand-core/pull/53
61-
[#56]: https://github.com/rust-random/rand-core/pull/56
62-
[#58]: https://github.com/rust-random/rand-core/pull/58
51+
[#17]: https://github.com/rust-random/rand_core/pull/17
52+
[#26]: https://github.com/rust-random/rand_core/pull/28
53+
[#28]: https://github.com/rust-random/rand_core/pull/28
54+
[#34]: https://github.com/rust-random/rand_core/pull/34
55+
[#35]: https://github.com/rust-random/rand_core/pull/35
56+
[#36]: https://github.com/rust-random/rand_core/pull/36
57+
[#38]: https://github.com/rust-random/rand_core/pull/38
58+
[#44]: https://github.com/rust-random/rand_core/pull/44
59+
[#45]: https://github.com/rust-random/rand_core/pull/45
60+
[#53]: https://github.com/rust-random/rand_core/pull/53
61+
[#56]: https://github.com/rust-random/rand_core/pull/56
62+
[#58]: https://github.com/rust-random/rand_core/pull/58
6363

6464
[rust-random/rand]: https://github.com/rust-random/rand
65-
[rust-random/core]: https://github.com/rust-random/core
65+
[rust-random/rand_core]: https://github.com/rust-random/rand_core
6666

6767
## [0.9.3] - 2025-02-29
6868
### Other
6969
- Remove `zerocopy` dependency ([rand#1607])
7070
- Deprecate `rand_core::impls::fill_via_u32_chunks`, `fill_via_u64_chunks` ([rand#1607])
7171

72-
[0.9.3]: https://github.com/rust-random/core/compare/v0.9.2...v0.9.3
72+
[0.9.3]: https://github.com/rust-random/rand_core/compare/v0.9.2...v0.9.3
7373

7474
[rand#1607]: https://github.com/rust-random/rand/pull/1607
7575

@@ -78,7 +78,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7878
- Relax `Sized` bound on impls of `TryRngCore`, `TryCryptoRng` and `UnwrapMut` ([rand#1593])
7979
- Add `UnwrapMut::re` to reborrow the inner rng with a tighter lifetime ([rand#1595])
8080

81-
[0.9.2]: https://github.com/rust-random/core/compare/v0.9.1...v0.9.2
81+
[0.9.2]: https://github.com/rust-random/rand_core/compare/v0.9.1...v0.9.2
8282

8383
[rand#1593]: https://github.com/rust-random/rand/pull/1593
8484
[rand#1595]: https://github.com/rust-random/rand/pull/1595
@@ -87,7 +87,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8787
### API changes
8888
- Add `TryRngCore::unwrap_mut`, providing an impl of `RngCore` over `&mut rng` ([rand#1589])
8989

90-
[0.9.1]: https://github.com/rust-random/core/compare/v0.9.0...v0.9.1
90+
[0.9.1]: https://github.com/rust-random/rand_core/compare/v0.9.0...v0.9.1
9191

9292
[rand#1589]: https://github.com/rust-random/rand/pull/1589
9393

@@ -108,7 +108,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
108108
- Rename `fn SeedableRng::from_entropy` -> `from_os_rng` and add fallible variant `fn try_from_os_rng` ([rand#1424])
109109
- Add bounds `Clone` and `AsRef` to associated type `SeedableRng::Seed` ([rand#1491])
110110

111-
[0.9.0]: https://github.com/rust-random/core/compare/v0.6.4...v0.9.0
111+
[0.9.0]: https://github.com/rust-random/rand_core/compare/v0.6.4...v0.9.0
112112

113113
[rand#1182]: https://github.com/rust-random/rand/pull/1182
114114
[rand#1267]: https://github.com/rust-random/rand/pull/1267
@@ -130,7 +130,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
130130
- Reduce use of `unsafe` and improve gen_bytes performance ([rand#1180])
131131
- Add `CryptoRngCore` trait ([rand#1187], [rand#1230])
132132

133-
[0.6.4]: https://github.com/rust-random/core/compare/v0.6.3...v0.6.4
133+
[0.6.4]: https://github.com/rust-random/rand_core/compare/v0.6.3...v0.6.4
134134

135135
[rand#1160]: https://github.com/rust-random/rand/pull/1160
136136
[rand#1180]: https://github.com/rust-random/rand/pull/1180
@@ -142,7 +142,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
142142
- Improved bound for `serde` impls on `BlockRng` ([rand#1130])
143143
- Minor doc additions ([rand#1118])
144144

145-
[0.6.3]: https://github.com/rust-random/core/compare/v0.6.2...v0.6.3
145+
[0.6.3]: https://github.com/rust-random/rand_core/compare/v0.6.2...v0.6.3
146146

147147
[rand#1118]: https://github.com/rust-random/rand/pull/1118
148148
[rand#1130]: https://github.com/rust-random/rand/pull/1130
@@ -152,7 +152,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
152152
- Fixed assertions in `le::read_u32_into` and `le::read_u64_into` which could
153153
have allowed buffers not to be fully populated ([rand#1096])
154154

155-
[0.6.2]: https://github.com/rust-random/core/compare/v0.6.1...v0.6.2
155+
[0.6.2]: https://github.com/rust-random/rand_core/compare/v0.6.1...v0.6.2
156156

157157
[rand#1096]: https://github.com/rust-random/rand/pull/1096
158158

@@ -163,7 +163,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
163163
### Other
164164
- Enable all stable features in the playground ([rand#1081])
165165

166-
[0.6.1]: https://github.com/rust-random/core/compare/v0.6.0...v0.6.1
166+
[0.6.1]: https://github.com/rust-random/rand_core/compare/v0.6.0...v0.6.1
167167

168168
[rand#1081]: https://github.com/rust-random/rand/pull/1081
169169
[rand#1082]: https://github.com/rust-random/rand/pull/1082
@@ -182,7 +182,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
182182
- Fix some clippy warnings ([rand#1036])
183183
- Apply rustfmt ([rand#926])
184184

185-
[0.6.0]: https://github.com/rust-random/core/compare/v0.5.1...v0.6.0
185+
[0.6.0]: https://github.com/rust-random/rand_core/compare/v0.5.1...v0.6.0
186186

187187
[rand#926]: https://github.com/rust-random/rand/pull/926
188188
[rand#962]: https://github.com/rust-random/rand/pull/962
@@ -202,7 +202,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
202202
- `alloc` feature in `no_std` is available since Rust 1.36 ([rand#856])
203203
- Added `#[inline]` to `Error` conversion methods ([rand#864])
204204

205-
[0.5.1]: https://github.com/rust-random/core/compare/v0.5.0...v0.5.1
205+
[0.5.1]: https://github.com/rust-random/rand_core/compare/v0.5.0...v0.5.1
206206

207207
[rand#863]: https://github.com/rust-random/rand/pull/863
208208
[rand#864]: https://github.com/rust-random/rand/pull/864
@@ -215,7 +215,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
215215
- Rewrite `Error` type and adjust API ([rand#800])
216216
- Adjust usage of `#[inline]` for `BlockRng` and `BlockRng64`
217217

218-
[0.5.0]: https://github.com/rust-random/core/compare/v0.4.0...v0.5.0
218+
[0.5.0]: https://github.com/rust-random/rand_core/compare/v0.4.0...v0.5.0
219219

220220
[rand#779]: https://github.com/rust-random/rand/pull/779
221221
[rand#780]: https://github.com/rust-random/rand/pull/780
@@ -228,23 +228,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
228228
### Changed
229229
- Disable the `std` feature by default ([rand#702])
230230

231-
[0.4.0]: https://github.com/rust-random/core/compare/v0.3.0...v0.4.0
231+
[0.4.0]: https://github.com/rust-random/rand_core/compare/v0.3.0...v0.4.0
232232

233233
[rand#702]: https://github.com/rust-random/rand/pull/702
234234

235235
## [0.3.0] - 2018-09-24
236236
### Added
237237
- Add `SeedableRng::seed_from_u64` for convenient seeding. ([rand#537])
238238

239-
[0.3.0]: https://github.com/rust-random/core/compare/v0.2.1...v0.3.0
239+
[0.3.0]: https://github.com/rust-random/rand_core/compare/v0.2.1...v0.3.0
240240

241241
[rand#537]: https://github.com/rust-random/rand/pull/537
242242

243243
## [0.2.1] - 2018-06-08
244244
### Added
245245
- References to a `CryptoRng` now also implement `CryptoRng`. ([rand#470])
246246

247-
[0.2.1]: https://github.com/rust-random/core/compare/v0.2.0...v0.2.1
247+
[0.2.1]: https://github.com/rust-random/rand_core/compare/v0.2.0...v0.2.1
248248

249249
[rand#470]: https://github.com/rust-random/rand/pull/470
250250

@@ -257,7 +257,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
257257
- Add `BlockRng{64}::index` and `BlockRng{64}::generate_and_set`. ([rand#374], [rand#419])
258258
- Implement `std::io::Read` for RngCore. ([rand#434])
259259

260-
[0.2.0]: https://github.com/rust-random/core/compare/v0.1.0...v0.2.0
260+
[0.2.0]: https://github.com/rust-random/rand_core/compare/v0.1.0...v0.2.0
261261

262262
[rand#374]: https://github.com/rust-random/rand/pull/374
263263
[rand#409]: https://github.com/rust-random/rand/pull/409
@@ -278,7 +278,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
278278
- Revise the `SeedableRng` trait. ([rand#233])
279279
- Remove default implementations for `RngCore::next_u64` and `RngCore::fill_bytes`. ([rand#288])
280280

281-
[0.1.0]: https://github.com/rust-random/core/compare/v0.0.0...v0.1.0
281+
[0.1.0]: https://github.com/rust-random/rand_core/compare/v0.0.0...v0.1.0
282282

283283
[rand#209]: https://github.com/rust-random/rand/pull/209
284284
[rand#225]: https://github.com/rust-random/rand/pull/225

0 commit comments

Comments
 (0)