Skip to content

chore(deps): bump tempfile from 3.25.0 to 3.27.0#132

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/tempfile-3.27.0
Open

chore(deps): bump tempfile from 3.25.0 to 3.27.0#132
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/tempfile-3.27.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 1, 2026

Copy link
Copy Markdown
Contributor

Bumps tempfile from 3.25.0 to 3.27.0.

Changelog

Sourced from tempfile's changelog.

3.27.0

This release adds TempPath::try_from_path and deprecates TempPath::from_path.

Prior to this release, TempPath::from_path made no attempts to convert relative paths into absolute paths. The following code would have deleted the wrong file:

let tmp_path = TempPath::from_path("foo")
std::env::set_current_dir("/some/other/path").unwrap();
drop(tmp_path);

Now:

  1. TempPath::from_path will attempt to convert relative paths into absolute paths. However, this isn't always possible as we need to call std::env::current_dir, which can fail. If we fail to convert the relative path to an absolute path, we simply keep the relative path.
  2. The TempPath::try_from_path behaves exactly like TempPath::from_path, except that it returns an error if we fail to convert a relative path into an absolute path (or if the passed path is empty).

Neither function attempt to verify the existence of the file in question.

Thanks to @​meng-xu-cs for reporting this issue.

3.26.0

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 1, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/tempfile-3.27.0 branch 3 times, most recently from 7be4eb0 to da8023e Compare May 6, 2026 19:28
@dependabot dependabot Bot force-pushed the dependabot/cargo/tempfile-3.27.0 branch 3 times, most recently from 1446f8b to 6aeb68a Compare May 14, 2026 17:13
@dependabot dependabot Bot force-pushed the dependabot/cargo/tempfile-3.27.0 branch from 6aeb68a to 70cddbf Compare May 17, 2026 23:00
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.25.0 to 3.27.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits/v3.27.0)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-version: 3.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/tempfile-3.27.0 branch from 70cddbf to 762d387 Compare May 19, 2026 14:23
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