Debian Codegraph @

debian/missing-sources/rand_core/CHANGELOG.md

raw symbols SCIP
1 # Changelog
2 All notable changes to this project will be documented in this file.
3
4 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7 ## [0.9.5] — 2026-01-13
8 - Try again: `auto_cfg` -> `doc_cfg` ([#48])
9
10 [#48]: https://github.com/rust-random/rand_core/pull/48
11
12 ## [0.9.4] — 2026-01-12
13 - Doc fix for merge of `doc_auto_cfg` into `doc_cfg` ([#46])
14
15 [#46]: https://github.com/rust-random/rand_core/pull/46
16
17 ## [0.9.3] — 2025-02-29
18 ### Other
19 - Remove `zerocopy` dependency (#1607)
20 - Deprecate `rand_core::impls::fill_via_u32_chunks`, `fill_via_u64_chunks` (#1607)
21
22 ## [0.9.2] - 2025-02-22
23 ### API changes
24 - Relax `Sized` bound on impls of `TryRngCore`, `TryCryptoRng` and `UnwrapMut` (#1593)
25 - Add `UnwrapMut::re` to reborrow the inner rng with a tighter lifetime (#1595)
26
27 ## [0.9.1] - 2025-02-16
28 ### API changes
29 - Add `TryRngCore::unwrap_mut`, providing an impl of `RngCore` over `&mut rng` (#1589)
30
31 ## [0.9.0] - 2025-01-27
32 ### Dependencies and features
33 - Bump the MSRV to 1.63.0 (#1207, #1246, #1269, #1341, #1416, #1536); note that 1.60.0 may work for dependents when using `--ignore-rust-version`
34 - Update to `getrandom` v0.3.0 (#1558)
35 - Use `zerocopy` to replace some `unsafe` code (#1349, #1393, #1446, #1502)
36 - Rename feature `serde1` to `serde` (#1477)
37 - Rename feature `getrandom` to `os_rng` (#1537)
38
39 ### API changes
40 - Allow `rand_core::impls::fill_via_u*_chunks` to mutate source (#1182)
41 - Add fn `RngCore::read_adapter` implementing `std::io::Read` (#1267)
42 - Add trait `CryptoBlockRng: BlockRngCore`; make `trait CryptoRng: RngCore` replacing `CryptoRngCore` (#1273)
43 - Add traits `TryRngCore`, `TryCryptoRng` (#1424, #1499)
44 - Rename `fn SeedableRng::from_rng` -> `try_from_rng` and add infallible variant `fn from_rng` (#1424)
45 - Rename `fn SeedableRng::from_entropy` -> `from_os_rng` and add fallible variant `fn try_from_os_rng` (#1424)
46 - Add bounds `Clone` and `AsRef` to associated type `SeedableRng::Seed` (#1491)
47
48 ## [0.6.4] - 2022-09-15
49 - Fix unsoundness in `<BlockRng64 as RngCore>::next_u32` (#1160)
50 - Reduce use of `unsafe` and improve gen_bytes performance (#1180)
51 - Add `CryptoRngCore` trait (#1187, #1230)
52
53 ## [0.6.3] - 2021-06-15
54 ### Changed
55 - Improved bound for `serde` impls on `BlockRng` (#1130)
56 - Minor doc additions (#1118)
57
58 ## [0.6.2] - 2021-02-12
59 ### Fixed
60 - Fixed assertions in `le::read_u32_into` and `le::read_u64_into` which could
61 have allowed buffers not to be fully populated (#1096)
62
63 ## [0.6.1] - 2021-01-03
64 ### Fixed
65 - Avoid panic when using `RngCore::seed_from_u64` with a seed which is not a
66 multiple of four (#1082)
67 ### Other
68 - Enable all stable features in the playground (#1081)
69
70 ## [0.6.0] - 2020-12-08
71 ### Breaking changes
72 - Bump MSRV to 1.36, various code improvements (#1011)
73 - Update to getrandom v0.2 (#1041)
74 - Fix: `next_u32_via_fill` and `next_u64_via_fill` now use LE as documented (#1061)
75
76 ### Other
77 - Reduce usage of `unsafe` (#962, #963, #1011)
78 - Annotate feature-gates in documentation (#1019)
79 - Document available error codes (#1061)
80 - Various documentation tweaks
81 - Fix some clippy warnings (#1036)
82 - Apply rustfmt (#926)
83
84 ## [0.5.1] - 2019-08-28
85 - `OsRng` added to `rand_core` (#863)
86 - `Error::INTERNAL_START` and `Error::CUSTOM_START` constants (#864)
87 - `Error::raw_os_error` method (#864)
88 - `Debug` and `Display` formatting for `getrandom` error codes without `std` (#864)
89 ### Changed
90 - `alloc` feature in `no_std` is available since Rust 1.36 (#856)
91 - Added `#[inline]` to `Error` conversion methods (#864)
92
93 ## [0.5.0] - 2019-06-06
94 ### Changed
95 - Enable testing with Miri and fix incorrect pointer usages (#779, #780, #781, #783, #784)
96 - Rewrite `Error` type and adjust API (#800)
97 - Adjust usage of `#[inline]` for `BlockRng` and `BlockRng64`
98
99 ## [0.4.0] - 2019-01-24
100 ### Changed
101 - Disable the `std` feature by default (#702)
102
103 ## [0.3.0] - 2018-09-24
104 ### Added
105 - Add `SeedableRng::seed_from_u64` for convenient seeding. (#537)
106
107 ## [0.2.1] - 2018-06-08
108 ### Added
109 - References to a `CryptoRng` now also implement `CryptoRng`. (#470)
110
111 ## [0.2.0] - 2018-05-21
112 ### Changed
113 - Enable the `std` feature by default. (#409)
114 - Remove `BlockRng{64}::inner` and `BlockRng::inner_mut`; instead making `core` public
115 - Change `BlockRngCore::Results` bound to also require `AsMut<[Self::Item]>`. (#419)
116 ### Added
117 - Add `BlockRng{64}::index` and `BlockRng{64}::generate_and_set`. (#374, #419)
118 - Implement `std::io::Read` for RngCore. (#434)
119
120 ## [0.1.0] - 2018-04-17
121 (Split out of the Rand crate, changes here are relative to rand 0.4.2.)
122 ### Added
123 - `RngCore` and `SeedableRng` are now part of `rand_core`. (#288)
124 - Add modules to help implementing RNGs `impl` and `le`. (#209, #228)
125 - Add `Error` and `ErrorKind`. (#225)
126 - Add `CryptoRng` marker trait. (#273)
127 - Add `BlockRngCore` trait. (#281)
128 - Add `BlockRng` and `BlockRng64` wrappers to help implementations. (#281, #325)
129 - Add `RngCore::try_fill_bytes`. (#225)
130 ### Changed
131 - Revise the `SeedableRng` trait. (#233)
132 - Remove default implementations for `RngCore::next_u64` and `RngCore::fill_bytes`. (#288)
133
134 ## [0.0.1] - 2017-09-14 (yanked)
135 Experimental version as part of the rand crate refactor.