Skip to content

Latest commit

 

History

History
178 lines (129 loc) · 6.61 KB

CHANGELOG.md

File metadata and controls

178 lines (129 loc) · 6.61 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

  • changed: Updated tower from 0.4 to 0.5.
  • added: Support reading PKCS#1 and SEC1 private keys with Rustls.

0.7.1 (31. July 2024)

  • added: Crate feature tls-rustls-no-provider, which enables no rustls::crypto::CryptoProvider.
  • fixed: Correct minimum required hyper-util to 0.1.2.

0.7.0 (16. July 2024)

  • fixed: Graceful shutdown now stops accepting requests from existing connections.
  • changed: Updated rustls from 0.21 to 0.23.
  • changed: Updated tokio-rustls from 0.24 to 0.26.
  • changed: Updated hyper from 1.0.1 to 1.4.
  • changed: Updated http from 1.0.0 to 1.1.
  • added: rustls-pki-types dependency for the tls-rustls feature.
  • changed: Replaced usage of rustls::Certificate and rustls::PrivateKey with rustls_pki_types::CertificateDer and rustls_pki_types::PrivateKeyDer.
  • changed: Updated ServerConfig initialization to remove with_safe_defaults() call.
  • changed: Updated ClientConfig initialization in tests to use dangerous() instead of with_safe_defaults().
  • changed: Updated ServerCertVerifier implementation in tests to match new rustls API.
  • changed: Minor version bumps for various dependencies including rustls-pemfile, serial_test, and tower-http.

0.6.0 (21. December 2023)

  • added: functionalities in tls_openssl, that were added as they appeared to be only in tls_rustls:
    • axum_server::tls_openssl::OpenSSLConfig::from_acceptor
    • axum_server::tls_openssl::OpenSSLConfig::from_der
    • axum_server::tls_openssl::OpenSSLConfig::from_pem
    • axum_server::tls_openssl::OpenSSLConfig::get_inner
    • axum_server::tls_openssl::OpenSSLConfig::reload_from_der
    • axum_server::tls_openssl::OpenSSLConfig::reload_from_pem
    • axum_server::tls_openssl::OpenSSLConfig::reload_from_pem_file
    • axum_server::tls_openssl::OpenSSLConfig::reload_from_pem_chain_file
  • added: from_pem_chain_file method for RustlsConfig.
  • breaking: Removed HttpConfig and AddrIncomingConfig.
  • breaking: Updated axum from 0.6 to 0.7.
  • breaking: Updated hyper to 1.0.1.

0.5.1 (15. May 2023)

  • added: http2_enable_connect_protocol, http2_max_header_list_size, http2_max_pending_accept_reset_streams and http2_max_send_buf_size methods to HttpConfig.

0.5.0 (4. May 2023)

  • breaking: Updated rustls from 0.20 to 0.21 which affects ServerConfig type.
  • breaking: Updated tokio-rustls from 0.23 to 0.24 which affects TlsStream type.

0.4.7 (19. March 2023)

  • added: Openssl is now supported.

0.4.5 (18. February 2023)

  • changed: Handle::graceful_shutdown now informs connections about the graceful shutdown.

0.4.3 (3. November 2022)

  • added: Added tcp_keepalive_interval and tcp_keepalive_retries to AddrIncomingConfig.

0.4.2 (5. August 2022)

  • added: Added Server::from_tcp, axum_server::from_tcp and axum_server::from_tcp_rustls methods to create Server from std::net::TcpListener.

0.4.1 (29. July 2022)

  • added: Added map, get and get_mut methods to access the acceptor of Server.

0.4.0 (18. April 2022)

  • Added TLS handshake timeout(10 seconds).
  • In RustlsConfig: from_pem and from_pem_file methods now accept EC keys.
  • added: Added AddrIncomingConfig to allow configuration of hyper::server::conn::AddrIncoming.
  • added: Added HttpConfig::http1_header_read_timeout.
  • breaking: Changed Handle::listening return type to Option<SocketAddr>. If binding fails, Option::None will be returned.

0.3.2 (17. November 2021)

  • added: Added HttpConfig to allow more configuration.

0.3.1 (10. November 2021)

  • fixed: tls-rustls feature doesn't compile if fs feature in tokio is not enabled.

0.3.0 (10. November 2021)

  • Total rewrite of source code.
  • Major api changes:
    • breaking: Removed bind_rustls, certificate, certificate_file, loader, new, private_key, private_key_file, serve_and_record, tls_config methods from Server.
    • breaking: Removed tls module.
    • breaking: Removed record module and feature.
    • breaking: Removed Handle::listening_addrs method.
    • breaking: Server::bind method doesn't take self anymore and creates an Server.
    • breaking: bind method now takes a SocketAddr.
    • breaking: bind_rustls method now takes a SocketAddr and an tls_rustls::RustlsConfig.
    • breaking: Server::serve method now takes a MakeService.
    • breaking: Handle::listening method now returns SocketAddr.
    • added: Added Handle::connection_count that can be used to get alive connection count.
    • added: Added service module.
    • added: Added service::MakeServiceRef and service::SendService traits aliases for convenience.
    • added: Added accept module.
    • added: Added accept::Accept trait that can be implemented to modify io stream and service.
    • added: Added accept::DefaultAcceptor struct that implements accept::Accept to be used as a default 'Accept' for 'Server'.
    • added: Added Server::acceptor method that can be used to provide a custom accept::Accept.
    • added: Added tls_rustls module.
    • added: Added tls_rustls::RustlsAcceptor that can be used with Server::acceptor to make a tls Server.
    • added: Added tls_rustls::RustlsConfig to create rustls utilities and to provide reload functionality.
    • added: Added tls_rustls::bind_rustls which is same as bind_rustls function.

0.2.5 (5. October 2021)

  • Compile on rust 1.51.

0.2.4 (17. September 2021)

  • Reduced futures-util features to improve compile times.

0.2.3 (14. September 2021)

  • Fixed bind and bind_rustls not working on some types.

0.2.2 (6. September 2021)

  • Added uri Scheme in Request extensions.
  • Fixed memory leak that happens as connections are accepted.

0.2.1 (30. August 2021)

  • Fixed serve_and_record not recording independently for each connection.

0.2.0 (29. August 2021)

  • Added TlsLoader to reload tls configuration.
  • Added Handle to provide additional utilities for server.

0.1.2 (24. August 2021)

  • Fixed an import issue when using tls-rustls feature.

0.1.0 (23. August 2021)

  • Initial release.