@@ -22,15 +22,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
22
- Target-specific assocciated ` Error ` constants [ #562 ]
23
23
24
24
### Changed
25
- - Use ` ProcessPrng ` on Windows 10 and up, and use RtlGenRandom on older legacy Windows versions [ #415 ]
25
+ - Use ` ProcessPrng ` on Windows 10 and up, and use ` RtlGenRandom ` on older Windows versions [ #415 ]
26
26
- Do not use locale-specific ` strerror_r ` for retrieving error code descriptions [ #440 ]
27
- - Avoid assuming usize is the native word size in the ` rdrand ` backend [ #442 ]
27
+ - Avoid assuming ` usize ` is the native word size in the ` rdrand ` backend [ #442 ]
28
28
- Do not read from ` errno ` when ` libc ` did not indicate error on Solaris [ #448 ]
29
29
- Switch from ` libpthread ` 's mutex to ` futex ` on Linux and to ` nanosleep ` -based wait loop
30
30
on other targets in the ` use_file ` backend [ #490 ]
31
31
- Do not retry on ` EAGAIN ` while polling ` /dev/random ` on Linux [ #522 ]
32
- - Remove separate codepath for Node.js in the ` wasm_js ` backend (bumps minimum supported Node.js
33
- version to v19) [ #557 ]
32
+ - Remove separate codepath for Node.js in the ` wasm_js ` backend
33
+ (bumps minimum supported Node.js version to v19) [ #557 ]
34
34
- Use ` js_namespace ` in the ` wasm_js ` backend [ #559 ]
35
35
36
36
### Added
@@ -41,6 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
41
41
- Automatic MemorySanitizer support [ #521 ] [ #571 ]
42
42
- ` u32 ` and ` u64 ` functions for generating random values of the respective type [ #544 ]
43
43
- ` wasm32v1-none ` support in the ` wasm_js ` backend [ #560 ]
44
+ - ` wasm_js ` crate feature which allows users to enable the ` wasm_js ` opt-in backend [ #574 ]
44
45
45
46
### Fixed
46
47
- NetBSD fallback code based on ` KERN_ARND ` [ #555 ]
@@ -66,6 +67,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
67
[ #560 ] : https://github.com/rust-random/getrandom/pull/560
67
68
[ #562 ] : https://github.com/rust-random/getrandom/pull/562
68
69
[ #571 ] : https://github.com/rust-random/getrandom/pull/571
70
+ [ #574 ] : https://github.com/rust-random/getrandom/pull/574
69
71
70
72
## [ 0.2.15] - 2024-05-06
71
73
### Added
0 commit comments