Skip to content

Releases: hummingbird-project/hummingbird

v0.7.1

25 Mar 11:18
Compare
Choose a tag to compare
  • Add availability options for platforms iOS, tvOS and macCatalyst. PR #60 from @SoftwareEngineerChris
  • Return errors back to HummingbirdCore instead of a processed HBHTTPResponse
  • Add ws and wss schemes to HBURL.

v0.7.0

14 Mar 14:59
438ab21
Compare
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.
  • HBDateCache is stored in thread local storage
  • Date header is added automatically, no HBDateResponseMiddleware anymore.
  • Added HBApplication.Configuration.backlog
  • Default HBApplication.Configuration.withPipeliningAssistance to true

v0.6.2

06 Mar 12:27
Compare
Choose a tag to compare
  • Don't consume request body when it is empty

v0.6.1

06 Mar 11:41
Compare
Choose a tag to compare
  • Don't set so much metadata on HBRequest Logger as setting metadata is expensive
  • Clean up code for setting of HBRequest.logger metadata

v0.6.0

05 Mar 14:58
89db956
Compare
Choose a tag to compare
  • Add new Parser object for parsing various string formats
  • Replace CURLParser C library with Swift implementation using Parser
  • Implement Swift percent decoder for Parser
  • Parse HBMediaType using Parser

v0.5.0

25 Feb 16:16
Compare
Choose a tag to compare
  • Remove protocol HBResponseFutureGenerator
  • HBFileMiddleware supports Range, Etag, if-none-match and if-modified-since headers.
  • Added cache control support to HBFileMiddleware
  • HBURL is Equatable
  • HBURL.queryParameters is HBParameters instead of a Dictionary
  • Router.onStreaming calls have been removed, now all HBRouterMethods.on calls have a parameter that indicates if the body is to be streamed.
  • Avoid metrics being spammed with multiple new dimension sets by not reporting 404 paths and reporting the routes with parameters, with the parameter name and not the actual parameter.
  • HBDateResponseMiddleware sets up application HBDateCache.

v0.4.0

15 Feb 17:18
8698960
Compare
Choose a tag to compare
  • Using Hummingbird-core v0.4.2
  • Conform Optional to HBResponseGenerator
  • Make HBMiddlewareGroup.init public
  • Make HBCallbackResponder public
  • Added FileIO.writeFile
  • FileIO uses HBRequestBody/HBResponseBody instead of HBRequest and HBResponse making it easier to use when no request or response is available.

v0.3.0

10 Feb 15:54
Compare
Choose a tag to compare
  • Using Hummingbird-core v0.3.0
  • Added HBRequest(_: HTTPResponseStatus) and HBRequest(_: HTTPResponseStatus, message: String) for easy generation of failed EventLoopFutures
  • Default cookies to HttpOnly
  • Catch errors thrown by responder so they can be logged with route and method metadata.

v0.2.0

08 Feb 16:29
df29023
Compare
Choose a tag to compare
  • Ensure router paths without wildcards have priority over paths with wildcards in TrieRouter.
  • Added HBCORSMiddleware
  • Added HBLogRequestMiddleware
  • Added HBMetricsMiddleware
  • Resurrect HBEnvironment
  • Added request uri and method to Logger metadata
  • HBResponse.init() now has default arguments for headers and body.
  • Make HBResponse.setCookie public

v0.1.1

01 Feb 23:06
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release

Fixed a couple of dependency issues