Skip to content

Releases: veeso/suppaftp

suppaftp 4.5.2

10 Oct 12:54
Compare
Choose a tag to compare

4.5.2

Released on 10/10/2022

  • Fixed missing export of tls stream

suppaftp 4.5.1

08 Oct 16:46
Compare
Choose a tag to compare

4.5.1

Released on 08/10/2022

  • Export TlsStream when async secure

suppaftp 4.5.0

08 Oct 14:16
Compare
Choose a tag to compare

4.5.0

Released on 08/10/2022

  • Added native-tls-vendored and async-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

suppaftp 4.4.0

02 Aug 14:54
Compare
Choose a tag to compare

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

27 Jun 12:28
Compare
Choose a tag to compare

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)

suppaftp 4.2.0

08 Dec 09:13
Compare
Choose a tag to compare

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
  • Logging: log crate has been implemented for debugging. You can disable logging with no-log feature
  • Security
  • ❗ Breaking changes:
    • Response.code renamed to status.
    • status is no more a u32: from now on it will be an enum named Status.
      • The status enum implements the code() method which will return the u32 representation
      • The status enum can be displayed and converted to a string: this will return the description of the error code
    • Changed into_insecure() to clear_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; use File::try_from() or File::from_str()

SuppaFTP 4.1.3

01 Dec 18:18
Compare
Choose a tag to compare

4.1.3

Released on 01/12/2021

  • UNIX file parser:
    • Fixed file parsing, which didn't allow any other characters than alphanumerics for groups, users and dates
  • put_file() will now return the number of bytes written
  • Updated dependencies

SuppaFTP 4.1.2

23 Aug 10:18
Compare
Choose a tag to compare

4.1.2

Released on 23/08/2021

  • Renamed InvalidResponse to UnexpectedResponse, which makes more sense
  • Renamed File::from_unix_line to File::from_posix_line
  • Renamed UnixPexQuery to PosixPexQuery
  • Made parse_dostime private

suppaftp 4.1.1

22 Aug 18:34
Compare
Choose a tag to compare

4.1.1

Released on 22/08/2021

  • Fixed missing cli/ directory on Cargo registry.
  • Added Response struct, which will be returned in case of InvalidResponse error.
    • This adds the possibility to get the exact error code and the message
  • Added async support
  • API changes
    • renamed simple_retr to retr_as_buffer
    • renamed get to retr_as_stream
    • renamed finalize_get_stream to finalize_retr_stream
  • LIST command output parser
  • Optimized code to reuse stream functions as much as possible
  • size() and mdtm() methods will return an option no more.
  • Improved code with linter
  • Added CI tests