Releases: veeso/suppaftp
Releases · veeso/suppaftp
suppaftp 5.0.0
5.0.0
Released on 24/02/2023
- Issue 33
‼️ BREAKING CHANGES‼️ - Features are now additive. This means that you can successfully build suppaftp with all the features enabled at the same time.
- Ftp stream has now been split into different types:
FtpStream
: sync no-tls streamNativeTlsFtpStream
: ftp stream with TLS with native-tlsRustlsFtpStream
: ftp stream with TLS with rustlsAsyncFtpStream
: async no-tls streamAsyncNativeTlsFtpStream
: async ftp stream with TLS with async-native-tlsAsyncRustlsFtpStream
: async ftp stream with TLS with async-rustls
suppaftp 4.7.0
suppaftp 4.6.1
4.6.1
Released on 26/01/2023
suppaftp::list::File
now derives thecore::hash::Hash
trait
suppaftp 4.6.0
4.6.0
Released on 09/01/2023
MDTM
now returnsNaiveDateTime
since the command won't provide timezone
suppaftp 4.5.2
4.5.2
Released on 10/10/2022
- Fixed missing export of tls stream
suppaftp 4.5.1
4.5.1
Released on 08/10/2022
- Export
TlsStream
when async secure
suppaftp 4.5.0
4.5.0
Released on 08/10/2022
- Added
native-tls-vendored
andasync-native-tls-vendored
features to link OpenSSL statically - suppaftp-cli as a separate package.
- Rustls support
‼️ BREAKING CHANGE: refactored secure features:- REMOVED
secure
/async-secure
feature - Use
native-tls
to enable TLS support with native-tls crate - Use
async-native-tls
to enable async TLS support with async-native-tls crate - Use
rustls
to enable TLS support with rustls crate - Use
async-rustls
to enable TLS support with async-tls crate
- REMOVED
suppaftp 4.4.0
4.4.0
Released on 02/08/2022
- Added
set_passive_nat_workaround()
method to allow PASV with server behind NAT/proxy
suppaftp 4.3.0
4.3.0
Released on 27/06/2022
- Added implicit FTPS support
- Added
connect_secure_implicit()
method - Added
deprecated
feature to enable deprecated methods (required for implicit FTPS)
- Added
suppaftp 4.2.0
4.2.0
Released on 07/12/2021
- Active mode
- suppaftp now supports Active-mode (credit @devbydav)
- You can change mode with
set_mode(Mode::Passive) or set_mode(Mode::Active)
whenever you want
- New commands
- Abort command: implemented the
ABOR
FTP command - Append command: implemented the
APPE
FTP command - Resume transfer command: implemented the
REST
FTP command
- Abort command: implemented the
- Logging:
log
crate has been implemented for debugging. You can disable logging withno-log
feature - Security
- ❗ Breaking changes:
Response.code
renamed tostatus
.- status is no more a
u32
: from now on it will be an enum namedStatus
.- The status enum implements the
code()
method which will return theu32
representation - The status enum can be displayed and converted to a string: this will return the description of the error code
- The status enum implements the
- Changed
into_insecure()
toclear_command_channel()
: the implementation of into_insecure was wrong and inconsistent. What it actually does is to make the server not encrypt the communication on the command channel. - Removed
File::from_line
; useFile::try_from()
orFile::from_str()