Skip to content

Releases: pusher/pusher-websocket-java

v.2.2.4

03 Aug 13:06
d5e60c5
Compare
Choose a tag to compare

v2.2.3

08 Jul 16:12
Compare
Choose a tag to compare

Fixed LazySodium causing a crash on Android devices by swapping it out for TweetNaCl

v2.2.2

07 Jul 08:54
15cdaa4
Compare
Choose a tag to compare

Fixed an issue where some private encrypted messages were not decrypted accurately by swapping our implementation of SecretBoxOpener for one provided by Lazy Sodium

v2.2.1

22 Apr 15:34
206835c
Compare
Choose a tag to compare

Changed PusherOptions setForceTLS and isForceTLS to setUseTLS and isUseTLS to align with the other client SDKs.

v.2.2.0

22 Apr 10:40
c85f492
Compare
Choose a tag to compare

Changed PusherOptions setEncrypted and isEncrypted to setForceTLS and isForceTLS to reduce confusion between this option and private encrypted channels.

v2.1.1

15 Apr 16:01
ea54af0
Compare
Choose a tag to compare
  • Fix a case where multiple websocket connections could be opened at once if reconnection was triggered by an activity timeout.

v2.1.0

08 Apr 14:13
979d537
Compare
Choose a tag to compare

Add private encrypted channels.

v2.0.2

08 Oct 09:59
46e7966
Compare
Choose a tag to compare
  • Make a no-op state change non-fatal, allowing transitions to/from the same state

v2.0.1

17 Sep 13:40
14dfcd6
Compare
Choose a tag to compare
  • Forward channel_data returned by the auth endpoint when subscribing to private channels

v2.0.0

12 Aug 14:29
cdf0afd
Compare
Choose a tag to compare
  • 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.