Skip to content

Commit

Permalink
Merge pull request #307 from pusher/update-gson-gradle
Browse files Browse the repository at this point in the history
Changelog
  • Loading branch information
singhashmeet authored Nov 11, 2021
2 parents a429460 + 3d8334c commit 7afdfde
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 33 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# pusher-websocket-java changelog

### Version 2.2.7 - 11th November 2021
* Fixed an [issue Vulnerability with legacy Gson dependency](https://github.com/pusher/pusher-websocket-java/issues/305)

### Version 2.2.6 - 17th March 2021
* Fixed an [issue causing a NullPointerException if event data on a Presence channel was malformed or missing](https://github.com/pusher/pusher-websocket-java/pull/290)

Expand Down
77 changes: 45 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,36 +17,49 @@ Pusher Channels client library for Java targeting **Android** and general Java.

This README covers the following topics:

- [Installation](#installation)
- [Maven](#maven)
- [Gradle](#gradle)
- [Download](#download)
- [Source](#source)
- [API Overview](#api-overview)
- [The Pusher constructor](#the-pusher-constructor)
- [Connecting](#connecting)
- [Reconnecting](#reconnecting)
- [Disconnecting](#disconnecting)
- [Listening to connection events](#listening-to-connection-events)
- [Subscribing to channels](#subscribing-to-channels)
- [Public channels](#public-channels)
- [Private channels](#private-channels)
- [Private encrypted channels](#private-encrypted-channels)
- [Presence channels](#presence-channels)
- [The User object](#the-user-object)
- [Binding and handling events](#binding-and-handling-events)
- [Triggering events](#triggering-events)
- [Accessing the connection socket ID](#accessing-the-connection-socket-id)
- [Helper Methods](#helper-methods)
- [Getting a channel from string](#getting-a-channel-from-string)
- [Check if a channel has subscribed](#check-if-a-channel-has-subscribed)
- [JavaDocs](#javadocs)
- [Library Development Environment](#library-development-environment)
- [Prerequisites](#prerequisites)
- [Cloning the project](#cloning-the-project)
- [Eclipse Project](#eclipse-project)
- [Build](#build)
- [Run the Example Application](#run-the-example-application)
- [Pusher Channels Java Client](#pusher-channels-java-client)
- [Supported platforms](#supported-platforms)
- [TOC](#toc)
- [Installation](#installation)
- [Maven](#maven)
- [Gradle](#gradle)
- [Download](#download)
- [Source](#source)
- [API Overview](#api-overview)
- [The Pusher constructor](#the-pusher-constructor)
- [Connecting](#connecting)
- [The PusherOptions object](#the-pusheroptions-object)
- [Reconnecting](#reconnecting)
- [Disconnecting](#disconnecting)
- [Listening to connection events](#listening-to-connection-events)
- [Subscribing to channels](#subscribing-to-channels)
- [Public channels](#public-channels)
- [Private channels](#private-channels)
- [Private encrypted channels](#private-encrypted-channels)
- [Presence channels](#presence-channels)
- [The User object](#the-user-object)
- [Client event authenticity](#client-event-authenticity)
- [Binding and handling events](#binding-and-handling-events)
- [ChannelEventListener](#channeleventlistener)
- [SubscriptionEventListener](#subscriptioneventlistener)
- [Unbinding event listeners](#unbinding-event-listeners)
- [Example](#example)
- [Triggering events](#triggering-events)
- [Accessing the connection socket ID](#accessing-the-connection-socket-id)
- [Helper Methods](#helper-methods)
- [Getting a channel from string](#getting-a-channel-from-string)
- [Basic channels](#basic-channels)
- [Private channels](#private-channels-1)
- [Presence channels](#presence-channels-1)
- [Check if a channel has subscribed](#check-if-a-channel-has-subscribed)
- [JavaDocs](#javadocs)
- [Library Development Environment](#library-development-environment)
- [Prerequisites](#prerequisites)
- [Cloning the project](#cloning-the-project)
- [Android Studio](#android-studio)
- [Eclipse Project](#eclipse-project)
- [Build](#build)
- [Run the Example Application](#run-the-example-application)

## Installation

Expand All @@ -61,7 +74,7 @@ The pusher-java-client is available in Maven Central.
<dependency>
<groupId>com.pusher</groupId>
<artifactId>pusher-java-client</artifactId>
<version>2.2.6</version>
<version>2.2.7</version>
</dependency>
</dependencies>
```
Expand All @@ -70,7 +83,7 @@ The pusher-java-client is available in Maven Central.

```groovy
dependencies {
compile 'com.pusher:pusher-java-client:2.2.6'
compile 'com.pusher:pusher-java-client:2.2.7'
}
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apply plugin: 'signing'
apply plugin: 'jacoco'

group = "com.pusher"
version = "2.2.6"
version = "2.2.7"
sourceCompatibility = "1.8"
targetCompatibility = "1.8"

Expand Down

0 comments on commit 7afdfde

Please sign in to comment.