frontier
frontier copied to clipboard
Bump tempfile from 3.3.0 to 3.8.0
Bumps tempfile from 3.3.0 to 3.8.0.
Changelog
Sourced from tempfile's changelog.
3.8.0
- Added
with_prefixandwith_prefix_intoTempDirandNamedTempFileto make it easier to create temporary files/directories with nice prefixes.- Misc cleanups.
3.7.1
- Tempfile builds on haiku again.
- Under the hood, we've switched from the unlinkat/linkat syscalls to the regular unlink/link syscalls where possible.
3.7.0
BREAKING: This release updates the MSRV to 1.63. This isn't an API-breaking change (so no major release) but it's still a breaking change for some users.
- Update fastrand from 1.6 to 2.0
- Update rustix to 0.38
- Updates the MSRV to 1.63.
- Provide AsFd/AsRawFd on wasi.
3.6.0
- Update windows-sys to 0.48.
- Update rustix min version to 0.37.11
- Forward some
NamedTempFileandSpooledTempFilemethods to the underlyingFileobject for better performance (especially vectorized writes, etc.).- Implement
AsFdandAsHandle.- Misc documentation fixes and code cleanups.
3.5.0
- Update rustix from 0.36 to 0.37.1. This makes wasi work on rust stable
- Update
windows-sys,redox_syscall- BREAKING: Remove the implementation of
Write for &NamedTempFile<F> where &F: Write. Unfortunately, this can cause compile issues in unrelated code (Stebalien/tempfile#224).3.4.0
SECURITY: Prior
tempfilereleases depended onremove_dir_allversion 0.5.0 which was vulnerable to a TOCTOU race. This same race is present in rust versions prior to 1.58.1.Features:
- Generalized temporary files:
NamedTempFilecan now abstract over different kinds of files (e.g., unix domain sockets, pipes, etc.):
- Add
Builder::makeandBuilder::make_infor generalized temp file creation.- Add
NamedTempFile::from_partsto complementNamedTempFile::into_parts.- Add generic parameter to
NamedTempFileto support wrapping non-File types.Bug Fixes/Improvements:
... (truncated)
Commits
ded4c25chore: release 3.8.032ef2acchore: more test cleanups (#253)b4a2f64feat: add convenience methods for creating temp files with prefixes (#250)f994e9fchore: cleanup tempdir tests (#252)8b3703cchore: clippy fixes (#251)bf8f7eachore: release 3.7.1a5c236cUserename/unlink/etc. instead ofrenameat/unlinkat`/etc. (#247)d258544chore: release 3.7.0da36cd5Provide implementations for I/O safety traits unconditionally (#244)74f9fbcUpdate to rustix 0.38 and update MSRV to 1.63 (#241)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.