Releases: seanmonstar/warp
Releases · seanmonstar/warp
v0.3.6
Features
- Add ability to pass
None
tomultipart::form().max_length()
. - Implement
Reply
forResult<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
- @jnicholls made their first contribution in #717
- @kouta-kun made their first contribution in #1044
- @tottoto made their first contribution in #1043
- @aedmondson made their first contribution in #1046
- @outamaa made their first contribution in #919
- @louiseyousre200 made their first contribution in #1056
- @nickbp made their first contribution in #1061
- @vitorenesduarte made their first contribution in #1064
- @AldaronLau made their first contribution in #1063
- @belgoking made their first contribution in #1062
v0.3.5
Fixes
multipart
filters now usemulter
dependency, fixing some streaming bugs.Rejection::into_response()
is significantly faster.
New Contributors
- @jaysonsantos made their first contribution in #1033
- @alexeiakimov made their first contribution in #1005
v0.3.4
v0.3.3
- Fixes:
- Fix
fs
filters path sanitization to reject colons on Windows.
- Fix
v0.3.2
Features:
- 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-brotli
andcompression-gzip
cargo features to enable only the compression you need. - Allow
HEAD
requests to be served tofs::dir()
filters. - Allow
path!()
with no arguments.
Fixes:
- Update private dependencies Tungstenite and Multipart.
- Replaces uses of
futures
withfutures-util
, which is a smaller dependency.
New Contributors
- @viraptor made their first contribution in #825
- @zenria made their first contribution in #835
- @Aankhen made their first contribution in #849
- @FlorianDr made their first contribution in #843
- @adamchalmers made their first contribution in #858
- @ekzhang made their first contribution in #860
- @utkarshkukreti made their first contribution in #696
- @johannescpk made their first contribution in #861
- @sindreij made their first contribution in #864
- @haileys made their first contribution in #701
- @In-line made their first contribution in #836
- @0xdeafbeef made their first contribution in #839
- @emesterhazy made their first contribution in #866
- @joseluisq made their first contribution in #869
- @JasterV made their first contribution in #873
- @aujxn made their first contribution in #876
- @simonborje made their first contribution in #883
- @yaymukund made their first contribution in #885
- @SeanChao made their first contribution in #890
- @e-user made their first contribution in #877
- @gtsiam made their first contribution in #878
- @bkgood made their first contribution in #896
- @nylonicious made their first contribution in #906
- @some-dood made their first contribution in #912
v0.3.1
- Features:
- Add
pong
constructor to websocket messages. - Add
redirect::see_other
andredirect::permanent
helpers.
- Add
- 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
.
- Fix
v0.3.0
- Features:
- Add TLS client authentication support.
- Add TLS OCSP stapling support.
- Add
From<Reject>
forRejection
. - Add
close_frame
accessor tows::Message
.
- Changes:
- Update to Tokio v1.
- Update to Bytes v1.
- Update to hyper v0.14.
- Rework
sse
filter to be more likews
, with a singleEvent
type and builder. - Change
cookie
filter to extract a genericFromStr
value.
v0.2.5
- Features:
- Add
wrap_fn
, which can be used to create aWrap
from a closure. These in turn are used withFilter::with()
. - Add
warp::host
filters to deal withHost
/:authority
headers. - Relax some lifetime bounds on
Server
.
- Add
- Fixes:
- Fix panic when URI doesn't have a slash (for example,
CONNECT foo.bar
).
- Fix panic when URI doesn't have a slash (for example,
v0.2.4
- Features:
- Add
tracing
internals in place oflog
(log is still emitted for backwards compatibility). - Add
warp::trace
module set of filters to customizetracing
dianostics. - Add
path
method towarp::fs::File
reply. - Add
source
implementation forBodyDeserializeError
. - Make
warp::ws::MissingConnectionUpgrade
rejection public.
- Add
v0.2.3
- Features:
- Add
warp::compression
filters, which will compress response bodies. - Add
warp::header::value()
filter to get a requestHeaderValue
. - Add
request_headers
method towarp::log::Info
. - Add
max_frame_size
towarp::ws::Ws
builder. - Add
remote_addr
towarp::test::RequestBuilder
. - Add
try_bind_with_graceful_shutdown
towarp::Server
builder. - Add
serve_incoming_with_graceful_shutdown
towarp::Server
builder.
- Add
- Fixes:
- Fix
warp::addr::remote
when used withServer::tls
. - Fix panic in
warp::path::{peek, tail, full}
filters when the request URI is in authority-form or asterisk-form.
- Fix