interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / vendor / getrandom / CHANGELOG.md

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