v2.0.0 Beta 1
Pre-release
Pre-release
adam-fowler
released this
14 Mar 10:11
·
188 commits
to main
since this release
This is the first beta release of Hummingbird v2. Below is a list of the changes since the last alpha
Major release changes
- The "HB" prefix on symbols has been removed. To help transition from previous symbols with the "HB" prefix we have added deprecated typealiases for the old symbols. eg
typealias HBRequest = Request
. These will be removed in the final release. - At the same time we have renamed
HBMiddlewareProtocol
toRouterMiddleware
.HBChildChannel
toServerChildChannel
HBResponder
toHTTPResponder
HBURL
toURI
Client
toClientConnection
- HummingbirdXCT test framework has been renamed to
HummingbirdTesting
with symbol changesHBXCTClientProtocol
toTestClientProtocol
HBXCTClientProtocol.XCTExecute()
toHBXCTClientProtocol.execute()
- HummingbirdJobs has been reworked to allow for easier referencing of services from inside job execution code. Check https://hummingbird-project.github.io/hummingbird-docs/2.0/documentation/hummingbirdjobs for details.
GracefulShutdownWaiter
has been removed. Usetry await gracefulShutdown()
from ServiceLifecycle instead.HBParser
scope is nowpackage
Other changes
- 2.0 code has now been merged into
main
branch.