Skip to content

Releases: hyperium/hyper

v1.5.0

15 Oct 16:12
Compare
Choose a tag to compare

Features

  • client: Add HTTP/2 builder options header_table_size() and max_concurrent_streams() (4c84e8c1)
  • rt: add ReadBufCursor methods remaining() and put_slice() (#3700) (5a13041e)

Bug Fixes

  • http1:
  • http2: strip content-length header in response to CONNECT requests (#3748) (67a4a498)

New Contributors

Thanks!

Full Changelog: v1.4.1...v1.5.0

v0.14.31

15 Oct 16:05
Compare
Choose a tag to compare

Bug Fixes

  • http1: improve performance of parsing sequentially partial messages (97b595e)

v1.4.1

09 Jul 13:41
Compare
Choose a tag to compare

Bug Fixes

  • http1: reject final chunked if missing 0 (8e5de1bb)

v0.14.30

09 Jul 13:41
Compare
Choose a tag to compare

Bug Fixes

  • http1: reject final chunked if missing 0 (4a51b2af)

v1.4.0

01 Jul 13:57
Compare
Choose a tag to compare

Bug Fixes

  • http2: stop removing "Trailer" header in HTTP/2 responses as per RFC 9110 (#3648) (a3269f7a)
  • server: start header read timeout immediately (#3185) (0eb1b6cf)

Features

  • client:
    • add SendRequest::try_send_request() method (#3691) (4ffaad53)
    • remove Send +Sync bounds requirement of http2::Connection executor (#3682) (56c3cd56)
    • remove 'static lifetime bound on http1/2 client IO (#3667) (9580b357)
  • http1: add support for receiving trailer fields (#3637) (ac84af6b, closes #2703)
  • server: add Builder::auto_date_header(bool) to allow disabling Date headers (721785ef)
  • service: implement Service for reference types (#3607) (eade122d)

New Contributors

Full Changelog: v1.3.1...v1.4.0

v0.14.29

03 Jun 17:35
Compare
Choose a tag to compare

Bug Fixes

  • http1: start header read timeout immediately (#3305) (b5c2592f)

Features

  • http2: add config for max_local_error_reset_streams in server (#3528) (dedcb674)

New Contributors

Full Changelog: v0.14.28...v0.14.29

v1.3.1

16 Apr 12:56
Compare
Choose a tag to compare

Bug Fixes

  • client: revert auto content-length header for some requests (#3633)

v1.3.0

15 Apr 13:45
Compare
Choose a tag to compare

Bug Fixes

  • client: send content-length even with no body (172fdfaf)
  • http2:
    • max_header_list_size(num) defaults to 16kb (203d1b09)
    • initial_max_send_streams defaults to 100 (2d1bd708)
  • server:
    • avoid unwrapping for the Future impl of HTTP/1 UpgradeableConnection (#3627) (b79be911, closes #3621)
    • avoid graceful_shutdown panic on upgraded H1 connection (#3616) (6ecf8521)

Features

  • client:
    • add max_header_list_size(num) to http2::Builder. (1c5b1b87)
    • add max_pending_accept_reset_streams HTTP2 option (#3617) (330ddf1d)
  • ext: implement From ReasonPhrase for Bytes (dc27043a)
  • service: expose Service and HttpService trait unconditionally (6aee2e6e)
  • server: relax 'static from connection IO trait bounds (#3595) (0013bdda)

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

21 Feb 15:47
Compare
Choose a tag to compare

Features

  • http1: support configurable max_headers(num) to client and server (#3523) (b1142448)
  • http2:
    • add config for max_local_error_reset_streams in server (#3530) (d7680e30)
    • add initial_max_send_streams method to HTTP/2 client builder (#3524) (fdfa60d9)
      • NOTE: The default for this will change in v1.3 to something conservative. If you have an environment where the server can always accept a large amount of concurrent streams, and depend on that for performance, you should set this option manually.
    • add max_pending_accept_reset_streams(num) back to HTTP/2 server builder (#3507 (a9fa893f)

Bug Fixes

  • http2: typo in trace logging (#3536) (79862ec2)
  • rt: Sleep::downcast_mut_pin() no longer extend lifetime (7206fe30, closes #3556)

Breaking Changes

  • The returned lifetime from Sleep::downcast_mut_pin()
    is no longer 'static. This shouldn't affect most usage. This sort of
    breaking change is needed because it is wrong. (7206fe30)

New Contributors

v1.1.0

18 Dec 14:56
Compare
Choose a tag to compare

Features

  • client: add http1::Connection without_shutdown() method (#3430) (210bfaa7)
  • http1: Add support for sending HTTP/1.1 Chunked Trailer Fields (#3375) (31b41807, closes #2719)
  • server: expose server::conn::http1::UpgradeableConnection (#3457) (6e3042a8)

Bug Fixes

New Contributors

Full Changelog: v1.0.1...v1.1.0