Skip to content

Releases: hummingbird-project/hummingbird-websocket

v2.6.0

21 Jun 08:01
716c542

Choose a tag to compare

Minor release changes

  • When receiving a websocket upgrade header after having accepted standard HTTP requests on a connection return temporary redirect to same URI and close the connection. This will make sure the upgrade is processed on a fresh connection. This gets around a limitation of swift-nio where upgrades are ignored after the first request. #108

Patch release changes

  • Return 400 status for failed upgrades. #107

v2.5.0

12 May 15:28
974ab0d

Choose a tag to compare

Minor release changes

  • Require hummingbird v2.14.0
  • Add isOutboundHalfClosureEnabled: true to NIOAsyncChannel configuration. This is required by hummingbird v2.14.0. #104

v2.4.0

21 Apr 21:16
7b91c26

Choose a tag to compare

Minor release changes

  • Require hummingbird v2.12.0

Patch release changes

  • Disable NIO pipelining support, response header validation and http protocol error handling as these are done elsewhere

v2.3.0

19 Dec 10:19
11b4b52

Choose a tag to compare

Minor release changes

  • Updated to swift-websocket 1.2.0.
  • Added closeTimeout for when client doesn't respond to close frame.

Other changes

  • Moved to using swift-format from Apple

v2.2.0

21 Nov 14:47
a382c7d

Choose a tag to compare

Minor release changes

  • Update to compress-nio v1.4.0 and use new ZlibCompressor/ZlibDecompressor types. #83
  • Moved core, client and compression WebSocket code to swift-websocket repository. Client is still available via HummingbirdWSClient and permessage-deflate compression is still available via HummingbirdWSCompression, but the code for these now lives in swift-websocket in libraries WSClient and WSCompression respectively. #87
  • Added optional UTF8 validation of text messages. #87

Patch release changes

Use state machine to manage web socket connection status. #84

Other changes

Add scripts and snippets for running Autobahn tests on server

v2.1.0

17 Sep 09:46
f37842a

Choose a tag to compare

Minor release changes

Fix inconsistency in public HTTP1WebSocketUpgradeChannel.init functions

Version 2.0.0

12 Sep 08:38
f53e2af

Choose a tag to compare

🎉 🎉 🎉

This is a complete rewrite of the Hummingbird WebSocket support to go along with version 2.0 of Hummingbird. As with Hummingbird 2.0 the rewrite is based around structured concurrency

The package consists of 5 libraries

  • HummingbirdWSCore: Core WebSocket support
  • HummingbirdWebSocket: Server upgrade support for WebSockets.
  • HummingbirdWSClient: WebSocket client.
  • HummingbirdWSCompression: Support for permessage-deflate compression.
  • HummingbirdWSTesting: Additions to testing framework to help test WebSockets.

As this is a complete rewrite it is hard to list all the changes so instead here are links to the documentation for the server upgrade and the client.

v2.0.0 Release Candidate 3

27 Aug 09:00
1505910

Choose a tag to compare

Pre-release

Patch release changes

  • Fix compilation error on macOS swift 6. #77

v2.0.0 Release Candidate 2

23 Aug 09:56
2d6404a

Choose a tag to compare

Pre-release

Breaking changes

  • Remove allocator from contexts

Patch release changes

  • Fixed Swift 6 mode errors

v2.0.0 Release Candidate 1

08 Jul 08:37
6ea08b2

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