Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 20, 2025

This PR contains the following updates:

Package Type Update Change
tempfile (source) workspace.dependencies minor 3.17.13.25.0

Release Notes

Stebalien/tempfile (tempfile)

v3.25.0

  • Allow getrandom 0.4.x while retaining support for getrandom 0.3.x.

v3.24.0

Compare Source

  • Actually support WASIp2 without the nightly feature. This library is now feature complete on WASIp2 without any additional feature flags.
  • Exclude CI scripts from the published crate.

v3.23.0

Compare Source

  • Remove need for the "nightly" feature to compile with "wasip2".

v3.22.0

Compare Source

  • Updated windows-sys requirement to allow version 0.61.x
  • Remove unstable-windows-keep-open-tempfile feature.

v3.21.0

Compare Source

  • Updated windows-sys requirement to allow version 0.60.x

v3.20.0

Compare Source

This release mostly unifies the behavior/capabilities around "keeping" temporary files:

  • Rename Builder::keep(bool) (via deprecation) to Builder::disable_cleanup(bool) to make it clear that behaves differently from NamedTempFile::keep(). The former disables automatic cleanup while the latter consumes the NamedTempFile object entirely and unsets the "temporary file" attribute (on Windows).
  • Rename TempDir::into_path (via deprecation) to TempDir::keep to mirror NamedTempFile::keep.
  • Add TempDir::disable_cleanup, NamedTempFile::disable_cleanup, and TempPath::disable_cleanup making it possible to disable automatic cleanup in-place after creating a temporary file/directory (equivalent to calling Builder::disable_cleanup before creating the file/directory).

Additionally, it adds a few spooled temporary file features:
git lo

  • Add SpooledTempFile::into_file for turning a SpooledTempFile into a regular unnamed temporary file, writing it to the backing storage ("rolling" it) if it was still stored in-memory.
  • Add spooled_tempfile_in and SpooledTempFile::new_in methods for creating spooled temporary files in a specific directory. This makes it possible to choose the backing device for your spooled temporary file which is rather important on Linux where the default temporary directory is likely backed by memory (defeating the entire point of having a spooled temporary file).

Finally, this release improves documentation, especially the top-level documentation explaining which temporary file type to use.

BREAKING for those with deny(warnings):

  • Builder::keep deprecated in favor of Builder::disable_cleanup.
  • TempDir::into_path is deprecated in favor of TempDir::keep.

v3.19.1

Compare Source

  • Don't unlink temporary files immediately on Windows (fixes #​339). Unfortunately, this seemed to corrupt the file object (possibly a Windows kernel bug) in rare cases and isn't strictly speaking necessary.

v3.19.0

Compare Source

  • Remove direct dependency on cfg-if. It's still in the tree, but we didn't really need to use it in this crate.
  • Add an unstable feature (unstable-windows-keep-open-tempfile) to test a potential fix to #​339.

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).

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 changed the title chore(deps): update rust crate tempfile to v3.19.1 chore(deps): update rust crate tempfile to v3.20.0 May 11, 2025
@renovate renovate bot force-pushed the renovate/tempfile-3.x-lockfile branch from e2b141a to ddd7fb0 Compare May 11, 2025 22:35
@renovate renovate bot force-pushed the renovate/tempfile-3.x-lockfile branch from ddd7fb0 to 7f38367 Compare August 10, 2025 13:13
@renovate renovate bot changed the title chore(deps): update rust crate tempfile to v3.20.0 chore(deps): update rust crate tempfile to v3.21.0 Aug 20, 2025
@renovate renovate bot force-pushed the renovate/tempfile-3.x-lockfile branch from 7f38367 to 58156e5 Compare August 20, 2025 02:07
@renovate renovate bot changed the title chore(deps): update rust crate tempfile to v3.21.0 chore(deps): update rust crate tempfile to v3.22.0 Sep 9, 2025
@renovate renovate bot force-pushed the renovate/tempfile-3.x-lockfile branch from 58156e5 to b7d63a0 Compare September 9, 2025 16:48
@renovate renovate bot force-pushed the renovate/tempfile-3.x-lockfile branch from b7d63a0 to ccbc5b9 Compare September 23, 2025 10:09
@renovate renovate bot changed the title chore(deps): update rust crate tempfile to v3.22.0 chore(deps): update rust crate tempfile to v3.23.0 Sep 23, 2025
@renovate renovate bot force-pushed the renovate/tempfile-3.x-lockfile branch from ccbc5b9 to 6979bb1 Compare December 10, 2025 15:59
@renovate renovate bot changed the title chore(deps): update rust crate tempfile to v3.23.0 chore(deps): update rust crate tempfile to v3.24.0 Dec 24, 2025
@renovate renovate bot force-pushed the renovate/tempfile-3.x-lockfile branch from 6979bb1 to 979b2a6 Compare December 24, 2025 00:47
@renovate renovate bot force-pushed the renovate/tempfile-3.x-lockfile branch from 979b2a6 to 3938aa5 Compare February 2, 2026 19:05
@renovate renovate bot force-pushed the renovate/tempfile-3.x-lockfile branch from 3938aa5 to f1cdc31 Compare February 9, 2026 19:38
@renovate renovate bot changed the title chore(deps): update rust crate tempfile to v3.24.0 chore(deps): update rust crate tempfile to v3.25.0 Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants