@@ -8,21 +8,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
9
9
### Breaking Changes
10
10
- 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 ]
13
18
14
19
### 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 ]
17
26
18
27
### Added
19
28
- ` wasm32-wasip1 ` and ` wasm32-wasip2 ` support [ #499 ]
29
+ - ` getrandom_backend ` configuration flag for selection of opt-in backends [ #504 ]
20
30
- ` Error::new_custom ` method [ #507 ]
31
+ - AArch64 RNDR register opt-in backend [ #512 ]
21
32
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
22
37
[ #472 ] : https://github.com/rust-random/getrandom/pull/472
23
38
[ #490 ] : https://github.com/rust-random/getrandom/pull/490
24
39
[ #499 ] : https://github.com/rust-random/getrandom/pull/499
40
+ [ #504 ] : https://github.com/rust-random/getrandom/pull/504
25
41
[ #507 ] : https://github.com/rust-random/getrandom/pull/507
42
+ [ #512 ] : https://github.com/rust-random/getrandom/pull/512
26
43
27
44
## [ 0.2.15] - 2024-05-06
28
45
### Added
0 commit comments