From 75b622bc458fe59fbe2ec7b52389e9416b17f167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Wed, 11 Dec 2024 18:33:52 +0300 Subject: [PATCH 1/2] Release v0.3.0 --- CHANGELOG.md | 9 ++++++++- Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36cabb35..b1da5812 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.3.0] - 2024-12-16 ### Breaking Changes @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `register_custom_getrandom!` macro [#504] - Implementation of `From` for `Error` and `Error::code` method [#507] - Internet Explorer 11 support [#554] +- Target-specific assocciated `Error` constants [#562] ### Changed - Use `ProcessPrng` on Windows 10 and up, and use RtlGenRandom on older legacy Windows versions [#415] @@ -30,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Do not retry on `EAGAIN` while polling `/dev/random` on Linux [#522] - Remove separate codepath for Node.js in the `wasm_js` backend (bumps minimum supported Node.js version to v19) [#557] +- Use `js_namespace` in the `wasm_js` backend [#559] ### Added - `wasm32-wasip1` and `wasm32-wasip2` support [#499] @@ -39,6 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `linux_rustix` opt-in backend [#520] - Memory sanitizer support gated behind `getrandom_sanitize` configuration flag [#521] - `u32` and `u64` functions for generating random values of the respective type [#544] +- `wasm32v1-none` support [#560] ### Fixed - NetBSD fallback code based on `KERN_ARND` [#555] @@ -61,6 +64,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#554]: https://github.com/rust-random/getrandom/pull/554 [#555]: https://github.com/rust-random/getrandom/pull/555 [#557]: https://github.com/rust-random/getrandom/pull/557 +[#559]: https://github.com/rust-random/getrandom/pull/559 +[#560]: https://github.com/rust-random/getrandom/pull/560 +[#562]: https://github.com/rust-random/getrandom/pull/562 ## [0.2.15] - 2024-05-06 ### Added @@ -512,6 +518,7 @@ Publish initial implementation. ## [0.0.0] - 2019-01-19 Publish an empty template library. +[0.3.0]: https://github.com/rust-random/getrandom/compare/v0.2.15...v0.3.0 [0.2.15]: https://github.com/rust-random/getrandom/compare/v0.2.14...v0.2.15 [0.2.14]: https://github.com/rust-random/getrandom/compare/v0.2.13...v0.2.14 [0.2.13]: https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.13 diff --git a/Cargo.toml b/Cargo.toml index 05ff4b1b..6af73669 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "getrandom" -version = "0.3.0-rc.0" +version = "0.3.0" edition = "2021" rust-version = "1.63" # Sync tests.yml and README.md. authors = ["The Rand Project Developers"] From 4b05b9c5525926d27fab382f21b0a4aa18b93622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Wed, 11 Dec 2024 18:35:48 +0300 Subject: [PATCH 2/2] Tweak changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1da5812..60a6b3c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,7 +41,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `linux_rustix` opt-in backend [#520] - Memory sanitizer support gated behind `getrandom_sanitize` configuration flag [#521] - `u32` and `u64` functions for generating random values of the respective type [#544] -- `wasm32v1-none` support [#560] +- `wasm32v1-none` support in the `wasm_js` backend [#560] ### Fixed - NetBSD fallback code based on `KERN_ARND` [#555]