Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Releases: phergie/phergie-irc-client-react

2.0.0

13 Dec 16:56
Compare
Choose a tag to compare

Because of a known limitation in react/socket-client, which is now being used for SSL support to fix a related issue, using SSL and forcing usage of IPv4 cannot be done simultaneously. This capability will be restored in a future release once the react/socket-client issue is addressed. Note that to use SSL after upgrading, you must require react/socket-client:0.3.* in your own composer.json file. Also note that, due to version requirements of react/socket-client, this library now requires PHP >= 5.4.2.

  • Modified logging usage to use PSR-3 rather than Monolog typehints (@elazar)
  • Fixed an OS X-specific test failure related to use of streams (@elazar)
  • Added ClientInterface and modified Client to implement it (@elazar)
  • Fixed errors in README code examples (@stil)
  • Fixed streams not being removed from the event loop when corresponding connections are removed (@elazar)
  • Fixed an issue with logging when the client is invoked in code passed to PHP via stdin (@elazar)
  • Fixed excessive newlines in logging output, added connection mask and context data to log records (@elazar)
  • Modified irc.sent, connect.after.each, and connect.after.all event callbacks to receive the associated connection's WriteStream instance (@elazar)
  • Added irc.tick event for asynchronous queueing of outgoing events (@elazar)
  • Refactored SSL support to use react/socket-client (@cboden / @elazar)
  • Refactored DNS lookups to use react/dns (@WyriHaximus)
  • Fixed an issue with the DNS resolver failing to initialize if the DNS server or event loop haven't yet been initialized (@grachov)
  • Fixed issues with HHVM compatibility (@elazar)