{"ecosystem":"cargo","package":"tempfile","from_version":null,"to_version":null,"changes":[{"from_version":"3.6.0","to_version":"3.7.0","change_type":"breaking","description":"Update rustix to 0.38","migration_hint":null},{"from_version":"3.6.0","to_version":"3.7.0","change_type":"breaking","description":"Updates the MSRV to 1.63.","migration_hint":null},{"from_version":"3.6.0","to_version":"3.7.0","change_type":"breaking","description":"Provide AsFd/AsRawFd on wasi.","migration_hint":null},{"from_version":"3.6.0","to_version":"3.7.0","change_type":"breaking","description":"Update fastrand from 1.6 to 2.0","migration_hint":null},{"from_version":"3.4.0","to_version":"3.5.0","change_type":"breaking","description":"Update rustix from 0.36 to 0.37.1. This makes wasi work on rust stable","migration_hint":null},{"from_version":"3.4.0","to_version":"3.5.0","change_type":"breaking","description":"Update `windows-sys`, `redox_syscall`","migration_hint":null},{"from_version":"3.4.0","to_version":"3.5.0","change_type":"removed","description":"BREAKING: Remove the implementation of `Write for &NamedTempFile<F> where &F: Write`. Unfortunately, this can cause compile issues in unrelated code (https://github.com/Stebalien/tempfile/issues/224).","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"api","description":"The new type parameter in `NamedTempFile` may lead to type inference issues in some cases.","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"api","description":"Add generic parameter to `NamedTempFile` to support wrapping non-File types.","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"behavior","description":"Uses direct syscalls on linux by default, instead of libc.","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"breaking","description":"The minimum rust version is now `1.48.0`.","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"breaking","description":"Mark most functions as `must_use`.","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"breaking","description":"Generalized temporary files: `NamedTempFile` can now abstract over different kinds of files (e.g.,","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"breaking","description":"Add `Builder::make` and `Builder::make_in` for generalized temp file","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"breaking","description":"Add `NamedTempFile::from_parts` to complement `NamedTempFile::into_parts`.","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"breaking","description":"Don't try to create a temporary file multiple times if the file path has been fully specified by","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"breaking","description":"Fix compiler warnings on windows.","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"breaking","description":"Switch from `libc` to `rustix` on wasi/unix. This now makes direct syscalls instead of calling","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"breaking","description":"Switch to official windows-sys windows bindings.","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"removed","description":"Remove `remove_dir_all` dependency. The rust standard library has optimized their internal version","migration_hint":null},{"from_version":"3.3.0","to_version":"3.4.0","change_type":"renamed","description":"`NamedTempFile::persist_noclobber` is now always atomic on linux when `renameat_with` is","migration_hint":null},{"from_version":"3.1.0","to_version":"3.2.0","change_type":"breaking","description":"Bump rand dependency to `0.8`.","migration_hint":null},{"from_version":"3.1.0","to_version":"3.2.0","change_type":"breaking","description":"Bump cfg-if dependency to `1.0`","migration_hint":null},{"from_version":"3.0.9","to_version":"3.1.0","change_type":"breaking","description":"Bump rand dependency to `0.7`.","migration_hint":null},{"from_version":"3.0.8","to_version":"3.0.9","change_type":"breaking","description":"Add an example for reopening a named temporary file.","migration_hint":null},{"from_version":"3.0.8","to_version":"3.0.9","change_type":"breaking","description":"Flesh out the security documentation.","migration_hint":null},{"from_version":"3.0.8","to_version":"3.0.9","change_type":"breaking","description":"Introduce an `append` option to the builder.","migration_hint":null},{"from_version":"3.0.8","to_version":"3.0.9","change_type":"breaking","description":"Implement `source` instead of `cause`.","migration_hint":null},{"from_version":"3.0.8","to_version":"3.0.9","change_type":"deprecated","description":"No longer implement the soft-deprecated `description`.","migration_hint":null},{"from_version":"3.0.6","to_version":"3.0.7","change_type":"breaking","description":"`Builder::prefix` and `Builder::suffix` now accept a generic `&AsRef<OsStr>`.","migration_hint":null},{"from_version":"3.0.6","to_version":"3.0.7","change_type":"breaking","description":"Temporary files (except unnamed temporary files on Windows and Linux >= 3.11)","migration_hint":null},{"from_version":"3.0.6","to_version":"3.0.7","change_type":"breaking","description":"Accept anything implementing `&AsRef<OsStr>` in the builder: &OsStr, &OsString, &Path, etc.","migration_hint":null},{"from_version":"3.0.6","to_version":"3.0.7","change_type":"breaking","description":"Fix LFS support.","migration_hint":null},{"from_version":"3.0.6","to_version":"3.0.7","change_type":"breaking","description":"Use absolute paths for named temporary files to guard against changes in the","migration_hint":null},{"from_version":"3.0.6","to_version":"3.0.7","change_type":"breaking","description":"Use absolute paths when creating unnamed temporary files on platforms that","migration_hint":null},{"from_version":"3.0.6","to_version":"3.0.7","change_type":"breaking","description":"Use modern stdlib features to avoid custom unsafe code. This reduces the","migration_hint":null}],"total":36,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"miss"}