Skip to content

Releases: hummingbird-project/hummingbird-core

v0.6.0

14 Mar 14:50
7099566

Choose a tag to compare

  • HBHTTPResponder.respond now includes an onComplete function as a parameter to be called which should be called with the response. This is instead of the EventLoopFuture. This change was implemented as HummingBirdCore should not assume we are running an async server.
  • Added HBHTTPServer.Configuration.backlog
  • Default HBHTTPServer.Configuration.withPipeliningAssistance to true
  • HBRequestBodyStreamer.drop now returns an EventLoopFuture for when all the request buffers have been streamed.

v0.5.0

25 Feb 16:02
43a62b0

Choose a tag to compare

  • HBRequest.body.stream is now an optional. If no body is supplied in the request it is nil

v0.4.4

18 Feb 14:33

Choose a tag to compare

Fix HTTP2 connections

v0.4.3

17 Feb 17:55

Choose a tag to compare

  • Add support for dropping streamed request bodies. Once the response for a request has been fully written the request body is dropped to ensure back pressure doesn't hold up the request streamer.

v0.4.2

15 Feb 13:47

Choose a tag to compare

Add HBHTTPServer.getChildHandlers()

v0.4.1

15 Feb 10:45
ed0bb18

Choose a tag to compare

  • Require all child channel handlers to be removable

v0.4.0

15 Feb 10:42
9d04591

Choose a tag to compare

  • HBRequestBodyStreamer.consume returns one ByteBuffer as a time instead of an array
  • If response streamer receives an error send an .end
  • Fixed some issues with request streamer by creating promise for each ByteBuffer, instead of just the one for the whole array
  • Added back pressure on request streamer based on how much data is inflight.
  • Added HBRequestBodyStreamer.consumeAll(on:_) which takes a closure to process each ByteBuffer
  • Close channel when we receive a quiesce event
  • Channel initializer is supplied with the full array of child handlers instead of just the responder

v0.3.0

10 Feb 15:31

Choose a tag to compare

  • Added HBHTTPResponseError protocol for Errors that can be converted to an HBHTTPResponse

v0.2.0

08 Feb 15:59

Choose a tag to compare

Remove public from HBHTTPServerHandler, HBHTTPDecodeHandler and HBHTTPEncodeHandler

v0.1.1

05 Feb 14:57

Choose a tag to compare

  • output errors to log