v0.17.0
rossabaker
released this
04 Oct 20:51
·
13352 commits
to series/0.23
since this release
- Honor
Retry-After
header inRetry
middleware. The response will
not be retried until the maximum of the backoff strategy and any
time specified by theRetry-After
header of the response. - The
RetryPolicy.defaultRetriable
only works for methods guaranteed
to not have a body. In fs2, we can't introspect the stream to
guarantee that it can be rerun. To retry requests for idempotent
request methods, useRetryPolicy.unsafeRetriable
. To retry
requests regardless of method, use
RetryPolicy.recklesslyRetriable
. - Fix
Logger
middleware to render JSON bodies as text, not as a hex
dump. MultipartParser.parse
returns a stream ofByteVector
instead of
a stream ofByte
. This perserves chunking when parsing into the
high-levelEntityDecoder[Multipart]
, and substantially improves
performance on large files. The high-level API is not affected.