Releases: hummingbird-project/hummingbird-core
Releases · hummingbird-project/hummingbird-core
v0.13.1
Minor version changes
- Add back pressure support to
HBByteBufferStreamer
viafeed(buffer: ByteBuffer) -> EventLoopFuture<Void>
.
v0.13.0
Major release changes
HBRequestBodyStreamer
renamed toHBByteBufferStreamer
and is available to use with streamed responses viaHBResponseBody.stream
.- Enum
HBRequestBodyStreamer.ConsumeOutput
renamed toHBStreamerOutput
.
Patch release changes
- Minor optimisation: remove one allocation when writing HTTP parts
Other changes
- Renamed
sanity.sh
tovalidate.sh
v0.12.4
Minor optimisations:
- Don't capture full
HBHTTPRequest
in closures inHBHTTPServerHandler. readRequest
- Added
final
to a number of class definitions
v0.12.3
- Don't propagate errors to response while decode handler is idle
v0.12.2
- Combine
HBHTTPDecodeHandler
,HBHTTPEncodeHandler
andHBServerHandler
into one channel handler to improve performance.
v0.12.1
Patch version changes
- Ensure concurrency code is only compiled when _Concurrency framework is available
- Remove _NIOConcurrency imports as functions have been moved to NIOCore
Other changes
Using swift 5.5 docker images for CI
v0.12.0 (Async/Await)
Minor version changes
- Add support for creating an
AsyncSequence
fromHBRequestBodyStreamer
Patch version changes
- Replace
import NIO
withNIOCore
orNIOPosix
where applicable
v0.11.1
- Add
HBHTTPServer.port
which returns the actual port we are bound to - Use port 0 in all the tests
v0.11.0
- Add new protocol
HBStreamerProtocol
to allow for multiple types of buffer streaming. - Allow
HBRequestBody.stream
to create aHBStreamerProtocol
from a ByteBuffer. Fixes issue when trying to stream small buffers that never create a Streamer type.
v0.10.2
- Ensure to set
HTTPDecodeHandler
state before callingcontext.fireChannelRead
,streamer.feed(.end)
. Fixes issues when streaming compressed data. - Add 'content-length' header to XCTClient requests