Skip to content

Commit cdf0afd

Browse files
authored
Merge pull request #213 from pusher/v2-release
v2 release
2 parents a025630 + 53fba72 commit cdf0afd

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
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
44

55
## Version 2.0.0
6-
* 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).
76

7+
* 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).
8+
* Update Java sourceCompatibility and targetCompatibility to 1.8.
9+
* Fix an issue where the reconnect logic would not be reset after connect() is called again.
10+
* Depend on `org.java-websocket:Java-WebSocket:1.4.0` instead of `com.pusher:java-websocket:1.4.1`.
811

912
## Version 1.4.0
1013
* Update the dependency to use pusher/java-websocket fork and remove dependency on clojars.org repository.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The pusher-java-client is available in Maven Central.
5858
<dependency>
5959
<groupId>com.pusher</groupId>
6060
<artifactId>pusher-java-client</artifactId>
61-
<version>1.8.0</version>
61+
<version>2.0.0</version>
6262
</dependency>
6363
</dependencies>
6464
```
@@ -67,7 +67,7 @@ The pusher-java-client is available in Maven Central.
6767

6868
```groovy
6969
dependencies {
70-
compile 'com.pusher:pusher-java-client:1.8.0'
70+
compile 'com.pusher:pusher-java-client:2.0.0'
7171
}
7272
```
7373

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ apply plugin: 'org.ajoberstar.github-pages'
2121
apply plugin: 'signing'
2222

2323
group = "com.pusher"
24-
version = "1.8.2-SNAPSHOT"
24+
version = "2.0.0"
2525
sourceCompatibility = "1.8"
2626
targetCompatibility = "1.8"
2727

0 commit comments

Comments
 (0)