Releases: amphp/websocket
Releases · amphp/websocket
Release list
1.0.2
1.0.1
1.0.0
Initial release. 🎉
Changes from RC2
Messageconstructor is now private, replaced with static constructorsfromText()andfromBinary().Client::send()andClient::stream()promises now resolve withvoidinstead of anint(the integer returned was sometimes 0, so it wasn't particularly useful).- Renamed
Client::didPeerInitiateClose()toClient::isClosedByPeer().
1.0.0 RC2
- Fixed marking that peer initiated close when remote socket closes.
- Close promise is now resolved with the close code and reason in a two-element array.
- Promise returned from
Rfc6455Client::receive()is now failed if the connection closes with a non-normal close code instead of resolving withnull(which remains the case on normal closure). (#5) - Added
Code::getName(int $code)that returns the constant name for the given code or null if it is not defined. - Timestamps in
ClientMetadataare now set usingAmp\getCurrentTime()instead oftime().
1.0.0 RC1
First release candidate.
Note: v0.1.x and v0.2.x tags in this repository are for our WebSocket client, which has been moved to amphp/websocket-client. v1.0 will be the initial release of this library.