Skip to content

build(deps): bump getrandom from 0.2.17 to 0.4.2 - #32

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/getrandom-0.4.2
Open

build(deps): bump getrandom from 0.2.17 to 0.4.2#32
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/getrandom-0.4.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 14, 2026

Copy link
Copy Markdown
Contributor

Bumps getrandom from 0.2.17 to 0.4.2.

Changelog

Sourced from getrandom's changelog.

0.4.2 - 2026-03-03

Changed

  • Bump r-efi dependency to v6 #814

Fixed

  • Read errno only when it is set #810
  • Check the return value of ProcessPrng on Windows #811

#810: rust-random/getrandom#810 #811: rust-random/getrandom#811 #814: rust-random/getrandom#814

0.4.1 - 2026-02-03

Fixed

  • Documentation build on docs.rs #801

#801: rust-random/getrandom#801

0.4.0 - 2026-02-02

Added

  • RawOsError type alias #739
  • SysRng behind new feature sys_rng #751
  • WASIp3 support #779
  • extern_impl opt-in backend #786 #794
  • Motor OS support #797

Changed

  • Use Edition 2024 and MSRV 1.85 #749

#739: rust-random/getrandom#739 #749: rust-random/getrandom#749 #751: rust-random/getrandom#751 #779: rust-random/getrandom#779 #786: rust-random/getrandom#786 #794: rust-random/getrandom#794 #797: rust-random/getrandom#797

[0.3.4] - 2025-10-14

Major change to wasm_js backend

Now, when the wasm_js feature is enabled, the wasm_js backend will be used by default. Users of wasm32-unknown-unknown targeting JavaScript environments like the Web and Node.js will no longer need to specify:

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.17 to 0.4.2.
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md)
- [Commits](rust-random/getrandom@v0.2.17...v0.4.2)

---
updated-dependencies:
- dependency-name: getrandom
  dependency-version: 0.4.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 14, 2026
@dependabot
dependabot Bot requested a review from Opfour as a code owner April 14, 2026 15:14
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 14, 2026

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request is currently blocked by a critical issue: the diff is empty despite the title suggesting a dependency upgrade. While Codacy reports the project is 'up to standards', no actual changes to manifest files (e.g., Cargo.toml or Cargo.lock) are present in the submission. Furthermore, the intended upgrade to getrandom v0.4.2 is a major breaking change that requires Rust 1.85 and the 2024 Edition. Without the manifest updates and verification of toolchain compatibility, this PR cannot be merged.

About this PR

  • The upgrade from 0.2 to 0.4 involves breaking changes, including a Minimum Supported Rust Version (MSRV) of 1.85 and Edition 2024. Please ensure the project's toolchain and environment are compatible with these requirements.
  • The provided code diff is empty. A dependency bump must include changes to manifest files such as Cargo.toml and Cargo.lock to be functional.

Test suggestions

  • Verify project compiles successfully with getrandom v0.4.2 and Rust 1.85+.
  • Run integration tests for modules utilizing random number generation to ensure API compatibility.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify project compiles successfully with getrandom v0.4.2 and Rust 1.85+.
2. Run integration tests for modules utilizing random number generation to ensure API compatibility.
Low confidence findings
  • Major changes to the wasm_js backend in this version may require project-level configuration updates if the project targets Web or Node.js environments.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants