Skip to content

Commit 6e7d167

Browse files
committed
chore: release 3.17.0
1 parent 3718075 commit 6e7d167

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 3.17.0
4+
5+
- 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).
6+
- 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.
7+
- When reseeding with `getrandom`, use platform (e.g., CPU) specific randomness sources where possible.
8+
- Clarify some documentation.
9+
- 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.
10+
311
## 3.16.0
412

513
- Update `getrandom` to `0.3.0` (thanks to @paolobarbolini).

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tempfile"
3-
version = "3.16.0"
3+
version = "3.17.0"
44
authors = [
55
"Steven Allen <steven@stebalien.com>",
66
"The Rust Project Developers",

0 commit comments

Comments
 (0)