getrandom breaking changes
getrandom 0.4.0 (February 2, 2026) is its newest release with breaking changes. The first: Raises the minimum supported Rust version to 1.85 and moves to Edition 2024 in getrandom 0.4.0. Every breaking API change we have recorded in getrandom on crates.io: 32 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.4.3, released June 17, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
getrandom 0.4.0 breaking changes
- Behavior changed
The crate now uses Rust Edition 2024 and requires Rust 1.85 or later. Users on older Rust toolchains must upgrade before building this version. github.com
getrandom 0.3.4 breaking changes
- Removed
rustc-dep-of-std
The unstable rustc-dep-of-std crate feature was removed, so code that enables it will no longer build. github.com - Default changed
On wasm32-unknown-unknown, enabling the wasm_js feature now selects the wasm_js backend without setting --cfg getrandom_backend="wasm_js". Using --cfg getrandom_backend still overrides the backend. github.com
getrandom 0.3.2 breaking changes
- Removed
getrandom::Error::CUSTOM_START
The Error::CUSTOM_START associated constant was removed in this release. Code that references it must stop using it. crates.io - Removed
getrandom::Error::INTERNAL_START
The Error::INTERNAL_START associated constant was removed in this release. Code that references it must stop using it. crates.io - Signature changed
getrandom::Error
Was struct Error(NonZeroU32); now struct Error(NonZeroRawOsError). crates.io
getrandom 0.3.0 breaking changes
- Removed
Build for wasm32-wasip1 or wasm32-wasip2 instead of wasm32-wasi. github.com - Removed
Internet Explorer 11 is no longer supported. github.com - Removed
custom
Use configuration flags instead of this crate feature. github.com - Removed
Error
Code using these Error constants must be updated. github.com - Removed
Error.from
Conversions from NonZeroU32 to Error are no longer available. github.com - Removed
getrandom::Error::code
Code calling Error::code must be updated. crates.io - Removed
getrandom::Error::FAILED_RDRAND
getrandom::Error::FAILED_RDRAND was removed in getrandom 0.3.0 crates.io - Removed
getrandom::Error::IOS_SEC_RANDOM
getrandom::Error::IOS_SEC_RANDOM was removed in getrandom 0.3.0 crates.io - Removed
getrandom::Error::NO_RDRAND
getrandom::Error::NO_RDRAND was removed in getrandom 0.3.0 crates.io - Removed
getrandom::Error::NODE_CRYPTO
getrandom::Error::NODE_CRYPTO was removed in getrandom 0.3.0 crates.io
And 16 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.