diff --git a/CHANGELOG.md b/CHANGELOG.md index 006be02b..7b1b99a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,11 @@ This Changelog is no longer being updated. For any further changes please see the Releases section on this Github repository - https://github.com/pusher/pusher-websocket-java/releases ## Version 2.0.0 -* 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](https://pusher.com/docs/channels/using_channels/events#user-id-in-client-events). +* 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](https://pusher.com/docs/channels/using_channels/events#user-id-in-client-events). +* 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`. ## Version 1.4.0 * Update the dependency to use pusher/java-websocket fork and remove dependency on clojars.org repository. diff --git a/README.md b/README.md index d29933f8..7541a56a 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ The pusher-java-client is available in Maven Central. com.pusher pusher-java-client - 1.8.0 + 2.0.0 ``` @@ -67,7 +67,7 @@ The pusher-java-client is available in Maven Central. ```groovy dependencies { - compile 'com.pusher:pusher-java-client:1.8.0' + compile 'com.pusher:pusher-java-client:2.0.0' } ``` diff --git a/build.gradle b/build.gradle index 73087be4..3915a1e8 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ apply plugin: 'org.ajoberstar.github-pages' apply plugin: 'signing' group = "com.pusher" -version = "1.8.2-SNAPSHOT" +version = "2.0.0" sourceCompatibility = "1.8" targetCompatibility = "1.8"