Skip to content

Releases: WarriorXK/PHPWebSockets

v3.1.3

29 Jun 11:41
30c4f62
Compare
Choose a tag to compare
  • Fixed the assumption that a fread of 0 bytes implies that the socket is closed
  • Migrated tests from travis-ci to github actions
  • Moved style-ci config to web portal

v3.1.2

02 Dec 09:42
11ac852
Compare
Choose a tag to compare
  • Fixed the Host header being incorrect in the websocket client if specifying anything more than just the IP / host.
  • Added the option to specify a lastUpdateTimeout for writeUntilEmpty

v3.1.1

07 Jul 15:40
adef40d
Compare
Choose a tag to compare

Fixed a consistency issue which caused disconnects to be triggerd without connects ever being triggered
Fixed a consistency issue which caused disconnects to be triggerd multiple times
Fixed a potential crash in writeMultiFramed if data was a single char
Fixed license year
Fixed docblocks
Now clearing the buffers after close

v3.1.0

23 Feb 14:58
3bb00d5
Compare
Choose a tag to compare
  • Added the option to send back additional headers to the client in the websocket accept response

v3.0.1

27 Nov 08:42
78e8707
Compare
Choose a tag to compare
  • Fixed crash in PHP8 when a NULL stream was provided to stream_select
  • Added support for PHP8 in composer file
  • No longer allowing failures on PHP nightly (8)

v3.0.0

22 Oct 06:45
71f24b2
Compare
Choose a tag to compare
  • Added ITaggable. to allow for setting tags on objects
  • Added read and write counters on AConnection to monitor the amount of messages send and received
  • Implemented PHP7.3 features where possible (i.e. nullable and void returns, const visibility)
  • Renamed the following constants
    • Error::C_READ_HANDSHAKEFAILURE => C_READ_HANDSHAKE_FAILURE
    • Error::C_READ_HANDSHAKETOLARGE => C_READ_HANDSHAKE_TO_LARGE
    • Error::C_READ_RSVBIT_SET => C_READ_RSV_BIT_SET
  • Removed
    • Error::C_READ_INVALID_TARGET_STREAM
    • Read:: C_NEW_TCP_CONNECTION_AVAILABLE
    • Read::C_NEW_TCP_CONNECTION
    • Read::C_NEWCONNECTION
    • AUpdate->getSourceObject
  • Moved to travis-ci.com instead of .org
  • Updated to latest PHPUnit

v2.6.3

17 Jun 21:27
58d4381
Compare
Choose a tag to compare

Fixed not calling _resetFrameData before yielding the update

v2.6.2

04 Jun 10:40
38928d6
Compare
Choose a tag to compare
  • Fixed Error::C_ASYNC_CONNECT_FAILED causing a type exception in the UpdatesWrapper

v2.6.1

25 May 13:00
63c1ca8
Compare
Choose a tag to compare
  • Fixed an exception on Error::C_DISCONNECT_TIMEOUT and Error::C_READ_NO_STREAM_FOR_NEW_MESSAGE when using the UpdatesWrapper
  • Fixes for StyleCI

v2.6.0

31 Dec 10:27
6d0270a
Compare
Choose a tag to compare
  • Added support for async connect
  • Added CI for PHP 7.4
  • Fixed manual accept crashing on new connections
  • Fixed @throws tags in docblocks according to PHPStorm style
  • Misc fixes and cleanup