Skip to content

Commit

Permalink
PubNub SDK v5.1.1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
client-engineering-bot committed Jul 13, 2021
1 parent 26f9cbb commit 0ee1a51
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 11 deletions.
9 changes: 7 additions & 2 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: java
version: 5.1.0
version: 5.1.1
schema: 1
scm: github.com/pubnub/java
files:
- build/libs/pubnub-gson-5.1.0-all.jar
- build/libs/pubnub-gson-5.1.1-all.jar
sdks:
-
type: library
Expand Down Expand Up @@ -234,6 +234,11 @@ sdks:
is-required: Required

changelog:
- version: v5.1.1
date: 2021-07-13
changes:
- type: bug
text: "Update Jackson libraries to avoid known vulnerabilities."
- version: v5.1.0
date: 2021-05-20
changes:
Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
## [v5.1.1](https://github.com/pubnub/java/releases/tag/v5.1.1)
July-13-2021

[Full Changelog](https://github.com/pubnub/java/compare/v5.1.0...v5.1.1)

- 🐛 Update Jackson libraries to avoid known vulnerabilities.

## [v5.1.0](https://github.com/pubnub/java/releases/tag/v5.1.0)
May-20-2021

[Full Changelog](https://github.com/pubnub/java/compare/v5.0.0...v5.1.0)

- 🌟️ Method grantToken has beed added. It allows generation of signed token with permissions for channels and channel groups.
- 🐛 UUID is now exposed as PNMembership field which make is accessible from PNMembershipResult argument of SubscribeCallback.membership() method.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ You will need the publish and subscribe keys to authenticate your app. Get your
<dependency>
<groupId>com.pubnub</groupId>
<artifactId>pubnub-gson</artifactId>
<version>5.1.0</version>
<version>5.1.1</version>
</dependency>
```

* for Gradle, add the following dependency in your `gradle.build`:
```groovy
compile group: 'com.pubnub', name: 'pubnub-gson', version: '5.1.0'
compile group: 'com.pubnub', name: 'pubnub-gson', version: '5.1.1'
```

2. Configure your keys:
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
}
group = 'com.pubnub'

version = '5.1.0'
version = '5.1.1'

description = """"""

Expand Down Expand Up @@ -55,8 +55,8 @@ dependencies {
implementation group: 'com.squareup.retrofit2', name: 'converter-gson', version: '2.6.2'

// cbor
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.9'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.9.9'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.3'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.12.3'

implementation 'org.jetbrains:annotations:17.0.0'

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/pubnub/api/PubNub.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public class PubNub {
private static final int TIMESTAMP_DIVIDER = 1000;
private static final int MAX_SEQUENCE = 65535;

private static final String SDK_VERSION = "5.1.0";
private static final String SDK_VERSION = "5.1.1";
private final ListenerManager listenerManager;
private final StateManager stateManager;

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/pubnub/api/PubNubTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void getVersionAndTimeStamp() {
pubnub = new PubNub(pnConfiguration);
String version = pubnub.getVersion();
int timeStamp = pubnub.getTimestamp();
Assert.assertEquals("5.1.0", version);
Assert.assertEquals("5.1.1", version);
Assert.assertTrue(timeStamp > 0);
}

Expand Down

0 comments on commit 0ee1a51

Please sign in to comment.