Changelog for engine-io-1.2.0
1.2.0
ServerAPI'ssrvParseParseRequestBodyhas changed its return type toEither String a. This allows API providers to catch exceptions that may happen when attempting to perform this parse.
1.1.2
- 1.1.1 accidently removed
websocketsfrom the list of available upgrades. This release reverts that change.
1.1.1
-
Long-polling connections now emit a
pingmessage after 45 seconds, if no data is written to them. -
There is a new
dupRawReaderfunction, which lets you create a read-only stream of raw communication with a socket.
1.1.0
-
The
ServerAPIfunctionssrvWriteBuilder,srvSetContentTypeandsrvSetResponseCodehave been merged into a single function:srvTerminateWithResponse. This should allowServerAPIto be provided for Yesod.Thanks to Tim Baumann (@timjb) for this change.
1.0.2
- The
pingthread spawned bywebsocketsis now disabled, as it has been observed that these pings are using invalid sockets. Specifically, see https://github.com/lpsmith/postgresql-simple/issues/117.
1.0.1
- Purposefully double-encode websocket traffic. Unfortunately this is necessary
due to https://github.com/Automattic/engine.io-client/issues/322. When a new
version of
engine.iois released upstream, I will revert this.
1.0.0
- Initial release