@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
- ## [ Unreleased ]
7
+ ## [ 0.3.0 ] - 2024-12-16
8
8
9
9
### Breaking Changes
10
10
@@ -19,17 +19,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
- ` register_custom_getrandom! ` macro [ #504 ]
20
20
- Implementation of ` From<NonZeroU32> ` for ` Error ` and ` Error::code ` method [ #507 ]
21
21
- Internet Explorer 11 support [ #554 ]
22
+ - Target-specific assocciated ` Error ` constants [ #562 ]
22
23
23
24
### Changed
24
- - 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 ]
25
26
- Do not use locale-specific ` strerror_r ` for retrieving error code descriptions [ #440 ]
26
- - 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 ]
27
28
- Do not read from ` errno ` when ` libc ` did not indicate error on Solaris [ #448 ]
28
29
- Switch from ` libpthread ` 's mutex to ` futex ` on Linux and to ` nanosleep ` -based wait loop
29
30
on other targets in the ` use_file ` backend [ #490 ]
30
31
- Do not retry on ` EAGAIN ` while polling ` /dev/random ` on Linux [ #522 ]
31
- - Remove separate codepath for Node.js in the ` wasm_js ` backend (bumps minimum supported Node.js
32
- 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
+ - Use ` js_namespace ` in the ` wasm_js ` backend [ #559 ]
33
35
34
36
### Added
35
37
- ` wasm32-wasip1 ` and ` wasm32-wasip2 ` support [ #499 ]
@@ -38,6 +40,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
38
40
- ` rndr ` opt-in backend [ #512 ]
39
41
- Automatic MemorySanitizer support [ #521 ] [ #571 ]
40
42
- ` u32 ` and ` u64 ` functions for generating random values of the respective type [ #544 ]
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 ]
41
45
42
46
### Fixed
43
47
- NetBSD fallback code based on ` KERN_ARND ` [ #555 ]
@@ -59,7 +63,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
59
63
[ #554 ] : https://github.com/rust-random/getrandom/pull/554
60
64
[ #555 ] : https://github.com/rust-random/getrandom/pull/555
61
65
[ #557 ] : https://github.com/rust-random/getrandom/pull/557
66
+ [ #559 ] : https://github.com/rust-random/getrandom/pull/559
67
+ [ #560 ] : https://github.com/rust-random/getrandom/pull/560
68
+ [ #562 ] : https://github.com/rust-random/getrandom/pull/562
62
69
[ #571 ] : https://github.com/rust-random/getrandom/pull/571
70
+ [ #574 ] : https://github.com/rust-random/getrandom/pull/574
63
71
64
72
## [ 0.2.15] - 2024-05-06
65
73
### Added
@@ -511,6 +519,7 @@ Publish initial implementation.
511
519
## [ 0.0.0] - 2019-01-19
512
520
Publish an empty template library.
513
521
522
+ [ 0.3.0 ] : https://github.com/rust-random/getrandom/compare/v0.2.15...v0.3.0
514
523
[ 0.2.15 ] : https://github.com/rust-random/getrandom/compare/v0.2.14...v0.2.15
515
524
[ 0.2.14 ] : https://github.com/rust-random/getrandom/compare/v0.2.13...v0.2.14
516
525
[ 0.2.13 ] : https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.13
0 commit comments