Skip to content

build(deps): update rust crate tempfile to ^3.18.0#83

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/tempfile-3.x
Mar 9, 2025
Merged

build(deps): update rust crate tempfile to ^3.18.0#83
renovate[bot] merged 1 commit intomainfrom
renovate/tempfile-3.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate bot commented Jan 3, 2025

This PR contains the following updates:

Package Type Update Change
tempfile (source) dev-dependencies minor ^3.14.0 -> ^3.18.0

Release Notes

Stebalien/tempfile (tempfile)

v3.18.0

Compare Source

  • Update rustix to 1.0.0.
  • Make NamedTempFile::persist_noclobber atomic on Apple operating systems. It's now atomic on MacOS, Windows, and Linux (depending on the OS version and filesystem used).

v3.17.1

Compare Source

  • Fix build with windows-sys 0.52. Unfortunately, we have no CI for older windows-sys versions at the moment...

v3.17.0

Compare Source

  • Make sure to use absolute paths in when creating unnamed temporary files (avoids a small race in the "immediate unlink" logic) and in Builder::make_in (when creating temporary files of arbitrary types).
  • Prevent a theoretical crash that could (maybe) happen when a temporary file is created from a drop function run in a TLS destructor. Nobody has actually reported a case of this happening in practice and I have been unable to create this scenario in a test.
  • When reseeding with getrandom, use platform (e.g., CPU) specific randomness sources where possible.
  • Clarify some documentation.
  • Unlink unnamed temporary files on windows immediately when possible instead of waiting for the handle to be closed. We open files with "Unix" semantics, so this is generally possible.

v3.16.0

Compare Source

  • Update getrandom to 0.3.0 (thanks to @​paolobarbolini).
  • Allow windows-sys versions 0.59.x in addition to 0.59.0 (thanks @​ErichDonGubler).
  • Improved security documentation (thanks to @​n0toose for collaborating with me on this).

v3.15.0

Compare Source

Re-seed the per-thread RNG from system randomness when we repeatedly fail to create temporary files (#​314). This resolves a potential DoS vector (#​178) while avoiding getrandom in the common case where it's necessary. The feature is optional but enabled by default via the getrandom feature.

For libc-free builds, you'll either need to disable this feature or opt-in to a different getrandom backend.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the 📦 dependencies Pull requests that update a dependency file. label Jan 3, 2025
@renovate
Copy link
Copy Markdown
Author

renovate bot commented Jan 3, 2025

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot changed the title build(deps): update rust crate tempfile to ^3.15.0 build(deps): update rust crate tempfile to ^3.16.0 Jan 28, 2025
@renovate renovate bot force-pushed the renovate/tempfile-3.x branch from f2a2c76 to 35e1879 Compare January 28, 2025 21:23
@renovate renovate bot changed the title build(deps): update rust crate tempfile to ^3.16.0 build(deps): update rust crate tempfile to ^3.17.0 Feb 16, 2025
@renovate renovate bot force-pushed the renovate/tempfile-3.x branch from 35e1879 to d0bd5bb Compare February 16, 2025 21:29
@renovate renovate bot changed the title build(deps): update rust crate tempfile to ^3.17.0 build(deps): update rust crate tempfile to ^3.17.1 Feb 17, 2025
@renovate renovate bot force-pushed the renovate/tempfile-3.x branch from d0bd5bb to ebfc573 Compare February 17, 2025 18:19
@renovate renovate bot changed the title build(deps): update rust crate tempfile to ^3.17.1 build(deps): update rust crate tempfile to ^3.18.0 Mar 6, 2025
@renovate renovate bot force-pushed the renovate/tempfile-3.x branch from ebfc573 to a4002dc Compare March 6, 2025 23:25
@renovate renovate bot force-pushed the renovate/tempfile-3.x branch from a4002dc to fdad624 Compare March 9, 2025 15:45
@renovate renovate bot merged commit a61b13f into main Mar 9, 2025
54 checks passed
@renovate renovate bot deleted the renovate/tempfile-3.x branch March 9, 2025 19:13
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants