Skip to content

Releases: hummingbird-project/hummingbird-websocket

v2.0.0 Release Candidate 1

08 Jul 08:37
6ea08b2
Compare
Choose a tag to compare
Pre-release

Breaking changes

  • Add specific contexts for client and server WebSocketClient.Context and HTTP1WebSocketUpgradeChannel.Context respectively instead of using BasicWebSocketContext and remove BasicWebSocketContext.

Minor release changes

  • Added HummingbirdWSTesting test framework for testing WebSockets

v2.0.0 Beta 5

01 Jul 08:30
948b417
Compare
Choose a tag to compare
v2.0.0 Beta 5 Pre-release
Pre-release

Use Hummingbird v2.0.0 Release Candidate

v2.0.0 Beta 4

17 Jun 09:59
1352aa2
Compare
Choose a tag to compare
v2.0.0 Beta 4 Pre-release
Pre-release

Breaking changes

  • Changes required by RequestContext with associatedtype Source in #64

v2.0.0 Beta 3

05 Jun 11:53
9ffcaa8
Compare
Choose a tag to compare
v2.0.0 Beta 3 Pre-release
Pre-release

Minor release changes

  • Updates for Hummingbird beta 6

v2.0.0 Beta 2

21 May 16:50
f4d29d1
Compare
Choose a tag to compare
v2.0.0 Beta 2 Pre-release
Pre-release

Breaking changes

  • Updates required from changes in Hummingbird beta 5. PR #62

v2.0.0 Beta 1

29 Apr 10:28
81cda8c
Compare
Choose a tag to compare
v2.0.0 Beta 1 Pre-release
Pre-release

Minor release changes

  • Update for non-generic HTTPChannelBuilder. PR #59

v2.0.0 Alpha 3

18 Apr 14:20
1b9bdfc
Compare
Choose a tag to compare
v2.0.0 Alpha 3 Pre-release
Pre-release

Major release changes

  • Add missing ServiceLifecycle dependency to HummingbirdWSClient. PR #56 from @tkrajacic
  • Return close code and reason from WebSocketClient.connect. PR #58

Minor changes

  • Require CompressNIO v1.2 with decompression fix
  • Add minimum size of frame before running per message-deflate compression configuration. PR #57
  • Add WebSocketOutboundWriter.close(_:reason:) to close WebSocket connection with custom close code and reason

Patch changes

  • Improve trace output of frames.
  • Fix bug where exiting a handler because you received a close frame would hang. PR #57

v2.0.0 Alpha 2

12 Apr 10:26
25963c8
Compare
Choose a tag to compare
v2.0.0 Alpha 2 Pre-release
Pre-release

Major release changes

  • WebSocketClient has been split into a separate library HumingbirdWSClient which is not dependent on the Hummingbird library.
  • Common WebSocket code used by both server and client is in HummingbirdWSCore.
  • The WebSocketHandler inbound stream no longer collates WebSocket frames into full messages. If you want messages you can use WebSocketInboundStream.messages(maxSize:) to get a stream of collated WebSocketMessages.

Minor release changes

  • Added WebSocketOutboundWriter.withTextMessageWriter(_:) and WebSocketOutboundWriter.withBinaryMessageWriter(_:) to write WebSocket messages over a series of WebSocket frames.
  • Update compress-nio to v1.2.0 to get bug fix in decompression code.

Patch release changes

  • Set host header in initial HTTP request.
  • Don't drop left over bytes after WebSocket upgrade.
  • Fail connection on receiving a reserved opcode
  • Verify inbound close code is correct
  • Add mask to outbound close code for client
  • add SNI hostname for TLS in client

Other changes

v2.0.0 Alpha 1

06 Apr 15:02
ae56a40
Compare
Choose a tag to compare
v2.0.0 Alpha 1 Pre-release
Pre-release

Major release changes

  • Structured concurrency based rewrite of WebSocket server and client support to work with Hummingbird v2.0
  • Client and Server support both available from HummingbirdWebsocket
  • permessage-deflate compression available from HummingbirdWSCompression

v1.2.0

13 Oct 18:07
397f41e
Compare
Choose a tag to compare

Minor release changes

  • Add support for WebSocket extensions and implement permessage-deflate extension as described in https://www.rfc-editor.org/rfc/rfc7692. PR #27
  • Make HBWebSocket conform to Sendable. Split auto ping code off into a separate internally managed type. PR #30
  • Minimum supported version of Swift is now 5.7