Skip to content

Releases: hummingbird-project/hummingbird-core

v0.13.1

30 Nov 17:30
a3f48ed
Compare
Choose a tag to compare

Minor version changes

  • Add back pressure support to HBByteBufferStreamer via feed(buffer: ByteBuffer) -> EventLoopFuture<Void>.

v0.13.0

29 Nov 16:03
Compare
Choose a tag to compare

Major release changes

  • HBRequestBodyStreamer renamed to HBByteBufferStreamer and is available to use with streamed responses via HBResponseBody.stream.
  • Enum HBRequestBodyStreamer.ConsumeOutput renamed to HBStreamerOutput.

Patch release changes

  • Minor optimisation: remove one allocation when writing HTTP parts

Other changes

  • Renamed sanity.sh to validate.sh

v0.12.4

06 Oct 07:14
Compare
Choose a tag to compare

Minor optimisations:

  • Don't capture full HBHTTPRequest in closures in HBHTTPServerHandler. readRequest
  • Added final to a number of class definitions

v0.12.3

03 Oct 15:46
Compare
Choose a tag to compare
  • Don't propagate errors to response while decode handler is idle

v0.12.2

29 Sep 14:41
4692edf
Compare
Choose a tag to compare
  • Combine HBHTTPDecodeHandler, HBHTTPEncodeHandler and HBServerHandler into one channel handler to improve performance.

v0.12.1

24 Sep 06:36
Compare
Choose a tag to compare

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)

21 Sep 09:10
Compare
Choose a tag to compare

Minor version changes

  • Add support for creating an AsyncSequence from HBRequestBodyStreamer

Patch version changes

  • Replace import NIO with NIOCore or NIOPosix where applicable

v0.11.1

24 Aug 11:18
Compare
Choose a tag to compare
  • Add HBHTTPServer.port which returns the actual port we are bound to
  • Use port 0 in all the tests

v0.11.0

24 Jun 07:38
Compare
Choose a tag to compare
  • Add new protocol HBStreamerProtocol to allow for multiple types of buffer streaming.
  • Allow HBRequestBody.stream to create a HBStreamerProtocol from a ByteBuffer. Fixes issue when trying to stream small buffers that never create a Streamer type.

v0.10.2

24 May 09:46
Compare
Choose a tag to compare
  • Ensure to set HTTPDecodeHandler state before calling context.fireChannelRead, streamer.feed(.end). Fixes issues when streaming compressed data.
  • Add 'content-length' header to XCTClient requests