Releases: openssh-rust/openssh-sftp-client
Releases Β· openssh-rust/openssh-sftp-client
0.13.4
Improved
- Fix: change the drop of
OwnedHandle
to wait for the close request in order to
avoid invalid response id after closing file - Add log for droping OwnedHandle
Other changes
- Add msrv 1.64 in
Cargo.toml
- Bump
edition
to 2021 inCargo.toml
Full Changelog: 0.13.3...0.13.4
0.13.3
Improved
- If
Sftp
is created usingSftp::from_session
, then dropping it would
also drop theopenssh::RemoteChild
andopenssh::Session
immediately
after sftp graceful shutdown is done to prevent any leak.
Full Changelog: 0.13.2...0.13.3
0.13.2
Added
OpensshSession
, which is enabled by featureopenssh
SftpAuxiliaryData::ArcedOpensshSession
, which is enabled by featureopenssh
Sftp::from_session
, which is enabled by featureopenssh
- Logging support, enabled by feature
tracing
Improved
- Keep waiting on other tasks on failure in
Sftp::close
to collect as much information about the failure as possible. - Add
error::RecursiveError3
for returing 3 errs inSftp::close
Full Changelog: 0.13.1...0.13.2
0.13.1
0.13.0
Fixed
- Fixed #62
fs::ReadDir
: Return all entries instead of just a subset.
Added
file::File::as_mut_file
SftpAuxiliaryData
Sftp::new_with_auxiliary
Changed
- Remove lifetime from
file::OpenOptions
. - Remove lifetime from
file::File
. - Remove lifetime from
file::TokioCompatFile
. - Remove lifetime from
fs::Fs
. - Remove lifetime from
fs::Dir
. - Remove lifetime from
fs::ReadDir
. - Remove lifetime
's
fromfs::DirBuilder
. fs::ReadDir
now implementsfutures_core::{Stream, FusedStream}
instead of the {iterator, slice}-based interface.- Remove
file::File::sftp
. - Remove
file::TokioCompatFile::close
. file::TokioCompatFile::fill_buf
now takesself: Pin<&mut Self>
instead of&mut self
.file::TokioCompatFile::read_into_buffer
now takes
self: Pin<&mut Self>
instead of&mut self
.
Other changes
- Clarify
file::File::read
. - Clarify
file::File::write
. - Clarify
file::File::write_vectorized
. - Clarify
file::File::write_zero_copy
.