Skip to content

Releases: hummingbird-project/hummingbird

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

v0.1.0 Initial version

01 Feb 17:37
Compare
Choose a tag to compare
Pre-release

Initial release of Hummingbird: web application server including

  • routing
  • middleware
  • extending objects
  • custom encoding/decoding of payloads (JSON, URL encoded forms)
  • static file serving