Releases: hummingbird-project/hummingbird-websocket
Releases · hummingbird-project/hummingbird-websocket
v2.6.0
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
v2.4.0
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
v2.2.0
Minor release changes
- Update to compress-nio v1.4.0 and use new
ZlibCompressor/ZlibDecompressortypes. #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
Minor release changes
Fix inconsistency in public HTTP1WebSocketUpgradeChannel.init functions
Version 2.0.0
🎉 🎉 🎉
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
Patch release changes
- Fix compilation error on macOS swift 6. #77
v2.0.0 Release Candidate 2
Breaking changes
- Remove
allocatorfrom contexts
Patch release changes
- Fixed Swift 6 mode errors
v2.0.0 Release Candidate 1
Breaking changes
- Add specific contexts for client and server
WebSocketClient.ContextandHTTP1WebSocketUpgradeChannel.Contextrespectively instead of usingBasicWebSocketContextand removeBasicWebSocketContext.
Minor release changes
- Added
HummingbirdWSTestingtest framework for testing WebSockets