Skip to content

Commit 7db8280

Browse files
authored
Update CHANGELOG (#514)
Tweak the breaking changes section and add entries for #415, #440, #442, #448, #504, and #512.
1 parent 038e96e commit 7db8280

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

CHANGELOG.md

+21-4
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Breaking Changes
1010
- Update MSRV to 1.60 [#472]
11-
- Remove support of the `wasm32-wasi` target (use `wasm32-wasip1` or `wasm32-wasip2` instead) [#499]
12-
- Remove `impl From<NonZeroU32> for Error` and `Error::code` method [#507]
11+
12+
#### Removed
13+
- `wasm32-wasi` target support (use `wasm32-wasip1` or `wasm32-wasip2` instead) [#499]
14+
- `linux_disable_fallback`, `rdrand`, `js`, `test-in-browser`, and `custom` crate features
15+
in favor of configuration flags [#504]
16+
- `register_custom_getrandom!` macro [#504]
17+
- Implementation of `From<NonZeroU32>` for `Error` and `Error::code` method [#507]
1318

1419
### Changed
15-
- Switch to `futex` on Linux and to `nanosleep`-based wait loop on other targets
16-
in the `use_file` backend [#490]
20+
- Use `ProcessPrng` on Windows 10 and up, and use RtlGenRandom on older legacy Windows versions [#415]
21+
- Do not use locale-specific `strerror_r` for retrieving error code descriptions [#440]
22+
- Avoid assuming usize is the native word size in the `rdrand` backend [#442]
23+
- Do not read from `errno` when `libc` did not indicate error on Solaris [#448]
24+
- Switch from `libpthread`'s mutex to `futex` on Linux and to `nanosleep`-based wait loop
25+
on other targets in the `use_file` backend [#490]
1726

1827
### Added
1928
- `wasm32-wasip1` and `wasm32-wasip2` support [#499]
29+
- `getrandom_backend` configuration flag for selection of opt-in backends [#504]
2030
- `Error::new_custom` method [#507]
31+
- AArch64 RNDR register opt-in backend [#512]
2132

33+
[#415]: https://github.com/rust-random/getrandom/pull/415
34+
[#440]: https://github.com/rust-random/getrandom/pull/440
35+
[#442]: https://github.com/rust-random/getrandom/pull/442
36+
[#448]: https://github.com/rust-random/getrandom/pull/448
2237
[#472]: https://github.com/rust-random/getrandom/pull/472
2338
[#490]: https://github.com/rust-random/getrandom/pull/490
2439
[#499]: https://github.com/rust-random/getrandom/pull/499
40+
[#504]: https://github.com/rust-random/getrandom/pull/504
2541
[#507]: https://github.com/rust-random/getrandom/pull/507
42+
[#512]: https://github.com/rust-random/getrandom/pull/512
2643

2744
## [0.2.15] - 2024-05-06
2845
### Added

0 commit comments

Comments
 (0)