Skip to content

v2.0.0

Compare
Choose a tag to compare
@WillSewell WillSewell released this 12 Aug 14:29
· 200 commits to master since this release
cdf0afd
  • The onEvent handler now gets called with one parameter, called the PusherEvent. This PusherEvent has all the same information available as was available before with the 3 parameters, but now is accessible by calling getChannelName(), getData() or getEventName() on the PusherEvent object you receive. In addition, for presence channel client events, you can now retrieve an authenticated User ID by calling getUserId() on the PusherEvent object. To read more on Authenticated users, see the README or our docs here.
  • Update Java sourceCompatibility and targetCompatibility to 1.8.
  • Fix an issue where the reconnect logic would not be reset after connect() is called again.
  • Depend on org.java-websocket:Java-WebSocket:1.4.0 instead of com.pusher:java-websocket:1.4.1.