• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Changelog
2All notable changes to this project will be documented in this file.
3
4The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7## [0.6.3] - 2021-06-15
8### Changed
9- Improved bound for `serde` impls on `BlockRng` (#1130)
10- Minor doc additions (#1118)
11
12## [0.6.2] - 2021-02-12
13### Fixed
14- Fixed assertions in `le::read_u32_into` and `le::read_u64_into` which could
15  have allowed buffers not to be fully populated (#1096)
16
17## [0.6.1] - 2021-01-03
18### Fixed
19- Avoid panic when using `RngCore::seed_from_u64` with a seed which is not a
20  multiple of four (#1082)
21### Other
22- Enable all stable features in the playground (#1081)
23
24## [0.6.0] - 2020-12-08
25### Breaking changes
26- Bump MSRV to 1.36, various code improvements (#1011)
27- Update to getrandom v0.2 (#1041)
28- Fix: `next_u32_via_fill` and `next_u64_via_fill` now use LE as documented (#1061)
29
30### Other
31- Reduce usage of `unsafe` (#962, #963, #1011)
32- Annotate feature-gates in documentation (#1019)
33- Document available error codes (#1061)
34- Various documentation tweaks
35- Fix some clippy warnings (#1036)
36- Apply rustfmt (#926)
37
38## [0.5.1] - 2019-08-28
39- `OsRng` added to `rand_core` (#863)
40- `Error::INTERNAL_START` and `Error::CUSTOM_START` constants (#864)
41- `Error::raw_os_error` method (#864)
42- `Debug` and `Display` formatting for `getrandom` error codes without `std` (#864)
43### Changed
44- `alloc` feature in `no_std` is available since Rust 1.36 (#856)
45- Added `#[inline]` to `Error` conversion methods (#864)
46
47## [0.5.0] - 2019-06-06
48### Changed
49- Enable testing with Miri and fix incorrect pointer usages (#779, #780, #781, #783, #784)
50- Rewrite `Error` type and adjust API (#800)
51- Adjust usage of `#[inline]` for `BlockRng` and `BlockRng64`
52
53## [0.4.0] - 2019-01-24
54### Changed
55- Disable the `std` feature by default (#702)
56
57## [0.3.0] - 2018-09-24
58### Added
59- Add `SeedableRng::seed_from_u64` for convenient seeding. (#537)
60
61## [0.2.1] - 2018-06-08
62### Added
63- References to a `CryptoRng` now also implement `CryptoRng`. (#470)
64
65## [0.2.0] - 2018-05-21
66### Changed
67- Enable the `std` feature by default. (#409)
68- Remove `BlockRng{64}::inner` and `BlockRng::inner_mut`; instead making `core` public
69- Change `BlockRngCore::Results` bound to also require `AsMut<[Self::Item]>`. (#419)
70### Added
71- Add `BlockRng{64}::index` and `BlockRng{64}::generate_and_set`. (#374, #419)
72- Implement `std::io::Read` for RngCore. (#434)
73
74## [0.1.0] - 2018-04-17
75(Split out of the Rand crate, changes here are relative to rand 0.4.2.)
76### Added
77- `RngCore` and `SeedableRng` are now part of `rand_core`. (#288)
78- Add modules to help implementing RNGs `impl` and `le`. (#209, #228)
79- Add `Error` and `ErrorKind`. (#225)
80- Add `CryptoRng` marker trait. (#273)
81- Add `BlockRngCore` trait. (#281)
82- Add `BlockRng` and `BlockRng64` wrappers to help implementations. (#281, #325)
83- Add `RngCore::try_fill_bytes`. (#225)
84### Changed
85- Revise the `SeedableRng` trait. (#233)
86- Remove default implementations for `RngCore::next_u64` and `RngCore::fill_bytes`. (#288)
87
88## [0.0.1] - 2017-09-14 (yanked)
89Experimental version as part of the rand crate refactor.
90