Releases: hummingbird-project/hummingbird-core
Releases · hummingbird-project/hummingbird-core
v0.13.1
Minor version changes
- Add back pressure support to
HBByteBufferStreamerviafeed(buffer: ByteBuffer) -> EventLoopFuture<Void>.
v0.13.0
Major release changes
HBRequestBodyStreamerrenamed toHBByteBufferStreamerand is available to use with streamed responses viaHBResponseBody.stream.- Enum
HBRequestBodyStreamer.ConsumeOutputrenamed toHBStreamerOutput.
Patch release changes
- Minor optimisation: remove one allocation when writing HTTP parts
Other changes
- Renamed
sanity.shtovalidate.sh
v0.12.4
Minor optimisations:
- Don't capture full
HBHTTPRequestin closures inHBHTTPServerHandler. readRequest - Added
finalto a number of class definitions
v0.12.3
- Don't propagate errors to response while decode handler is idle
v0.12.2
- Combine
HBHTTPDecodeHandler,HBHTTPEncodeHandlerandHBServerHandlerinto 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
AsyncSequencefromHBRequestBodyStreamer
Patch version changes
- Replace
import NIOwithNIOCoreorNIOPosixwhere applicable
v0.11.1
- Add
HBHTTPServer.portwhich returns the actual port we are bound to - Use port 0 in all the tests
v0.11.0
- Add new protocol
HBStreamerProtocolto allow for multiple types of buffer streaming. - Allow
HBRequestBody.streamto create aHBStreamerProtocolfrom a ByteBuffer. Fixes issue when trying to stream small buffers that never create a Streamer type.
v0.10.2
- Ensure to set
HTTPDecodeHandlerstate before callingcontext.fireChannelRead,streamer.feed(.end). Fixes issues when streaming compressed data. - Add 'content-length' header to XCTClient requests