Skip to content

v2.0.0 Alpha 2

Pre-release
Pre-release
Compare
Choose a tag to compare
@adam-fowler adam-fowler released this 05 Feb 19:42
5c1f2ea

Breaking changes

  • HBRequestBody has been converted from an enum to a struct.
  • HBBindAddress renamed to HBAddress and has been converted from an enum to a struct.
  • HBHTTPChannelBuilder.http2 renamed to HBHTTPChannelBuilder.http2Upgrade.
  • HBServerConfiguration is no longer passed to HBChildChannel.setup.
  • Removed HBRouterMethodOptions as they are no longer needed.
  • Removed loggerWithRequestId global function.
  • Removed HBApplicationConfiguration.noHTTPServer as we don't use it.
  • HBServer.makeServer is no longer public.
  • .env file loading is now async.

Minor release changes

  • Added HBRequestBody.makeStream to construct a new back pressured stream of buffers for a request body.
  • Added generalized client type to setup client connection without defining the protocol being used (being used by WebSocket client).
  • HBApplicationConfiguration members are all var instead of let.

Patch release changes

  • Fix issue with HBApplication.runBeforeServerStart and testing using .router framework.
  • Set StrictConcurrency=complete and fixed related warnings

Other changes

  • Updated README for v2.

Full Changelog: 2.0.0-alpha.1...2.0.0-alpha.2