Releases: hummingbird-project/hummingbird
Releases · hummingbird-project/hummingbird
v0.7.1
- Add availability options for platforms iOS, tvOS and macCatalyst. PR #60 from @SoftwareEngineerChris
- Return errors back to
HummingbirdCore
instead of a processedHBHTTPResponse
- Add
ws
andwss
schemes toHBURL
.
v0.7.0
HBHTTPResponder.respond
now includes anonComplete
function as a parameter to be called which should be called with the response. This is instead of theEventLoopFuture
. 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
- Don't consume request body when it is empty
v0.6.1
- 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
- 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
usingParser
v0.5.0
- Remove protocol
HBResponseFutureGenerator
HBFileMiddleware
supportsRange
,Etag
,if-none-match
andif-modified-since
headers.- Added cache control support to
HBFileMiddleware
HBURL
isEquatable
HBURL.queryParameters
isHBParameters
instead of aDictionary
Router.onStreaming
calls have been removed, now allHBRouterMethods.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 applicationHBDateCache
.
v0.4.0
- Using Hummingbird-core v0.4.2
- Conform
Optional
toHBResponseGenerator
- Make
HBMiddlewareGroup.init
public - Make
HBCallbackResponder
public - Added
FileIO.writeFile
FileIO
usesHBRequestBody
/HBResponseBody
instead ofHBRequest
andHBResponse
making it easier to use when no request or response is available.
v0.3.0
v0.2.0
- 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
Fixed a couple of dependency issues