Debian Codegraph @

third_party/rust/getrandom/CHANGELOG.md

raw
1 # Changelog
2 All notable changes to this project will be documented in this file.
3
4 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7 ## [0.3.3] - 2025-05-09
8
9 ### Changed
10 - Doc improvements [#632] [#634] [#635]
11 - Add crate version to docs.rs links used in `compile_error!`s [#639]
12
13 ## Fixed
14 - Error handling in WASI p1 [#661]
15
16 [#632]: https://github.com/rust-random/getrandom/pull/632
17 [#634]: https://github.com/rust-random/getrandom/pull/634
18 [#635]: https://github.com/rust-random/getrandom/pull/635
19 [#639]: https://github.com/rust-random/getrandom/pull/639
20 [#661]: https://github.com/rust-random/getrandom/pull/661
21
22 ## [0.3.2] - 2025-03-17
23
24 ### Added
25 - `efi_rng` opt-in backend [#570]
26 - `linux_raw` opt-in backend [#572]
27 - `.cargo/config.toml` example in the crate-level docs [#591]
28 - `getrandom_test_linux_without_fallback` configuration flag to test that file fallback
29 is not triggered in the `linux_android_with_fallback` backend [#605]
30 - Built-in support for `*-linux-none` targets [#618]
31 - Cygwin support [#626]
32
33 ### Changed
34 - Update `wasi` dependency to v0.14 [#594]
35 - Add `#[inline]` attribute to the inner functions [#596]
36 - Update WASI and Emscripten links in the crate-level docs [#597]
37 - Do not use `dlsym` on MUSL targets in the `linux_android_with_fallback` backend [#602]
38 - Remove `linux_android.rs` and use `getrandom.rs` instead [#603]
39 - Always use `RtlGenRandom` on Windows targets when compiling with pre-1.78 Rust [#610]
40 - Internal representation of the `Error` type [#614]
41 - Remove `windows-targets` dependency and use [`raw-dylib`] directly [#627]
42
43 ### Removed
44 - `Error::INTERNAL_START` and `Error::CUSTOM_START` associated constants [#614]
45
46 [#570]: https://github.com/rust-random/getrandom/pull/570
47 [#572]: https://github.com/rust-random/getrandom/pull/572
48 [#591]: https://github.com/rust-random/getrandom/pull/591
49 [#594]: https://github.com/rust-random/getrandom/pull/594
50 [#596]: https://github.com/rust-random/getrandom/pull/596
51 [#597]: https://github.com/rust-random/getrandom/pull/597
52 [#602]: https://github.com/rust-random/getrandom/pull/602
53 [#603]: https://github.com/rust-random/getrandom/pull/603
54 [#605]: https://github.com/rust-random/getrandom/pull/605
55 [#610]: https://github.com/rust-random/getrandom/pull/610
56 [#614]: https://github.com/rust-random/getrandom/pull/614
57 [#618]: https://github.com/rust-random/getrandom/pull/618
58 [#626]: https://github.com/rust-random/getrandom/pull/626
59 [#627]: https://github.com/rust-random/getrandom/pull/627
60 [`raw-dylib`]: https://doc.rust-lang.org/reference/items/external-blocks.html?highlight=link#dylib-versus-raw-dylib
61
62 ## [0.3.1] - 2025-01-28
63
64 ### Fixed
65 - Build error on Android [#588]
66
67 [#588]: https://github.com/rust-random/getrandom/pull/588
68
69 ## [0.3.0] - 2025-01-25
70
71 ### Breaking Changes
72
73 #### Changed
74 - Bump MSRV to 1.63 [#542]
75 - Rename `getrandom` and `getrandom_uninit` functions to `fill` and `fill_uninit` respectively [#532]
76
77 #### Removed
78 - `wasm32-wasi` target support (use `wasm32-wasip1` or `wasm32-wasip2` instead) [#499]
79 - `linux_disable_fallback`, `rdrand`, `js`, `test-in-browser`, and `custom` crate features
80 in favor of configuration flags [#504]
81 - `register_custom_getrandom!` macro [#504]
82 - Implementation of `From<NonZeroU32>` for `Error` and `Error::code` method [#507]
83 - Internet Explorer 11 support [#554]
84 - Target-specific assocciated `Error` constants [#562]
85
86 ### Changed
87 - Use `ProcessPrng` on Windows 10 and up, and use `RtlGenRandom` on older Windows versions [#415]
88 - Do not use locale-specific `strerror_r` for retrieving error code descriptions [#440]
89 - Avoid assuming `usize` is the native word size in the `rdrand` backend [#442]
90 - Do not read from `errno` when `libc` did not indicate error on Solaris [#448]
91 - Switch from `libpthread`'s mutex to `futex` on Linux and to `nanosleep`-based wait loop
92 on other targets in the `use_file` backend [#490]
93 - Do not retry on `EAGAIN` while polling `/dev/random` on Linux [#522]
94 - Remove separate codepath for Node.js in the `wasm_js` backend
95 (bumps minimum supported Node.js version to v19) [#557]
96 - Use `js_namespace` in the `wasm_js` backend [#559]
97
98 ### Added
99 - `wasm32-wasip1` and `wasm32-wasip2` support [#499]
100 - `getrandom_backend` configuration flag for selection of opt-in backends [#504]
101 - `Error::new_custom` method [#507]
102 - `rndr` opt-in backend [#512]
103 - Automatic MemorySanitizer support [#521] [#571]
104 - `u32` and `u64` functions for generating random values of the respective type [#544]
105 - `wasm32v1-none` support in the `wasm_js` backend [#560]
106 - `wasm_js` crate feature which allows users to enable the `wasm_js` opt-in backend [#574]
107
108 ### Fixed
109 - NetBSD fallback code based on `KERN_ARND` [#555]
110
111 [#415]: https://github.com/rust-random/getrandom/pull/415
112 [#440]: https://github.com/rust-random/getrandom/pull/440
113 [#442]: https://github.com/rust-random/getrandom/pull/442
114 [#448]: https://github.com/rust-random/getrandom/pull/448
115 [#490]: https://github.com/rust-random/getrandom/pull/490
116 [#499]: https://github.com/rust-random/getrandom/pull/499
117 [#504]: https://github.com/rust-random/getrandom/pull/504
118 [#507]: https://github.com/rust-random/getrandom/pull/507
119 [#512]: https://github.com/rust-random/getrandom/pull/512
120 [#521]: https://github.com/rust-random/getrandom/pull/521
121 [#522]: https://github.com/rust-random/getrandom/pull/522
122 [#532]: https://github.com/rust-random/getrandom/pull/532
123 [#542]: https://github.com/rust-random/getrandom/pull/542
124 [#544]: https://github.com/rust-random/getrandom/pull/544
125 [#554]: https://github.com/rust-random/getrandom/pull/554
126 [#555]: https://github.com/rust-random/getrandom/pull/555
127 [#557]: https://github.com/rust-random/getrandom/pull/557
128 [#559]: https://github.com/rust-random/getrandom/pull/559
129 [#560]: https://github.com/rust-random/getrandom/pull/560
130 [#562]: https://github.com/rust-random/getrandom/pull/562
131 [#571]: https://github.com/rust-random/getrandom/pull/571
132 [#574]: https://github.com/rust-random/getrandom/pull/574
133
134 ## [0.2.16] - 2025-04-22
135 ### Added
136 - Cygwin support (backport of [#626]) [#654]
137
138 [#654]: https://github.com/rust-random/getrandom/pull/654
139
140 ## [0.2.15] - 2024-05-06
141 ### Added
142 - Apple visionOS support [#410]
143
144 ### Changed
145 - Use `libc::getrandom` on DragonflyBSD, FreeBSD, illumos, and Solaris [#411] [#416] [#417] [#420]
146 - Unify `libc::getentropy`-based implementations [#418]
147
148 [#410]: https://github.com/rust-random/getrandom/pull/410
149 [#411]: https://github.com/rust-random/getrandom/pull/411
150 [#416]: https://github.com/rust-random/getrandom/pull/416
151 [#417]: https://github.com/rust-random/getrandom/pull/417
152 [#418]: https://github.com/rust-random/getrandom/pull/418
153 [#420]: https://github.com/rust-random/getrandom/pull/420
154
155 ## [0.2.14] - 2024-04-08
156 ### Fixed
157 - Enable `/dev/urandom` fallback for MUSL-based Linux targets [#408]
158
159 [#408]: https://github.com/rust-random/getrandom/pull/408
160
161 ## [0.2.13] - 2024-04-06
162 ### Added
163 - `linux_disable_fallback` crate feature to disable `/dev/urandom`-based fallback on Linux and
164 Android targets. Enabling this feature bumps minimum supported Linux kernel version to 3.17 and
165 Android API level to 23 (Marshmallow). [#396]
166
167 ### Changed
168 - Disable `/dev/urandom` fallback for Linux targets outside of the following `target_arch`es:
169 `aarch64`, `arm`, `powerpc`, `powerpc64`, `s390x`, `x86`, `x86_64` [#396]
170 - Do not catch `EPERM` error code on Android while checking availability of
171 the `getrandom` syscall [#396]
172
173 [#396]: https://github.com/rust-random/getrandom/pull/396
174
175 ## [0.2.12] - 2024-01-09
176 ### Fixed
177 - Custom backend for targets without atomics [#385]
178
179 ### Changed
180 - Improve robustness of the Hermit backend and `sys_fill_exact` [#386]
181 - Raise minimum supported Apple OS versions to macOS 10.12 and iOS 10 [#388]
182
183 ### Added
184 - Document platform support policy [#387]
185
186 [#385]: https://github.com/rust-random/getrandom/pull/385
187 [#386]: https://github.com/rust-random/getrandom/pull/386
188 [#387]: https://github.com/rust-random/getrandom/pull/387
189 [#388]: https://github.com/rust-random/getrandom/pull/388
190
191 ## [0.2.11] - 2023-11-08
192 ### Added
193 - GNU/Hurd support [#370]
194
195 ### Changed
196 - Renamed `__getrandom_internal` to `__GETRANDOM_INTERNAL` [#369]
197 - Updated link to Hermit docs [#374]
198
199 [#369]: https://github.com/rust-random/getrandom/pull/369
200 [#370]: https://github.com/rust-random/getrandom/pull/370
201 [#374]: https://github.com/rust-random/getrandom/pull/374
202
203 ## [0.2.10] - 2023-06-06
204 ### Added
205 - Support for PS Vita (`armv7-sony-vita-newlibeabihf`) [#359]
206
207 ### Changed
208 - Use getentropy from libc on Emscripten targets [#362]
209
210 [#359]: https://github.com/rust-random/getrandom/pull/359
211 [#362]: https://github.com/rust-random/getrandom/pull/362
212
213 ## [0.2.9] - 2023-04-06
214 ### Added
215 - AIX support [#282]
216 - `getrandom_uninit` function [#291]
217 - `wasm64-unknown-unknown` support [#303]
218 - tvOS and watchOS support [#317]
219 - QNX/nto support [#325]
220 - Support for `getrandom` syscall on NetBSD ≥ 10.0 [#331]
221 - `RtlGenRandom` fallback for non-UWP Windows [#337]
222
223 ### Breaking Changes
224 - Update MSRV to 1.36 [#291]
225
226 ### Fixed
227 - Solaris/OpenBSD/Dragonfly build [#301]
228
229 ### Changed
230 - Update MSRV to 1.36 [#291]
231 - Use getentropy on Emscripten [#307]
232 - Solaris: consistantly use `/dev/random` source [#310]
233 - Move 3ds selection above rdrand/js/custom fallback [#312]
234 - Remove buffer zeroing from Node.js implementation [#315]
235 - Use `open` instead of `open64` [#326]
236 - Remove #cfg from bsd_arandom.rs [#332]
237 - Hermit: use `sys_read_entropy` syscall [#333]
238 - Eliminate potential panic in sys_fill_exact [#334]
239 - rdrand: Remove checking for 0 and !0 and instead check CPU family and do a self-test [#335]
240 - Move `__getrandom_custom` definition into a const block [#344]
241 - Switch the custom backend to Rust ABI [#347]
242
243 [#282]: https://github.com/rust-random/getrandom/pull/282
244 [#291]: https://github.com/rust-random/getrandom/pull/291
245 [#301]: https://github.com/rust-random/getrandom/pull/301
246 [#303]: https://github.com/rust-random/getrandom/pull/303
247 [#307]: https://github.com/rust-random/getrandom/pull/307
248 [#310]: https://github.com/rust-random/getrandom/pull/310
249 [#312]: https://github.com/rust-random/getrandom/pull/312
250 [#315]: https://github.com/rust-random/getrandom/pull/315
251 [#317]: https://github.com/rust-random/getrandom/pull/317
252 [#325]: https://github.com/rust-random/getrandom/pull/325
253 [#326]: https://github.com/rust-random/getrandom/pull/326
254 [#331]: https://github.com/rust-random/getrandom/pull/331
255 [#332]: https://github.com/rust-random/getrandom/pull/332
256 [#333]: https://github.com/rust-random/getrandom/pull/333
257 [#334]: https://github.com/rust-random/getrandom/pull/334
258 [#335]: https://github.com/rust-random/getrandom/pull/335
259 [#337]: https://github.com/rust-random/getrandom/pull/337
260 [#344]: https://github.com/rust-random/getrandom/pull/344
261 [#347]: https://github.com/rust-random/getrandom/pull/347
262
263 ## [0.2.8] - 2022-10-20
264 ### Changed
265 - The [Web Cryptography API] will now be preferred on `wasm32-unknown-unknown`
266 when using the `"js"` feature, even on Node.js [#284] [#295]
267
268 ### Added
269 - Added benchmarks to track buffer initialization cost [#272]
270
271 ### Fixed
272 - Use `$crate` in `register_custom_getrandom!` [#270]
273
274 ### Documentation
275 - Add information about enabling `"js"` feature [#280]
276 - Fix link to `wasm-bindgen` [#278]
277 - Document the varied implementations for underlying randomness sources [#276]
278
279 [Web Cryptography API]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API
280 [#284]: https://github.com/rust-random/getrandom/pull/284
281 [#295]: https://github.com/rust-random/getrandom/pull/295
282 [#272]: https://github.com/rust-random/getrandom/pull/272
283 [#270]: https://github.com/rust-random/getrandom/pull/270
284 [#280]: https://github.com/rust-random/getrandom/pull/280
285 [#278]: https://github.com/rust-random/getrandom/pull/278
286 [#276]: https://github.com/rust-random/getrandom/pull/276
287
288 ## [0.2.7] - 2022-06-14
289 ### Changed
290 - Update `wasi` dependency to `0.11` [#253]
291
292 ### Fixed
293 - Use `AtomicPtr` instead of `AtomicUsize` for Strict Provenance compatibility. [#263]
294
295 ### Documentation
296 - Add comments explaining use of fallback mechanisms [#257] [#260]
297
298 [#263]: https://github.com/rust-random/getrandom/pull/263
299 [#260]: https://github.com/rust-random/getrandom/pull/260
300 [#253]: https://github.com/rust-random/getrandom/pull/253
301 [#257]: https://github.com/rust-random/getrandom/pull/257
302
303 ## [0.2.6] - 2022-03-28
304 ### Added
305 - Nintendo 3DS (`armv6k-nintendo-3ds`) support [#248]
306
307 ### Changed
308 - Retry `open` when interrupted [#252]
309
310 [#248]: https://github.com/rust-random/getrandom/pull/248
311 [#252]: https://github.com/rust-random/getrandom/pull/252
312
313 ## [0.2.5] - 2022-02-22
314 ### Added
315 - ESP-IDF targets (`*‑espidf`) support [#245]
316
317 ### Fixed
318 - Webpack warning caused by dynamic require [#234]
319 - Error checking on iOS for `SecRandomCopyBytes` [#244]
320
321 [#234]: https://github.com/rust-random/getrandom/pull/234
322 [#244]: https://github.com/rust-random/getrandom/pull/244
323 [#245]: https://github.com/rust-random/getrandom/pull/245
324
325 ## [0.2.4] - 2021-12-13
326 ### Changed
327 - Use explicit imports in the `js` backend [#220]
328 - Use `/dev/urandom` on Redox instead of `rand:` [#222]
329 - Use `NonZeroU32::new_unchecked` to convert wasi error [#233]
330
331 ### Added
332 - SOLID targets (`*-kmc-solid_*`) support [#235]
333 - Limited Hermit (`x86_64-unknown-hermit`) support [#236]
334
335 [#220]: https://github.com/rust-random/getrandom/pull/220
336 [#222]: https://github.com/rust-random/getrandom/pull/222
337 [#233]: https://github.com/rust-random/getrandom/pull/233
338 [#235]: https://github.com/rust-random/getrandom/pull/235
339 [#236]: https://github.com/rust-random/getrandom/pull/236
340
341 ## [0.2.3] - 2021-04-10
342 ### Changed
343 - Replace build.rs with link attributes. [#205]
344 - Add support for getrandom syscall on DragonFly BSD. [#210]
345 - Improve Node.js detection. [#215]
346
347 [#205]: https://github.com/rust-random/getrandom/pull/205
348 [#210]: https://github.com/rust-random/getrandom/pull/210
349 [#215]: https://github.com/rust-random/getrandom/pull/215
350
351 ## [0.2.2] - 2021-01-19
352 ### Changed
353 - Forward `rustc-dep-of-std` to dependencies. [#198]
354 - Highlight feature-dependent functionality in documentation using the `doc_cfg` feature. [#200]
355
356 [#198]: https://github.com/rust-random/getrandom/pull/198
357 [#200]: https://github.com/rust-random/getrandom/pull/200
358
359 ## [0.2.1] - 2021-01-03
360 ### Changed
361 - Update `cfg-if` to v1.0. [#166]
362 - Update `wasi` to v0.10. [#167]
363
364 ### Fixed
365 - Multithreaded WASM support. [#165]
366
367 ### Removed
368 - Windows XP support. [#177]
369 - Direct `stdweb` support. [#178]
370 - CloudABI support. [#184]
371
372 [#165]: https://github.com/rust-random/getrandom/pull/165
373 [#166]: https://github.com/rust-random/getrandom/pull/166
374 [#167]: https://github.com/rust-random/getrandom/pull/167
375 [#177]: https://github.com/rust-random/getrandom/pull/177
376 [#178]: https://github.com/rust-random/getrandom/pull/178
377 [#184]: https://github.com/rust-random/getrandom/pull/184
378
379 ## [0.2.0] - 2020-09-10
380 ### Features for using getrandom on unsupported targets
381
382 The following (off by default) Cargo features have been added:
383 - `"rdrand"` - use the RDRAND instruction on `no_std` `x86`/`x86_64` targets [#133]
384 - `"js"` - use JavaScript calls on `wasm32-unknown-unknown` [#149]
385 - Replaces the `stdweb` and `wasm-bindgen` features (which are removed)
386 - `"custom"` - allows a user to specify a custom implementation [#109]
387
388 ### Breaking Changes
389 - Unsupported targets no longer compile [#107]
390 - Change/Add `Error` constants [#120]
391 - Only impl `std` traits when the `"std"` Cargo feature is specified [#106]
392 - Remove official support for Hermit, L4Re, and UEFI [#133]
393 - Remove optional `"log"` dependency [#131]
394 - Update minimum supported Linux kernel to 2.6.32 [#153]
395 - Update MSRV to 1.34 [#159]
396
397 [#106]: https://github.com/rust-random/getrandom/pull/106
398 [#107]: https://github.com/rust-random/getrandom/pull/107
399 [#109]: https://github.com/rust-random/getrandom/pull/109
400 [#120]: https://github.com/rust-random/getrandom/pull/120
401 [#131]: https://github.com/rust-random/getrandom/pull/131
402 [#133]: https://github.com/rust-random/getrandom/pull/133
403 [#149]: https://github.com/rust-random/getrandom/pull/149
404 [#153]: https://github.com/rust-random/getrandom/pull/153
405 [#159]: https://github.com/rust-random/getrandom/pull/159
406
407 ## [0.1.16] - 2020-12-31
408 ### Changed
409 - Update `cfg-if` to v1.0. [#173]
410 - Implement `std::error::Error` for the `Error` type on additional targets. [#169]
411
412 ### Fixed
413 - Multithreaded WASM support. [#171]
414
415 [#173]: https://github.com/rust-random/getrandom/pull/173
416 [#171]: https://github.com/rust-random/getrandom/pull/171
417 [#169]: https://github.com/rust-random/getrandom/pull/169
418
419 ## [0.1.15] - 2020-09-10
420 ### Changed
421 - Added support for Internet Explorer 11 [#139]
422 - Fix Webpack require warning with `wasm-bindgen` [#137]
423
424 [#137]: https://github.com/rust-random/getrandom/pull/137
425 [#139]: https://github.com/rust-random/getrandom/pull/139
426
427 ## [0.1.14] - 2020-01-07
428 ### Changed
429 - Remove use of spin-locks in the `use_file` module. [#125]
430 - Update `wasi` to v0.9. [#126]
431 - Do not read errno value on DragonFlyBSD to fix compilation failure. [#129]
432
433 [#125]: https://github.com/rust-random/getrandom/pull/125
434 [#126]: https://github.com/rust-random/getrandom/pull/126
435 [#129]: https://github.com/rust-random/getrandom/pull/129
436
437 ## [0.1.13] - 2019-08-25
438 ### Added
439 - VxWorks targets support. [#86]
440
441 ### Changed
442 - If zero-length slice is passed to the `getrandom` function, always return
443 `Ok(())` immediately without doing any calls to the underlying operating
444 system. [#104]
445 - Use the `kern.arandom` sysctl on NetBSD. [#115]
446
447 ### Fixed
448 - Bump `cfg-if` minimum version from 0.1.0 to 0.1.2. [#112]
449 - Typos and bad doc links. [#117]
450
451 [#86]: https://github.com/rust-random/getrandom/pull/86
452 [#104]: https://github.com/rust-random/getrandom/pull/104
453 [#112]: https://github.com/rust-random/getrandom/pull/112
454 [#115]: https://github.com/rust-random/getrandom/pull/115
455 [#117]: https://github.com/rust-random/getrandom/pull/117
456
457 ## [0.1.12] - 2019-08-18
458 ### Changed
459 - Update wasi dependency from v0.5 to v0.7. [#100]
460
461 [#100]: https://github.com/rust-random/getrandom/pull/100
462
463 ## [0.1.11] - 2019-08-25
464 ### Fixed
465 - Implement `std`-dependent traits for selected targets even if `std`
466 feature is disabled. (backward compatibility with v0.1.8) [#96]
467
468 [#96]: https://github.com/rust-random/getrandom/pull/96
469
470 ## [0.1.10] - 2019-08-18 [YANKED]
471 ### Changed
472 - Use the dummy implementation on `wasm32-unknown-unknown` even with the
473 disabled `dummy` feature. [#90]
474
475 ### Fixed
476 - Fix CSP error for `wasm-bindgen`. [#92]
477
478 [#90]: https://github.com/rust-random/getrandom/pull/90
479 [#92]: https://github.com/rust-random/getrandom/pull/92
480
481 ## [0.1.9] - 2019-08-14 [YANKED]
482 ### Changed
483 - Remove `std` dependency for opening and reading files. [#58]
484 - Use `wasi` instead of `libc` on WASI target. [#64]
485 - By default emit a compile-time error when built for an unsupported target.
486 This behaviour can be disabled by using the `dummy` feature. [#71]
487
488 ### Added
489 - Add support for UWP targets. [#69]
490 - Add unstable `rustc-dep-of-std` feature. [#78]
491
492 [#58]: https://github.com/rust-random/getrandom/pull/58
493 [#64]: https://github.com/rust-random/getrandom/pull/64
494 [#69]: https://github.com/rust-random/getrandom/pull/69
495 [#71]: https://github.com/rust-random/getrandom/pull/71
496 [#78]: https://github.com/rust-random/getrandom/pull/78
497
498 ## [0.1.8] - 2019-07-29
499 ### Changed
500 - Explicitly specify types to arguments of 'libc::syscall'. [#74]
501
502 [#74]: https://github.com/rust-random/getrandom/pull/74
503
504 ## [0.1.7] - 2019-07-29
505 ### Added
506 - Support for hermit and l4re. [#61]
507 - `Error::raw_os_error` method, `Error::INTERNAL_START` and
508 `Error::CUSTOM_START` constants. Use `libc` for retrieving OS error descriptions. [#54]
509
510 ### Changed
511 - Remove `lazy_static` dependency and use custom structures for lock-free
512 initialization. [#51] [#52]
513 - Try `getrandom()` first on FreeBSD. [#57]
514
515 ### Removed
516 - Bitrig support. [#56]
517
518 ### Deprecated
519 - `Error::UNKNOWN`, `Error::UNAVAILABLE`. [#54]
520
521 [#51]: https://github.com/rust-random/getrandom/pull/51
522 [#52]: https://github.com/rust-random/getrandom/pull/52
523 [#54]: https://github.com/rust-random/getrandom/pull/54
524 [#56]: https://github.com/rust-random/getrandom/pull/56
525 [#57]: https://github.com/rust-random/getrandom/pull/57
526 [#61]: https://github.com/rust-random/getrandom/pull/61
527
528 ## [0.1.6] - 2019-06-30
529 ### Changed
530 - Minor change of RDRAND AMD bug handling. [#48]
531
532 [#48]: https://github.com/rust-random/getrandom/pull/48
533
534 ## [0.1.5] - 2019-06-29
535 ### Fixed
536 - Use shared `File` instead of shared file descriptor. [#44]
537 - Workaround for RDRAND hardware bug present on some AMD CPUs. [#43]
538
539 ### Changed
540 - Try `getentropy` and then fallback to `/dev/random` on macOS. [#38]
541
542 [#38]: https://github.com/rust-random/getrandom/issues/38
543 [#43]: https://github.com/rust-random/getrandom/pull/43
544 [#44]: https://github.com/rust-random/getrandom/issues/44
545
546 ## [0.1.4] - 2019-06-28
547 ### Added
548 - Add support for `x86_64-unknown-uefi` target by using RDRAND with CPUID
549 feature detection. [#30]
550
551 ### Fixed
552 - Fix long buffer issues on Windows and Linux. [#31] [#32]
553 - Check `EPERM` in addition to `ENOSYS` on Linux. [#37]
554
555 ### Changed
556 - Improve efficiency by sharing file descriptor across threads. [#13]
557 - Remove `cloudabi`, `winapi`, and `fuchsia-cprng` dependencies. [#40]
558 - Improve RDRAND implementation. [#24]
559 - Don't block during syscall detection on Linux. [#26]
560 - Increase consistency with libc implementation on FreeBSD. [#36]
561 - Apply `rustfmt`. [#39]
562
563 [#30]: https://github.com/rust-random/getrandom/pull/30
564 [#13]: https://github.com/rust-random/getrandom/issues/13
565 [#40]: https://github.com/rust-random/getrandom/pull/40
566 [#26]: https://github.com/rust-random/getrandom/pull/26
567 [#24]: https://github.com/rust-random/getrandom/pull/24
568 [#39]: https://github.com/rust-random/getrandom/pull/39
569 [#36]: https://github.com/rust-random/getrandom/pull/36
570 [#31]: https://github.com/rust-random/getrandom/issues/31
571 [#32]: https://github.com/rust-random/getrandom/issues/32
572 [#37]: https://github.com/rust-random/getrandom/issues/37
573
574 ## [0.1.3] - 2019-05-15
575 - Update for `wasm32-unknown-wasi` being renamed to `wasm32-wasi`, and for
576 WASI being categorized as an OS.
577
578 ## [0.1.2] - 2019-04-06
579 - Add support for `wasm32-unknown-wasi` target.
580
581 ## [0.1.1] - 2019-04-05
582 - Enable std functionality for CloudABI by default.
583
584 ## [0.1.0] - 2019-03-23
585 Publish initial implementation.
586
587 ## [0.0.0] - 2019-01-19
588 Publish an empty template library.
589
590 [0.3.3]: https://github.com/rust-random/getrandom/compare/v0.3.2...v0.3.3
591 [0.3.2]: https://github.com/rust-random/getrandom/compare/v0.3.1...v0.3.2
592 [0.3.1]: https://github.com/rust-random/getrandom/compare/v0.3.0...v0.3.1
593 [0.3.0]: https://github.com/rust-random/getrandom/compare/v0.2.15...v0.3.0
594 [0.2.16]: https://github.com/rust-random/getrandom/compare/v0.2.15...v0.2.16
595 [0.2.15]: https://github.com/rust-random/getrandom/compare/v0.2.14...v0.2.15
596 [0.2.14]: https://github.com/rust-random/getrandom/compare/v0.2.13...v0.2.14
597 [0.2.13]: https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.13
598 [0.2.12]: https://github.com/rust-random/getrandom/compare/v0.2.11...v0.2.12
599 [0.2.11]: https://github.com/rust-random/getrandom/compare/v0.2.10...v0.2.11
600 [0.2.10]: https://github.com/rust-random/getrandom/compare/v0.2.9...v0.2.10
601 [0.2.9]: https://github.com/rust-random/getrandom/compare/v0.2.8...v0.2.9
602 [0.2.8]: https://github.com/rust-random/getrandom/compare/v0.2.7...v0.2.8
603 [0.2.7]: https://github.com/rust-random/getrandom/compare/v0.2.6...v0.2.7
604 [0.2.6]: https://github.com/rust-random/getrandom/compare/v0.2.5...v0.2.6
605 [0.2.5]: https://github.com/rust-random/getrandom/compare/v0.2.4...v0.2.5
606 [0.2.4]: https://github.com/rust-random/getrandom/compare/v0.2.3...v0.2.4
607 [0.2.3]: https://github.com/rust-random/getrandom/compare/v0.2.2...v0.2.3
608 [0.2.2]: https://github.com/rust-random/getrandom/compare/v0.2.1...v0.2.2
609 [0.2.1]: https://github.com/rust-random/getrandom/compare/v0.2.0...v0.2.1
610 [0.2.0]: https://github.com/rust-random/getrandom/compare/v0.1.16...v0.2.0
611 [0.1.16]: https://github.com/rust-random/getrandom/compare/v0.1.15...v0.1.16
612 [0.1.15]: https://github.com/rust-random/getrandom/compare/v0.1.14...v0.1.15
613 [0.1.14]: https://github.com/rust-random/getrandom/compare/v0.1.13...v0.1.14
614 [0.1.13]: https://github.com/rust-random/getrandom/compare/v0.1.12...v0.1.13
615 [0.1.12]: https://github.com/rust-random/getrandom/compare/v0.1.11...v0.1.12
616 [0.1.11]: https://github.com/rust-random/getrandom/compare/v0.1.10...v0.1.11
617 [0.1.10]: https://github.com/rust-random/getrandom/compare/v0.1.9...v0.1.10
618 [0.1.9]: https://github.com/rust-random/getrandom/compare/v0.1.8...v0.1.9
619 [0.1.8]: https://github.com/rust-random/getrandom/compare/v0.1.7...v0.1.8
620 [0.1.7]: https://github.com/rust-random/getrandom/compare/v0.1.6...v0.1.7
621 [0.1.6]: https://github.com/rust-random/getrandom/compare/v0.1.5...v0.1.6
622 [0.1.5]: https://github.com/rust-random/getrandom/compare/v0.1.4...v0.1.5
623 [0.1.4]: https://github.com/rust-random/getrandom/compare/v0.1.3...v0.1.4
624 [0.1.3]: https://github.com/rust-random/getrandom/compare/v0.1.2...v0.1.3
625 [0.1.2]: https://github.com/rust-random/getrandom/compare/v0.1.1...v0.1.2
626 [0.1.1]: https://github.com/rust-random/getrandom/compare/v0.1.0...v0.1.1
627 [0.1.0]: https://github.com/rust-random/getrandom/compare/v0.0.0...v0.1.0
628 [0.0.0]: https://github.com/rust-random/getrandom/releases/tag/v0.0.0