Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 47 additions & 43 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Documentation build on docs.rs [#801]

[0.4.1]: https://github.com/rust-random/getrandom/compare/v0.4.0...v0.4.1
[#801]: https://github.com/rust-random/getrandom/pull/801

## [0.4.0] - 2026-02-02
Expand All @@ -37,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Use Edition 2024 and MSRV 1.85 [#749]

[0.4.0]: https://github.com/rust-random/getrandom/compare/v0.3.4...v0.4.0
[#739]: https://github.com/rust-random/getrandom/pull/739
[#749]: https://github.com/rust-random/getrandom/pull/749
[#751]: https://github.com/rust-random/getrandom/pull/751
Expand Down Expand Up @@ -77,6 +79,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
### Removed
- Unstable `rustc-dep-of-std` crate feature [#694]

[0.3.4]: https://github.com/rust-random/getrandom/compare/v0.3.3...v0.3.4
[#667]: https://github.com/rust-random/getrandom/pull/667
[#671]: https://github.com/rust-random/getrandom/issues/671
[#675]: https://github.com/rust-random/getrandom/pull/675
Expand All @@ -97,6 +100,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
### Fixed
- Error handling in WASI p1 [#661]

[0.3.3]: https://github.com/rust-random/getrandom/compare/v0.3.2...v0.3.3
[#632]: https://github.com/rust-random/getrandom/pull/632
[#634]: https://github.com/rust-random/getrandom/pull/634
[#635]: https://github.com/rust-random/getrandom/pull/635
Expand Down Expand Up @@ -127,6 +131,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
### Removed
- `Error::INTERNAL_START` and `Error::CUSTOM_START` associated constants [#614]

[0.3.2]: https://github.com/rust-random/getrandom/compare/v0.3.1...v0.3.2
[#570]: https://github.com/rust-random/getrandom/pull/570
[#572]: https://github.com/rust-random/getrandom/pull/572
[#591]: https://github.com/rust-random/getrandom/pull/591
Expand All @@ -148,6 +153,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
### Fixed
- Build error on Android [#588]

[0.3.1]: https://github.com/rust-random/getrandom/compare/v0.3.0...v0.3.1
[#588]: https://github.com/rust-random/getrandom/pull/588

## [0.3.0] - 2025-01-25
Expand Down Expand Up @@ -192,6 +198,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
### Fixed
- NetBSD fallback code based on `KERN_ARND` [#555]

[0.3.0]: https://github.com/rust-random/getrandom/compare/v0.2.15...v0.3.0
[#415]: https://github.com/rust-random/getrandom/pull/415
[#440]: https://github.com/rust-random/getrandom/pull/440
[#442]: https://github.com/rust-random/getrandom/pull/442
Expand Down Expand Up @@ -220,6 +227,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
- Use `doc_cfg` instead of `doc_auto_cfg` (partial backport of [#732]) [#768]
- `BCryptGenRandom` signature [#778]

[0.2.17]: https://github.com/rust-random/getrandom/compare/v0.2.16...v0.2.17
[#732]: https://github.com/rust-random/getrandom/pull/732
[#768]: https://github.com/rust-random/getrandom/pull/768
[#778]: https://github.com/rust-random/getrandom/pull/778
Expand All @@ -228,6 +236,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
### Added
- Cygwin support (backport of [#626]) [#654]

[0.2.16]: https://github.com/rust-random/getrandom/compare/v0.2.15...v0.2.16
[#654]: https://github.com/rust-random/getrandom/pull/654

## [0.2.15] - 2024-05-06
Expand All @@ -238,6 +247,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
- Use `libc::getrandom` on DragonflyBSD, FreeBSD, illumos, and Solaris [#411] [#416] [#417] [#420]
- Unify `libc::getentropy`-based implementations [#418]

[0.2.15]: https://github.com/rust-random/getrandom/compare/v0.2.14...v0.2.15
[#410]: https://github.com/rust-random/getrandom/pull/410
[#411]: https://github.com/rust-random/getrandom/pull/411
[#416]: https://github.com/rust-random/getrandom/pull/416
Expand All @@ -249,6 +259,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
### Fixed
- Enable `/dev/urandom` fallback for MUSL-based Linux targets [#408]

[0.2.14]: https://github.com/rust-random/getrandom/compare/v0.2.13...v0.2.14
[#408]: https://github.com/rust-random/getrandom/pull/408

## [0.2.13] - 2024-04-06
Expand All @@ -263,6 +274,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
- Do not catch `EPERM` error code on Android while checking availability of
the `getrandom` syscall [#396]

[0.2.13]: https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.13
[#396]: https://github.com/rust-random/getrandom/pull/396

## [0.2.12] - 2024-01-09
Expand All @@ -276,6 +288,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
### Added
- Document platform support policy [#387]

[0.2.12]: https://github.com/rust-random/getrandom/compare/v0.2.11...v0.2.12
[#385]: https://github.com/rust-random/getrandom/pull/385
[#386]: https://github.com/rust-random/getrandom/pull/386
[#387]: https://github.com/rust-random/getrandom/pull/387
Expand All @@ -289,6 +302,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
- Renamed `__getrandom_internal` to `__GETRANDOM_INTERNAL` [#369]
- Updated link to Hermit docs [#374]

[0.2.11]: https://github.com/rust-random/getrandom/compare/v0.2.10...v0.2.11
[#369]: https://github.com/rust-random/getrandom/pull/369
[#370]: https://github.com/rust-random/getrandom/pull/370
[#374]: https://github.com/rust-random/getrandom/pull/374
Expand All @@ -300,6 +314,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
### Changed
- Use getentropy from libc on Emscripten targets [#362]

[0.2.10]: https://github.com/rust-random/getrandom/compare/v0.2.9...v0.2.10
[#359]: https://github.com/rust-random/getrandom/pull/359
[#362]: https://github.com/rust-random/getrandom/pull/362

Expand Down Expand Up @@ -333,6 +348,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
- Move `__getrandom_custom` definition into a const block [#344]
- Switch the custom backend to Rust ABI [#347]

[0.2.9]: https://github.com/rust-random/getrandom/compare/v0.2.8...v0.2.9
[#282]: https://github.com/rust-random/getrandom/pull/282
[#291]: https://github.com/rust-random/getrandom/pull/291
[#301]: https://github.com/rust-random/getrandom/pull/301
Expand Down Expand Up @@ -369,14 +385,15 @@ For more information, see the discussions in [#671], [#675], and [#730].
- Fix link to `wasm-bindgen` [#278]
- Document the varied implementations for underlying randomness sources [#276]

[Web Cryptography API]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API
[0.2.8]: https://github.com/rust-random/getrandom/compare/v0.2.7...v0.2.8
[#284]: https://github.com/rust-random/getrandom/pull/284
[#295]: https://github.com/rust-random/getrandom/pull/295
[#272]: https://github.com/rust-random/getrandom/pull/272
[#270]: https://github.com/rust-random/getrandom/pull/270
[#280]: https://github.com/rust-random/getrandom/pull/280
[#278]: https://github.com/rust-random/getrandom/pull/278
[#276]: https://github.com/rust-random/getrandom/pull/276
[Web Cryptography API]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API

## [0.2.7] - 2022-06-14
### Changed
Expand All @@ -388,6 +405,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
### Documentation
- Add comments explaining use of fallback mechanisms [#257] [#260]

[0.2.7]: https://github.com/rust-random/getrandom/compare/v0.2.6...v0.2.7
[#263]: https://github.com/rust-random/getrandom/pull/263
[#260]: https://github.com/rust-random/getrandom/pull/260
[#253]: https://github.com/rust-random/getrandom/pull/253
Expand All @@ -400,6 +418,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
### Changed
- Retry `open` when interrupted [#252]

[0.2.6]: https://github.com/rust-random/getrandom/compare/v0.2.5...v0.2.6
[#248]: https://github.com/rust-random/getrandom/pull/248
[#252]: https://github.com/rust-random/getrandom/pull/252

Expand All @@ -411,6 +430,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
- Webpack warning caused by dynamic require [#234]
- Error checking on iOS for `SecRandomCopyBytes` [#244]

[0.2.5]: https://github.com/rust-random/getrandom/compare/v0.2.4...v0.2.5
[#234]: https://github.com/rust-random/getrandom/pull/234
[#244]: https://github.com/rust-random/getrandom/pull/244
[#245]: https://github.com/rust-random/getrandom/pull/245
Expand All @@ -425,6 +445,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
- SOLID targets (`*-kmc-solid_*`) support [#235]
- Limited Hermit (`x86_64-unknown-hermit`) support [#236]

[0.2.4]: https://github.com/rust-random/getrandom/compare/v0.2.3...v0.2.4
[#220]: https://github.com/rust-random/getrandom/pull/220
[#222]: https://github.com/rust-random/getrandom/pull/222
[#233]: https://github.com/rust-random/getrandom/pull/233
Expand All @@ -437,6 +458,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
- Add support for getrandom syscall on DragonFly BSD. [#210]
- Improve Node.js detection. [#215]

[0.2.3]: https://github.com/rust-random/getrandom/compare/v0.2.2...v0.2.3
[#205]: https://github.com/rust-random/getrandom/pull/205
[#210]: https://github.com/rust-random/getrandom/pull/210
[#215]: https://github.com/rust-random/getrandom/pull/215
Expand All @@ -446,6 +468,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
- Forward `rustc-dep-of-std` to dependencies. [#198]
- Highlight feature-dependent functionality in documentation using the `doc_cfg` feature. [#200]

[0.2.2]: https://github.com/rust-random/getrandom/compare/v0.2.1...v0.2.2
[#198]: https://github.com/rust-random/getrandom/pull/198
[#200]: https://github.com/rust-random/getrandom/pull/200

Expand All @@ -462,6 +485,7 @@ For more information, see the discussions in [#671], [#675], and [#730].
- Direct `stdweb` support. [#178]
- CloudABI support. [#184]

[0.2.1]: https://github.com/rust-random/getrandom/compare/v0.2.0...v0.2.1
[#165]: https://github.com/rust-random/getrandom/pull/165
[#166]: https://github.com/rust-random/getrandom/pull/166
[#167]: https://github.com/rust-random/getrandom/pull/167
Expand All @@ -487,6 +511,7 @@ The following (off by default) Cargo features have been added:
- Update minimum supported Linux kernel to 2.6.32 [#153]
- Update MSRV to 1.34 [#159]

[0.2.0]: https://github.com/rust-random/getrandom/compare/v0.1.16...v0.2.0
[#106]: https://github.com/rust-random/getrandom/pull/106
[#107]: https://github.com/rust-random/getrandom/pull/107
[#109]: https://github.com/rust-random/getrandom/pull/109
Expand All @@ -505,6 +530,7 @@ The following (off by default) Cargo features have been added:
### Fixed
- Multithreaded WASM support. [#171]

[0.1.16]: https://github.com/rust-random/getrandom/compare/v0.1.15...v0.1.16
[#173]: https://github.com/rust-random/getrandom/pull/173
[#171]: https://github.com/rust-random/getrandom/pull/171
[#169]: https://github.com/rust-random/getrandom/pull/169
Expand All @@ -514,6 +540,7 @@ The following (off by default) Cargo features have been added:
- Added support for Internet Explorer 11 [#139]
- Fix Webpack require warning with `wasm-bindgen` [#137]

[0.1.15]: https://github.com/rust-random/getrandom/compare/v0.1.14...v0.1.15
[#137]: https://github.com/rust-random/getrandom/pull/137
[#139]: https://github.com/rust-random/getrandom/pull/139

Expand All @@ -523,6 +550,7 @@ The following (off by default) Cargo features have been added:
- Update `wasi` to v0.9. [#126]
- Do not read errno value on DragonFlyBSD to fix compilation failure. [#129]

[0.1.14]: https://github.com/rust-random/getrandom/compare/v0.1.13...v0.1.14
[#125]: https://github.com/rust-random/getrandom/pull/125
[#126]: https://github.com/rust-random/getrandom/pull/126
[#129]: https://github.com/rust-random/getrandom/pull/129
Expand All @@ -541,6 +569,7 @@ system. [#104]
- Bump `cfg-if` minimum version from 0.1.0 to 0.1.2. [#112]
- Typos and bad doc links. [#117]

[0.1.13]: https://github.com/rust-random/getrandom/compare/v0.1.12...v0.1.13
[#86]: https://github.com/rust-random/getrandom/pull/86
[#104]: https://github.com/rust-random/getrandom/pull/104
[#112]: https://github.com/rust-random/getrandom/pull/112
Expand All @@ -551,13 +580,15 @@ system. [#104]
### Changed
- Update wasi dependency from v0.5 to v0.7. [#100]

[0.1.12]: https://github.com/rust-random/getrandom/compare/v0.1.11...v0.1.12
[#100]: https://github.com/rust-random/getrandom/pull/100

## [0.1.11] - 2019-08-25
### Fixed
- Implement `std`-dependent traits for selected targets even if `std`
feature is disabled. (backward compatibility with v0.1.8) [#96]

[0.1.11]: https://github.com/rust-random/getrandom/compare/v0.1.10...v0.1.11
[#96]: https://github.com/rust-random/getrandom/pull/96

## [0.1.10] - 2019-08-18 [YANKED]
Expand All @@ -568,6 +599,7 @@ disabled `dummy` feature. [#90]
### Fixed
- Fix CSP error for `wasm-bindgen`. [#92]

[0.1.10]: https://github.com/rust-random/getrandom/compare/v0.1.9...v0.1.10
[#90]: https://github.com/rust-random/getrandom/pull/90
[#92]: https://github.com/rust-random/getrandom/pull/92

Expand All @@ -582,6 +614,7 @@ This behaviour can be disabled by using the `dummy` feature. [#71]
- Add support for UWP targets. [#69]
- Add unstable `rustc-dep-of-std` feature. [#78]

[0.1.9]: https://github.com/rust-random/getrandom/compare/v0.1.8...v0.1.9
[#58]: https://github.com/rust-random/getrandom/pull/58
[#64]: https://github.com/rust-random/getrandom/pull/64
[#69]: https://github.com/rust-random/getrandom/pull/69
Expand All @@ -592,6 +625,7 @@ This behaviour can be disabled by using the `dummy` feature. [#71]
### Changed
- Explicitly specify types to arguments of 'libc::syscall'. [#74]

[0.1.8]: https://github.com/rust-random/getrandom/compare/v0.1.7...v0.1.8
[#74]: https://github.com/rust-random/getrandom/pull/74

## [0.1.7] - 2019-07-29
Expand All @@ -611,6 +645,7 @@ initialization. [#51] [#52]
### Deprecated
- `Error::UNKNOWN`, `Error::UNAVAILABLE`. [#54]

[0.1.7]: https://github.com/rust-random/getrandom/compare/v0.1.6...v0.1.7
[#51]: https://github.com/rust-random/getrandom/pull/51
[#52]: https://github.com/rust-random/getrandom/pull/52
[#54]: https://github.com/rust-random/getrandom/pull/54
Expand All @@ -622,6 +657,7 @@ initialization. [#51] [#52]
### Changed
- Minor change of RDRAND AMD bug handling. [#48]

[0.1.6]: https://github.com/rust-random/getrandom/compare/v0.1.5...v0.1.6
[#48]: https://github.com/rust-random/getrandom/pull/48

## [0.1.5] - 2019-06-29
Expand All @@ -632,6 +668,7 @@ initialization. [#51] [#52]
### Changed
- Try `getentropy` and then fallback to `/dev/random` on macOS. [#38]

[0.1.5]: https://github.com/rust-random/getrandom/compare/v0.1.4...v0.1.5
[#38]: https://github.com/rust-random/getrandom/issues/38
[#43]: https://github.com/rust-random/getrandom/pull/43
[#44]: https://github.com/rust-random/getrandom/issues/44
Expand All @@ -653,6 +690,7 @@ feature detection. [#30]
- Increase consistency with libc implementation on FreeBSD. [#36]
- Apply `rustfmt`. [#39]

[0.1.4]: https://github.com/rust-random/getrandom/compare/v0.1.3...v0.1.4
[#30]: https://github.com/rust-random/getrandom/pull/30
[#13]: https://github.com/rust-random/getrandom/issues/13
[#40]: https://github.com/rust-random/getrandom/pull/40
Expand All @@ -668,58 +706,24 @@ feature detection. [#30]
- Update for `wasm32-unknown-wasi` being renamed to `wasm32-wasi`, and for
WASI being categorized as an OS.

[0.1.3]: https://github.com/rust-random/getrandom/compare/v0.1.2...v0.1.3

## [0.1.2] - 2019-04-06
- Add support for `wasm32-unknown-wasi` target.

[0.1.2]: https://github.com/rust-random/getrandom/compare/v0.1.1...v0.1.2

## [0.1.1] - 2019-04-05
- Enable std functionality for CloudABI by default.

[0.1.1]: https://github.com/rust-random/getrandom/compare/v0.1.0...v0.1.1

## [0.1.0] - 2019-03-23
Publish initial implementation.

[0.1.0]: https://github.com/rust-random/getrandom/compare/v0.0.0...v0.1.0

## [0.0.0] - 2019-01-19
Publish an empty template library.

[0.4.1]: https://github.com/rust-random/getrandom/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/rust-random/getrandom/compare/v0.3.4...v0.4.0
[0.3.4]: https://github.com/rust-random/getrandom/compare/v0.3.3...v0.3.4
[0.3.3]: https://github.com/rust-random/getrandom/compare/v0.3.2...v0.3.3
[0.3.2]: https://github.com/rust-random/getrandom/compare/v0.3.1...v0.3.2
[0.3.1]: https://github.com/rust-random/getrandom/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/rust-random/getrandom/compare/v0.2.15...v0.3.0
[0.2.17]: https://github.com/rust-random/getrandom/compare/v0.2.16...v0.2.17
[0.2.16]: https://github.com/rust-random/getrandom/compare/v0.2.15...v0.2.16
[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
[0.2.12]: https://github.com/rust-random/getrandom/compare/v0.2.11...v0.2.12
[0.2.11]: https://github.com/rust-random/getrandom/compare/v0.2.10...v0.2.11
[0.2.10]: https://github.com/rust-random/getrandom/compare/v0.2.9...v0.2.10
[0.2.9]: https://github.com/rust-random/getrandom/compare/v0.2.8...v0.2.9
[0.2.8]: https://github.com/rust-random/getrandom/compare/v0.2.7...v0.2.8
[0.2.7]: https://github.com/rust-random/getrandom/compare/v0.2.6...v0.2.7
[0.2.6]: https://github.com/rust-random/getrandom/compare/v0.2.5...v0.2.6
[0.2.5]: https://github.com/rust-random/getrandom/compare/v0.2.4...v0.2.5
[0.2.4]: https://github.com/rust-random/getrandom/compare/v0.2.3...v0.2.4
[0.2.3]: https://github.com/rust-random/getrandom/compare/v0.2.2...v0.2.3
[0.2.2]: https://github.com/rust-random/getrandom/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/rust-random/getrandom/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/rust-random/getrandom/compare/v0.1.16...v0.2.0
[0.1.16]: https://github.com/rust-random/getrandom/compare/v0.1.15...v0.1.16
[0.1.15]: https://github.com/rust-random/getrandom/compare/v0.1.14...v0.1.15
[0.1.14]: https://github.com/rust-random/getrandom/compare/v0.1.13...v0.1.14
[0.1.13]: https://github.com/rust-random/getrandom/compare/v0.1.12...v0.1.13
[0.1.12]: https://github.com/rust-random/getrandom/compare/v0.1.11...v0.1.12
[0.1.11]: https://github.com/rust-random/getrandom/compare/v0.1.10...v0.1.11
[0.1.10]: https://github.com/rust-random/getrandom/compare/v0.1.9...v0.1.10
[0.1.9]: https://github.com/rust-random/getrandom/compare/v0.1.8...v0.1.9
[0.1.8]: https://github.com/rust-random/getrandom/compare/v0.1.7...v0.1.8
[0.1.7]: https://github.com/rust-random/getrandom/compare/v0.1.6...v0.1.7
[0.1.6]: https://github.com/rust-random/getrandom/compare/v0.1.5...v0.1.6
[0.1.5]: https://github.com/rust-random/getrandom/compare/v0.1.4...v0.1.5
[0.1.4]: https://github.com/rust-random/getrandom/compare/v0.1.3...v0.1.4
[0.1.3]: https://github.com/rust-random/getrandom/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/rust-random/getrandom/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/rust-random/getrandom/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/rust-random/getrandom/compare/v0.0.0...v0.1.0
[0.0.0]: https://github.com/rust-random/getrandom/releases/tag/v0.0.0