Vapor: 4.0.0-rc.3.4 Release

Release date:
March 12, 2020
Previous version:
4.0.0-rc.3.3 (released March 12, 2020)
Magnitude:
73 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 4.0.0-rc.3.4

bridger

Directory Browser for 4.0.0-rc.3.4

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

This patch was authored by @bridger and released by @tanner0101.

The maximum frame size of an incoming WebSocket packet can be configured. This fixes issues for apps that were running into the limit (#2195, fixes #2194).

let maxFrameSize: Int = 1024 * 1024 * 2 // 2mb
app.webSocket("api", "ws", maxFrameSize: .override(maxFrameSize)) { (request, ws) in
    websocketController.connected(request: request, connection: ws)
}