v0.4.1
- Fix
Server::graceful()bounds incorrect requiring the filter to be a future. - Enable
tokio/netwhen theserverfeature is enabled. - Render
cfgs in the docs.
Full Changelog: https://github.com/seanmonstar/warp/compare/v0.4.0...v0.4.1
v0.4.0
- Upgrade to
hyper,http, andhttp-bodyto v1. - Remove
multipartandwebsocketfeatures from being enabled by default. - Put
warp::serve()behind aserverfeature, not enabled by default. - Put
warp::testbehind atestfeature, not enabled by default. - Remove
tlsfeature and types. - Remove
warp::addrfilters.
Full Changelog: https://github.com/seanmonstar/warp/compare/v0.3.7...v0.4.0
v0.3.7
- Features:
- Add ecc private key support to
tls()config.
- Add ecc private key support to
- Fixes:
- Several dependency upgrades.
- deps: move rustls-pemfile crate to tls feature by @tottoto in https://github.com/seanmonstar/warp/pull/1069
- ECC private keys support for
tlsfeature by @joseluisq in https://github.com/seanmonstar/warp/pull/1048 - Fix
cargo minimal-versions checkby @Finomnis in https://github.com/seanmonstar/warp/pull/1078 - deps: remove unused tokio-stream dependency by @tottoto in https://github.com/seanmonstar/warp/pull/1079
- deps: update to rustls 0.22 by @tottoto in https://github.com/seanmonstar/warp/pull/1081
- multipart: fallback to filename as part name by @wca in https://github.com/seanmonstar/warp/pull/1045
- deps: update tokio-tungstenite, tracing-log and async-compression dependency by @tottoto in https://github.com/seanmonstar/warp/pull/1085
- update to use handlebars v5 by @campeis in https://github.com/seanmonstar/warp/pull/1087
- style: clean up new rustc warnings by @seanmonstar in https://github.com/seanmonstar/warp/pull/1097
- ci: single required job by @seanmonstar in https://github.com/seanmonstar/warp/pull/1098
- @Finomnis made their first contribution in https://github.com/seanmonstar/warp/pull/1078
- @wca made their first contribution in https://github.com/seanmonstar/warp/pull/1045
Full Changelog: https://github.com/seanmonstar/warp/compare/v0.3.6...v0.3.7
v0.3.6
- Add ability to pass
Nonetomultipart::form().max_length(). - Implement
ReplyforResult<impl Reply, impl Reply>. - Make
multipart::Part::content_type()return the full mime string. - Add
TlsServer::try_bind_with_graceful_shutdown().
- Updated tungstenite and rustls dependencies for security fixes.
- @jnicholls made their first contribution in https://github.com/seanmonstar/warp/pull/717
- @kouta-kun made their first contribution in https://github.com/seanmonstar/warp/pull/1044
- @tottoto made their first contribution in https://github.com/seanmonstar/warp/pull/1043
- @aedmondson made their first contribution in https://github.com/seanmonstar/warp/pull/1046
- @outamaa made their first contribution in https://github.com/seanmonstar/warp/pull/919
- @louiseyousre200 made their first contribution in https://github.com/seanmonstar/warp/pull/1056
- @nickbp made their first contribution in https://github.com/seanmonstar/warp/pull/1061
- @vitorenesduarte made their first contribution in https://github.com/seanmonstar/warp/pull/1064
- @AldaronLau made their first contribution in https://github.com/seanmonstar/warp/pull/1063
- @belgoking made their first contribution in https://github.com/seanmonstar/warp/pull/1062
v0.3.5
multipartfilters now usemulterdependency, fixing some streaming bugs.Rejection::into_response()is significantly faster.
- @jaysonsantos made their first contribution in https://github.com/seanmonstar/warp/pull/1033
- @alexeiakimov made their first contribution in https://github.com/seanmonstar/warp/pull/1005
v0.3.4
multipart::Partdata is now streamed instead of buffered.- Update dependency used for
multipartfilters.
- @baum made their first contribution in https://github.com/seanmonstar/warp/pull/1028
- @urkle made their first contribution in https://github.com/seanmonstar/warp/pull/1011
v0.3.3
-
Fixes:
- Fix
fsfilters path sanitization to reject colons on Windows.
- Fix
v0.3.2
- Add
Filter::then(), which is likeFilter::map()in that it's infallible, but is async likeFilter::and_then(). - Add
redirect::found()reply helper that returns302 Found. - Add
compression-brotliandcompression-gzipcargo features to enable only the compression you need. - Allow
HEADrequests to be served tofs::dir()filters. - Allow
path!()with no arguments.
- Update private dependencies Tungstenite and Multipart.
- Replaces uses of
futureswithfutures-util, which is a smaller dependency.
- @viraptor made their first contribution in https://github.com/seanmonstar/warp/pull/825
- @zenria made their first contribution in https://github.com/seanmonstar/warp/pull/835
- @Aankhen made their first contribution in https://github.com/seanmonstar/warp/pull/849
- @FlorianDr made their first contribution in https://github.com/seanmonstar/warp/pull/843
- @adamchalmers made their first contribution in https://github.com/seanmonstar/warp/pull/858
- @ekzhang made their first contribution in https://github.com/seanmonstar/warp/pull/860
- @utkarshkukreti made their first contribution in https://github.com/seanmonstar/warp/pull/696
- @johannescpk made their first contribution in https://github.com/seanmonstar/warp/pull/861
- @sindreij made their first contribution in https://github.com/seanmonstar/warp/pull/864
- @haileys made their first contribution in https://github.com/seanmonstar/warp/pull/701
- @In-line made their first contribution in https://github.com/seanmonstar/warp/pull/836
- @0xdeafbeef made their first contribution in https://github.com/seanmonstar/warp/pull/839
- @emesterhazy made their first contribution in https://github.com/seanmonstar/warp/pull/866
- @joseluisq made their first contribution in https://github.com/seanmonstar/warp/pull/869
- @JasterV made their first contribution in https://github.com/seanmonstar/warp/pull/873
- @aujxn made their first contribution in https://github.com/seanmonstar/warp/pull/876
- @simonborje made their first contribution in https://github.com/seanmonstar/warp/pull/883
- @yaymukund made their first contribution in https://github.com/seanmonstar/warp/pull/885
- @SeanChao made their first contribution in https://github.com/seanmonstar/warp/pull/890
- @e-user made their first contribution in https://github.com/seanmonstar/warp/pull/877
- @gtsiam made their first contribution in https://github.com/seanmonstar/warp/pull/878
- @bkgood made their first contribution in https://github.com/seanmonstar/warp/pull/896
- @nylonicious made their first contribution in https://github.com/seanmonstar/warp/pull/906
- @Some-Dood made their first contribution in https://github.com/seanmonstar/warp/pull/912
v0.3.1
-
Features:
- Add
pongconstructor to websocket messages. - Add
redirect::see_otherandredirect::permanenthelpers.
- Add
-
Fixes:
- Fix
fsfilters sometimes having an off-by-one error with range requests. - Fix CORS to allow spaces when checking
Access-Control-Request-Headers.
- Fix
v0.3.0
-
Features:
- Add TLS client authentication support.
- Add TLS OCSP stapling support.
- Add
From<Reject>forRejection. - Add
close_frameaccessor tows::Message.
-
Changes:
- Update to Tokio v1.
- Update to Bytes v1.
- Update to hyper v0.14.
- Rework
ssefilter to be more likews, with a singleEventtype and builder. - Change
cookiefilter to extract a genericFromStrvalue.