Releases: hummingbird-project/hummingbird-websocket
Releases · hummingbird-project/hummingbird-websocket
v1.1.0
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 areadCallback
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
v1.0.1
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 immediatelyHBWebSocketClient
sets upHTTPDecoder
withleftOverBytesStrategy
to.forwardBytes
to ensure any remaining data in channel is passed onto websocket channel handler.
v1.0.0
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
Breaking Change
HBWebSocket(_:promise)
does not have a default value forpromise
anymore.
Minor Release Changes
- Add versions of
HBWebSocket.write/close/sendPing
that return anEventLoopFuture
as an alternative to the ones that you pass an optionalEventLoopPromise
into. - Add async/await version of
HBWebSocket.write/close/sendPing
. - Add
HBWebSocket.readStream
that returns anAsyncStream<WebSocketData>
. The AsyncStream will finish when the web socket is closed.
v1.0.0 Release Candidate 1
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
Minor release changes
- Requires Swift 5.5 (inline with SwiftNIO)
v1.0.0 Alpha 1
Use 1.0.0-alpha of Hummingbird
v0.4.1
- Add
import NIOHTTP1
because Hummingbird doesn't export the whole ofNIOHTTP1
anymore.
v0.4.0
Minor release updates
- Using hummingbird v0.13.0
Patch release updates
- Fix websocket URLs that include query strings
v0.3.1
- Add iOS and tvOS platform requirements
- CI now uses swift 5.4