[PR #516] [CLOSED] Update getrandom requirement from 0.2.3 to 0.3.0 #507

Closed
opened 2026-02-27 20:24:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/516
Author: @dependabot[bot]
Created: 1/27/2025
Status: Closed

Base: masterHead: dependabot/cargo/getrandom-0.3.0


📝 Commits (1)

  • ddc40c8 Update getrandom requirement from 0.2.3 to 0.3.0

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 Cargo.toml (+1 -1)

📄 Description

Updates the requirements on getrandom to permit the latest version.

Changelog

Sourced from getrandom's changelog.

[0.3.0] - 2025-01-25

Breaking Changes

Changed

  • Bump MSRV to 1.63 #542
  • Rename getrandom and getrandom_uninit functions to fill and fill_uninit respectively #532

Removed

  • wasm32-wasi target support (use wasm32-wasip1 or wasm32-wasip2 instead) #499
  • linux_disable_fallback, rdrand, js, test-in-browser, and custom crate features in favor of configuration flags #504
  • register_custom_getrandom! macro #504
  • Implementation of From<NonZeroU32> for Error and Error::code method #507
  • Internet Explorer 11 support #554
  • Target-specific assocciated Error constants #562

Changed

  • 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 on other targets in the use_file backend #490
  • Do not retry on EAGAIN while polling /dev/random on Linux #522
  • Remove separate codepath for Node.js in the wasm_js backend (bumps minimum supported Node.js version to v19) #557
  • Use js_namespace in the wasm_js backend #559

Added

  • 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

Fixed

  • NetBSD fallback code based on KERN_ARND #555

#415: rust-random/getrandom#415 #440: rust-random/getrandom#440 #442: rust-random/getrandom#442 #448: rust-random/getrandom#448 #490: rust-random/getrandom#490 #499: rust-random/getrandom#499 #504: rust-random/getrandom#504 #507: rust-random/getrandom#507

... (truncated)

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/516 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 1/27/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/cargo/getrandom-0.3.0` --- ### 📝 Commits (1) - [`ddc40c8`](https://github.com/ramsayleung/rspotify/commit/ddc40c8e751f6ae9151127d2f885d74a44b5c8d0) Update getrandom requirement from 0.2.3 to 0.3.0 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+1 -1) </details> ### 📄 Description Updates the requirements on [getrandom](https://github.com/rust-random/getrandom) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p> <blockquote> <h2>[0.3.0] - 2025-01-25</h2> <h3>Breaking Changes</h3> <h4>Changed</h4> <ul> <li>Bump MSRV to 1.63 <a href="https://redirect.github.com/rust-random/getrandom/issues/542">#542</a></li> <li>Rename <code>getrandom</code> and <code>getrandom_uninit</code> functions to <code>fill</code> and <code>fill_uninit</code> respectively <a href="https://redirect.github.com/rust-random/getrandom/issues/532">#532</a></li> </ul> <h4>Removed</h4> <ul> <li><code>wasm32-wasi</code> target support (use <code>wasm32-wasip1</code> or <code>wasm32-wasip2</code> instead) <a href="https://redirect.github.com/rust-random/getrandom/issues/499">#499</a></li> <li><code>linux_disable_fallback</code>, <code>rdrand</code>, <code>js</code>, <code>test-in-browser</code>, and <code>custom</code> crate features in favor of configuration flags <a href="https://redirect.github.com/rust-random/getrandom/issues/504">#504</a></li> <li><code>register_custom_getrandom!</code> macro <a href="https://redirect.github.com/rust-random/getrandom/issues/504">#504</a></li> <li>Implementation of <code>From&lt;NonZeroU32&gt;</code> for <code>Error</code> and <code>Error::code</code> method <a href="https://redirect.github.com/rust-random/getrandom/issues/507">#507</a></li> <li>Internet Explorer 11 support <a href="https://redirect.github.com/rust-random/getrandom/issues/554">#554</a></li> <li>Target-specific assocciated <code>Error</code> constants <a href="https://redirect.github.com/rust-random/getrandom/issues/562">#562</a></li> </ul> <h3>Changed</h3> <ul> <li>Use <code>ProcessPrng</code> on Windows 10 and up, and use <code>RtlGenRandom</code> on older Windows versions <a href="https://redirect.github.com/rust-random/getrandom/issues/415">#415</a></li> <li>Do not use locale-specific <code>strerror_r</code> for retrieving error code descriptions <a href="https://redirect.github.com/rust-random/getrandom/issues/440">#440</a></li> <li>Avoid assuming <code>usize</code> is the native word size in the <code>rdrand</code> backend <a href="https://redirect.github.com/rust-random/getrandom/issues/442">#442</a></li> <li>Do not read from <code>errno</code> when <code>libc</code> did not indicate error on Solaris <a href="https://redirect.github.com/rust-random/getrandom/issues/448">#448</a></li> <li>Switch from <code>libpthread</code>'s mutex to <code>futex</code> on Linux and to <code>nanosleep</code>-based wait loop on other targets in the <code>use_file</code> backend <a href="https://redirect.github.com/rust-random/getrandom/issues/490">#490</a></li> <li>Do not retry on <code>EAGAIN</code> while polling <code>/dev/random</code> on Linux <a href="https://redirect.github.com/rust-random/getrandom/issues/522">#522</a></li> <li>Remove separate codepath for Node.js in the <code>wasm_js</code> backend (bumps minimum supported Node.js version to v19) <a href="https://redirect.github.com/rust-random/getrandom/issues/557">#557</a></li> <li>Use <code>js_namespace</code> in the <code>wasm_js</code> backend <a href="https://redirect.github.com/rust-random/getrandom/issues/559">#559</a></li> </ul> <h3>Added</h3> <ul> <li><code>wasm32-wasip1</code> and <code>wasm32-wasip2</code> support <a href="https://redirect.github.com/rust-random/getrandom/issues/499">#499</a></li> <li><code>getrandom_backend</code> configuration flag for selection of opt-in backends <a href="https://redirect.github.com/rust-random/getrandom/issues/504">#504</a></li> <li><code>Error::new_custom</code> method <a href="https://redirect.github.com/rust-random/getrandom/issues/507">#507</a></li> <li><code>rndr</code> opt-in backend <a href="https://redirect.github.com/rust-random/getrandom/issues/512">#512</a></li> <li>Automatic MemorySanitizer support <a href="https://redirect.github.com/rust-random/getrandom/issues/521">#521</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/571">#571</a></li> <li><code>u32</code> and <code>u64</code> functions for generating random values of the respective type <a href="https://redirect.github.com/rust-random/getrandom/issues/544">#544</a></li> <li><code>wasm32v1-none</code> support in the <code>wasm_js</code> backend <a href="https://redirect.github.com/rust-random/getrandom/issues/560">#560</a></li> <li><code>wasm_js</code> crate feature which allows users to enable the <code>wasm_js</code> opt-in backend <a href="https://redirect.github.com/rust-random/getrandom/issues/574">#574</a></li> </ul> <h3>Fixed</h3> <ul> <li>NetBSD fallback code based on <code>KERN_ARND</code> <a href="https://redirect.github.com/rust-random/getrandom/issues/555">#555</a></li> </ul> <p><a href="https://redirect.github.com/rust-random/getrandom/issues/415">#415</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/415">rust-random/getrandom#415</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/440">#440</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/440">rust-random/getrandom#440</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/442">#442</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/442">rust-random/getrandom#442</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/448">#448</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/448">rust-random/getrandom#448</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/490">#490</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/490">rust-random/getrandom#490</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/499">#499</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/499">rust-random/getrandom#499</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/504">#504</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/504">rust-random/getrandom#504</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/507">#507</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/507">rust-random/getrandom#507</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-random/getrandom/commit/e38855c69882c2c1ff7438f9292512a0b91275fe"><code>e38855c</code></a> Fix release date for v0.3.0 (<a href="https://redirect.github.com/rust-random/getrandom/issues/587">#587</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/d5683740ef9cd2d0ebfed73f2a629c0ebb47b5e8"><code>d568374</code></a> Release v0.3.0 (<a href="https://redirect.github.com/rust-random/getrandom/issues/563">#563</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/5e62ce9fadb401539a08b329e4cbd98cc6393f60"><code>5e62ce9</code></a> rndr: minor tweaks (<a href="https://redirect.github.com/rust-random/getrandom/issues/586">#586</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/3d0c01c35231b40f58b49f4455797c85c2e8c042"><code>3d0c01c</code></a> ci: disable broken Solaris and Emscripten cross jobs (<a href="https://redirect.github.com/rust-random/getrandom/issues/585">#585</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/7cde98b9770eaefe1bcf6194f7ac55ce28d9b53e"><code>7cde98b</code></a> Add <code>wasm_js</code> feature flag (<a href="https://redirect.github.com/rust-random/getrandom/issues/574">#574</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/6be40128a7c19bac658c6e85e808a6b5eadfd6b2"><code>6be4012</code></a> Web: use safe method to copy to <code>MaybeUninit</code> (<a href="https://redirect.github.com/rust-random/getrandom/issues/584">#584</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/2648e60c5d27979f45043e379b1af7bee5e300a9"><code>2648e60</code></a> ESP-IDF: Enable unconditionally (<a href="https://redirect.github.com/rust-random/getrandom/issues/583">#583</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/9f20e28392a32def691f692badf4fd31e6570d0f"><code>9f20e28</code></a> Remove unnecessary error branch of ProcessPrng (<a href="https://redirect.github.com/rust-random/getrandom/issues/579">#579</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/9fb4a9a2481018e4ab58d597ecd167a609033149"><code>9fb4a9a</code></a> Add a link to PS Vita <code>getentropy</code> to the README (<a href="https://redirect.github.com/rust-random/getrandom/issues/577">#577</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/a9edccf72ce3a54c877c1240ea548628ab15403c"><code>a9edccf</code></a> ci: disable NetBSD VM test job (<a href="https://redirect.github.com/rust-random/getrandom/issues/578">#578</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rust-random/getrandom/compare/v0.2.3...v0.3.0">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:24:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#507
No description provided.