Skip to content

v2.0.0 Alpha 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@adam-fowler adam-fowler released this 22 Jan 14:45
· 35 commits to 2.x.x since this release

This is the first alpha release of Hummingbird v2. Below is a list of the major changes

  • Complete rewrite of internals to be Swift structured concurrency based instead of NIO EventLoop
  • All EventLoopFuture based APIs have been removed
  • Integration with v2 of Swift Service Lifecycle.
  • Removed ability to extend HBApplication and HBRequest. These are replaced with direct dependency injection and a generic request context which is passed along with the request in route handlers and middleware.
  • In addition to the trie based router we have a new result builder based router.
  • Uses new HTTPTypes from Apple.
  • HummingbirdCore module is now in the same repository as Hummingbird
  • Merged HummingbirdFoundation into Hummingbird
  • Rewrite of Jobs system to use structured concurrency.

API Documentation can be found here and more details about differences between Hummingbird v1 and v2 can be found in the migration guide

Alongside the Hummingbird v2 alpha release, there will be alpha releases of HummingbirdAuth, HummingbirdRedis and HummingbirdFluent. WebSocket and Compression are not ready for release yet and will come later.