Skip to content

Releases: hummingbird-project/hummingbird-websocket

v1.1.0

12 Jul 09:27
90b7605
Compare
Choose a tag to compare

Minor version changes

  • Add support to supply additional headers during initial HTTP connection when using client. PR #20
  • Add support for editing maxFrameSize. PR #23
  • Add read callback in HBWebSocketClient. If you add a readCallback after the client has been created it is possible to miss packets. This ensures you don't miss any packets. PR #25
  • Require Hummingbird 1.4.0
  • Add public API to send an unsolicited pong message. PR #28 from @tkrajacic

Patch version changes

  • Fix the masking key generation not generating 0x0. PR #16 from @Joannis

v1.0.1

21 Feb 14:51
8cb4bf5
Compare
Choose a tag to compare

Patch release changes

  • When adding websocket upgrade use new HBChannelInitializer.addProtocolUpgrade
  • Cancel auto ping task when websocket channel is closed
  • Ensure websocket channel is fully closed when other side closes input.
  • InitiateAutoPing schedules the first ping instead of sending it immediately
  • HBWebSocketClient sets up HTTPDecoder with leftOverBytesStrategy to .forwardBytes to ensure any remaining data in channel is passed onto websocket channel handler.

v1.0.0

08 Feb 16:33
c4f64de
Compare
Choose a tag to compare

First Stable release of the WebSocket library for Hummingbird

  • Includes setting up your HBApplication to accept WebSocket requests.
  • A WebSocket client.

Breaking change from v1.0.0-rc.2

Renamed HBApplication.WebSocket to HBWebSocketBuilder

v1.0.0 Release Candidate 2

30 Jan 12:26
cbe5fec
Compare
Choose a tag to compare

Breaking Change

  • HBWebSocket(_:promise) does not have a default value for promise anymore.

Minor Release Changes

  • Add versions of HBWebSocket.write/close/sendPing that return an EventLoopFuture as an alternative to the ones that you pass an optional EventLoopPromise into.
  • Add async/await version of HBWebSocket.write/close/sendPing.
  • Add HBWebSocket.readStream that returns an AsyncStream<WebSocketData>. The AsyncStream will finish when the web socket is closed.

v1.0.0 Release Candidate 1

17 Jan 17:46
157c9cd
Compare
Choose a tag to compare

Minor changes

  • Use hummingbird 1.0.0-rc.1 and fix up errors generated by breaking changes in hummingbird release.
  • Use a separate router for web socket requests

v1.0.0 Alpha 2

07 Dec 14:20
Compare
Choose a tag to compare

Minor release changes

  • Requires Swift 5.5 (inline with SwiftNIO)

v1.0.0 Alpha 1

17 Nov 18:45
Compare
Choose a tag to compare

Use 1.0.0-alpha of Hummingbird

v0.4.1

11 Nov 14:40
Compare
Choose a tag to compare
  • Add import NIOHTTP1 because Hummingbird doesn't export the whole of NIOHTTP1 anymore.

v0.4.0

21 Sep 09:41
Compare
Choose a tag to compare

Minor release updates

  • Using hummingbird v0.13.0

Patch release updates

  • Fix websocket URLs that include query strings

v0.3.1

07 May 09:54
Compare
Choose a tag to compare
  • Add iOS and tvOS platform requirements
  • CI now uses swift 5.4