Skip to content

Commit d568374

Browse files
authored
Release v0.3.0 (#563)
Close #433 TODO: update release date before merge
1 parent 5e62ce9 commit d568374

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

CHANGELOG.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
7+
## [0.3.0] - 2024-12-16
88

99
### Breaking Changes
1010

@@ -19,17 +19,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
- `register_custom_getrandom!` macro [#504]
2020
- Implementation of `From<NonZeroU32>` for `Error` and `Error::code` method [#507]
2121
- Internet Explorer 11 support [#554]
22+
- Target-specific assocciated `Error` constants [#562]
2223

2324
### 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]
2526
- 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]
2728
- Do not read from `errno` when `libc` did not indicate error on Solaris [#448]
2829
- Switch from `libpthread`'s mutex to `futex` on Linux and to `nanosleep`-based wait loop
2930
on other targets in the `use_file` backend [#490]
3031
- 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]
3335

3436
### Added
3537
- `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
3840
- `rndr` opt-in backend [#512]
3941
- Automatic MemorySanitizer support [#521] [#571]
4042
- `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]
4145

4246
### Fixed
4347
- 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
5963
[#554]: https://github.com/rust-random/getrandom/pull/554
6064
[#555]: https://github.com/rust-random/getrandom/pull/555
6165
[#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
6269
[#571]: https://github.com/rust-random/getrandom/pull/571
70+
[#574]: https://github.com/rust-random/getrandom/pull/574
6371

6472
## [0.2.15] - 2024-05-06
6573
### Added
@@ -511,6 +519,7 @@ Publish initial implementation.
511519
## [0.0.0] - 2019-01-19
512520
Publish an empty template library.
513521

522+
[0.3.0]: https://github.com/rust-random/getrandom/compare/v0.2.15...v0.3.0
514523
[0.2.15]: https://github.com/rust-random/getrandom/compare/v0.2.14...v0.2.15
515524
[0.2.14]: https://github.com/rust-random/getrandom/compare/v0.2.13...v0.2.14
516525
[0.2.13]: https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.13

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "getrandom"
3-
version = "0.3.0-rc.0"
3+
version = "0.3.0"
44
edition = "2021"
55
rust-version = "1.63" # Sync tests.yml and README.md.
66
authors = ["The Rand Project Developers"]

0 commit comments

Comments
 (0)