Releases: hummingbird-project/hummingbird
Releases · hummingbird-project/hummingbird
v0.10.0
- Added
persist
framework for storing key/value pairs across requests - Can replace headers set in
HBResponseGenerator
usingrequest.header.replaceOrAdd
. Previously this would output both headers - Added
HBRequest.remoteAddress
v0.9.0
- Using
hummingbird-core
v0.8.0 - Add
HBRouterMethods.group
to create a newHBRouterGroup
off current setup of methods. - Add
HBRouterHandler
type for encapsulating everything a route needs along with itshandle
function. - Add
HBParameters.require
that throws an error if parameter does not exist. - Create
HBRequest.parameters
object if it doesn't already exist - Add
HBEnvironment.shared
for global access to environment variables - Fix parsing of multiple cookies, previously only the first cookie was parsed
v0.8.1
Revert HBApplication.Logger
back to a var
v0.8.0
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
.