Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: seanmonstar/warp

v0.4.1

06 Aug 19:56

Choose a tag to compare

Fixes:

  • Fix Server::graceful() bounds incorrect requiring the filter to be a future.
  • Enable tokio/net when the server feature is enabled.
  • Render cfgs in the docs.

Full Changelog: v0.4.0...v0.4.1

v0.4.0

05 Aug 15:28

Choose a tag to compare

Changes:

  • Upgrade to hyper, http, and http-body to v1.
  • Remove multipart and websocket features from being enabled by default.
  • Put warp::serve() behind a server feature, not enabled by default.
  • Put warp::test behind a test feature, not enabled by default.
  • Remove tls feature and types.
  • Remove warp::addr filters.

Full Changelog: v0.3.7...v0.4.0

v0.3.7

01 Aug 16:09

Choose a tag to compare

tl;dr

  • Features:
    • Add ecc private key support to tls() config.
  • Fixes:
    • Several dependency upgrades.

What's Changed

New Contributors

Full Changelog: v0.3.6...v0.3.7

v0.3.6

27 Sep 14:18

Choose a tag to compare

Features

  • Add ability to pass None to multipart::form().max_length().
  • Implement Reply for Result<impl Reply, impl Reply>.
  • Make multipart::Part::content_type() return the full mime string.
  • Add TlsServer::try_bind_with_graceful_shutdown().

Fixes

  • Updated tungstenite and rustls dependencies for security fixes.

New Contributors

v0.3.5

28 Apr 16:12

Choose a tag to compare

Fixes

  • multipart filters now use multer dependency, fixing some streaming bugs.
  • Rejection::into_response() is significantly faster.

New Contributors

v0.3.4

31 Mar 18:57

Choose a tag to compare

Fixes

  • multipart::Part data is now streamed instead of buffered.
  • Update dependency used for multipart filters.

New Contributors

v0.3.3

03 Feb 16:11

Choose a tag to compare

  • Fixes:
    • Fix fs filters path sanitization to reject colons on Windows.

v0.3.2

09 Nov 18:11

Choose a tag to compare

Features:

  • Add Filter::then(), which is like Filter::map() in that it's infallible, but is async like Filter::and_then().
  • Add redirect::found() reply helper that returns 302 Found.
  • Add compression-brotli and compression-gzip cargo features to enable only the compression you need.
  • Allow HEAD requests to be served to fs::dir() filters.
  • Allow path!() with no arguments.

Fixes:

  • Update private dependencies Tungstenite and Multipart.
  • Replaces uses of futures with futures-util, which is a smaller dependency.

New Contributors

v0.3.1

25 Mar 00:27

Choose a tag to compare

  • Features:
    • Add pong constructor to websocket messages.
    • Add redirect::see_other and redirect::permanent helpers.
  • Fixes:
    • Fix fs filters sometimes having an off-by-one error with range requests.
    • Fix CORS to allow spaces when checking Access-Control-Request-Headers.

v0.3.0

19 Jan 22:56

Choose a tag to compare

  • Features:
    • Add TLS client authentication support.
    • Add TLS OCSP stapling support.
    • Add From<Reject> for Rejection.
    • Add close_frame accessor to ws::Message.
  • Changes:
    • Update to Tokio v1.
    • Update to Bytes v1.
    • Update to hyper v0.14.
    • Rework sse filter to be more like ws, with a single Event type and builder.
    • Change cookie filter to extract a generic FromStr value.