Skip to content

v2.0.0 Beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@adam-fowler adam-fowler released this 14 Mar 10:11
· 188 commits to main since this release
dd36634

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 to RouterMiddleware.
    • HBChildChannel to ServerChildChannel
    • HBResponder to HTTPResponder
    • HBURL to URI
    • Client to ClientConnection
  • HummingbirdXCT test framework has been renamed to HummingbirdTesting with symbol changes
    • HBXCTClientProtocol to TestClientProtocol
    • HBXCTClientProtocol.XCTExecute() to HBXCTClientProtocol.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. Use try await gracefulShutdown() from ServiceLifecycle instead.
  • HBParser scope is now package

Other changes

  • 2.0 code has now been merged into main branch.