Skip to content

Releases: amphp/socket

2.0.0 Beta 2

2.0.0 Beta 2 Pre-release
Pre-release

Choose a tag to compare

@kelunik kelunik released this 03 Feb 23:11
v2.0.0-beta.2
  • Update to revolt/event-loop 0.2.x

2.0.0 Beta 1

2.0.0 Beta 1 Pre-release
Pre-release

Choose a tag to compare

@kelunik kelunik released this 18 Dec 21:09
v2.0.0-beta.1
  • Based on fibers instead of promises, so return types changed to avoid Promise
  • Default to TLSv1.2+ instead of TLSv1.0+
  • Added connectTls function
  • Added bindDatagram function
  • Added ResourceDatagramSocket and DatagramSocket interface
  • Renamed createPair function to createSocketPair
  • Renamed connector function to socketConnector
  • Renamed Server to ResourceSocketServer and introduced SocketServer interface
  • Renamed Connector to SocketConnector
  • Renamed DnsConnector to DnsSocketConnector
  • Renamed StaticConnector to StaticSocketConnector
  • Removed chunk size from BindContext, use parameters on listen / bindDatagram instead

1.2.0

Choose a tag to compare

@kelunik kelunik released this 09 Jul 18:25
v1.2.0
a8af9f5
  • Add support for TLS 1.3 (#82)

1.1.3

Choose a tag to compare

@kelunik kelunik released this 25 Jun 19:03
v1.1.3
  • Removed error_get_last() calls in favor of custom error handlers to make the code independent of custom user error handlers.

1.1.2

Choose a tag to compare

@kelunik kelunik released this 23 Jun 20:12
v1.1.2
  • Fixed undefined array offset error (#76)
  • Fixed potential null type error

1.1.1

Choose a tag to compare

@kelunik kelunik released this 27 Feb 21:37
v1.1.1
  • Fixed ALPN whitespace resulting in TLS handshake errors with some rare servers (amphp/http-client#255)
  • Keep TlsInfo around in ResourceSocket (#71)

1.1.0

Choose a tag to compare

@kelunik kelunik released this 31 Dec 17:29
v1.1.0
  • Added Server::isClosed()
  • Added DatagramSocket::isClosed()
  • Added custom resolver support for DnsConnector (#70)

0.10.13

Choose a tag to compare

@trowski trowski released this 06 Nov 23:47
d84f6e0
  • Fixed an error where a socket pool would sometimes report that a socket did not belong to the pool if the socket was closed before being returned to the pool.

1.0.0

Choose a tag to compare

@kelunik kelunik released this 01 Aug 19:55
v1.0.0
  • Changed minimum PHP version to 7.1
  • Added support for UDP / datagrams
  • Added Connector interface
  • Added EncryptableSocket interface
  • Added SocketAddress in favor of raw strings
  • Added TlsInfo exposing a connection's TLS details
  • Added hasTlsAlpnSupport() / hasTlsSecurityLevelSupport()
  • Changed SocketPool::checkout() to accept an ConnectContext parameter
  • Renamed BasicSocketPool to UnlimitedSocketPool
  • Renamed pair() to createPair()
  • Renamed enableCrypto() to setupTls()
  • Renamed ClientConnectContext to ConnectContext
  • Renamed ServerListenContext to BindContext
  • Renamed CryptoException to TlsException
  • Removed cryptoConnect, use connect() and call $socket->setupTls() on the returned socket instead
  • Removed StaticSocketPool, use StaticConnector instead with any other SocketPool implementation

0.10.12

Choose a tag to compare

@trowski trowski released this 04 Jun 14:51
  • Fixed URI parsing when the host is 0 (#60)