Repository navigation
Releases: amphp/socket
Releases · amphp/socket
Release list
2.0.0 Beta 2
- Update to
revolt/event-loop0.2.x
2.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
connectTlsfunction - Added
bindDatagramfunction - Added
ResourceDatagramSocketandDatagramSocketinterface - Renamed
createPairfunction tocreateSocketPair - Renamed
connectorfunction tosocketConnector - Renamed
ServertoResourceSocketServerand introducedSocketServerinterface - Renamed
ConnectortoSocketConnector - Renamed
DnsConnectortoDnsSocketConnector - Renamed
StaticConnectortoStaticSocketConnector - Removed chunk size from
BindContext, use parameters onlisten/bindDatagraminstead
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
0.10.13
1.0.0
- Changed minimum PHP version to 7.1
- Added support for UDP / datagrams
- Added
Connectorinterface - Added
EncryptableSocketinterface - Added
SocketAddressin favor of raw strings - Added
TlsInfoexposing a connection's TLS details - Added
hasTlsAlpnSupport()/hasTlsSecurityLevelSupport() - Changed
SocketPool::checkout()to accept anConnectContextparameter - Renamed
BasicSocketPooltoUnlimitedSocketPool - Renamed
pair()tocreatePair() - Renamed
enableCrypto()tosetupTls() - Renamed
ClientConnectContexttoConnectContext - Renamed
ServerListenContexttoBindContext - Renamed
CryptoExceptiontoTlsException - Removed
cryptoConnect, useconnect()and call$socket->setupTls()on the returned socket instead - Removed
StaticSocketPool, useStaticConnectorinstead with any otherSocketPoolimplementation