32 curated breaking changes across major versions of getrandom. Use this as a migration checklist before bumping dependencies.
Bump MSRV to 1.63 [#542]
Do not retry on `EAGAIN` while polling `/dev/random` on Linux [#522]
Use `js_namespace` in the `wasm_js` backend [#559]
`wasm32-wasip1` and `wasm32-wasip2` support [#499]
`getrandom_backend` configuration flag for selection of opt-in backends [#504]
`Error::new_custom` method [#507]
`rndr` opt-in backend [#512]
Automatic MemorySanitizer support [#521] [#571]
`u32` and `u64` functions for generating random values of the respective type [#544]
`wasm32v1-none` support in the `wasm_js` backend [#560]
`wasm_js` crate feature which allows users to enable the `wasm_js` opt-in backend [#574]
`wasm32-wasi` target support (use `wasm32-wasip1` or `wasm32-wasip2` instead) [#499]
`linux_disable_fallback`, `rdrand`, `js`, `test-in-browser`, and `custom` crate features
`register_custom_getrandom!` macro [#504]
Implementation of `From<NonZeroU32>` for `Error` and `Error::code` method [#507]
Internet Explorer 11 support [#554]
Target-specific associated `Error` constants [#562]
Use `ProcessPrng` on Windows 10 and up, and use `RtlGenRandom` on older Windows versions [#415]
Do not use locale-specific `strerror_r` for retrieving error code descriptions [#440]
Avoid assuming `usize` is the native word size in the `rdrand` backend [#442]
Do not read from `errno` when `libc` did not indicate error on Solaris [#448]
Switch from `libpthread`'s mutex to `futex` on Linux and to `nanosleep`-based wait loop
Remove separate codepath for Node.js in the `wasm_js` backend
Rename `getrandom` and `getrandom_uninit` functions to `fill` and `fill_uninit` respectively [#532]
Update MSRV to 1.36 [#291]
Only impl `std` traits when the `"std"` Cargo feature is specified [#106]
Update minimum supported Linux kernel to 2.6.32 [#153]
Update MSRV to 1.34 [#159]
Unsupported targets no longer compile [#107]
Change/Add `Error` constants [#120]
Remove optional `"log"` dependency [#131]
Remove official support for Hermit, L4Re, and UEFI [#133]
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cargo/getrandom