Skip to content

Commit 0ee1a51

Browse files
PubNub SDK v5.1.1 release.
1 parent 26f9cbb commit 0ee1a51

File tree

6 files changed

+21
-11
lines changed

6 files changed

+21
-11
lines changed

.pubnub.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: java
2-
version: 5.1.0
2+
version: 5.1.1
33
schema: 1
44
scm: github.com/pubnub/java
55
files:
6-
- build/libs/pubnub-gson-5.1.0-all.jar
6+
- build/libs/pubnub-gson-5.1.1-all.jar
77
sdks:
88
-
99
type: library
@@ -234,6 +234,11 @@ sdks:
234234
is-required: Required
235235

236236
changelog:
237+
- version: v5.1.1
238+
date: 2021-07-13
239+
changes:
240+
- type: bug
241+
text: "Update Jackson libraries to avoid known vulnerabilities."
237242
- version: v5.1.0
238243
date: 2021-05-20
239244
changes:

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
## [v5.1.1](https://github.com/pubnub/java/releases/tag/v5.1.1)
2+
July-13-2021
3+
4+
[Full Changelog](https://github.com/pubnub/java/compare/v5.1.0...v5.1.1)
5+
6+
- 🐛 Update Jackson libraries to avoid known vulnerabilities.
7+
18
## [v5.1.0](https://github.com/pubnub/java/releases/tag/v5.1.0)
29
May-20-2021
310

4-
[Full Changelog](https://github.com/pubnub/java/compare/v5.0.0...v5.1.0)
5-
611
- 🌟️ Method grantToken has beed added. It allows generation of signed token with permissions for channels and channel groups.
712
- 🐛 UUID is now exposed as PNMembership field which make is accessible from PNMembershipResult argument of SubscribeCallback.membership() method.
813

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ You will need the publish and subscribe keys to authenticate your app. Get your
2323
<dependency>
2424
<groupId>com.pubnub</groupId>
2525
<artifactId>pubnub-gson</artifactId>
26-
<version>5.1.0</version>
26+
<version>5.1.1</version>
2727
</dependency>
2828
```
2929

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

3535
2. Configure your keys:

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
}
1212
group = 'com.pubnub'
1313

14-
version = '5.1.0'
14+
version = '5.1.1'
1515

1616
description = """"""
1717

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

5757
// cbor
58-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.9'
59-
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.9.9'
58+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.3'
59+
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.12.3'
6060

6161
implementation 'org.jetbrains:annotations:17.0.0'
6262

src/main/java/com/pubnub/api/PubNub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public class PubNub {
102102
private static final int TIMESTAMP_DIVIDER = 1000;
103103
private static final int MAX_SEQUENCE = 65535;
104104

105-
private static final String SDK_VERSION = "5.1.0";
105+
private static final String SDK_VERSION = "5.1.1";
106106
private final ListenerManager listenerManager;
107107
private final StateManager stateManager;
108108

src/test/java/com/pubnub/api/PubNubTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void getVersionAndTimeStamp() {
9999
pubnub = new PubNub(pnConfiguration);
100100
String version = pubnub.getVersion();
101101
int timeStamp = pubnub.getTimestamp();
102-
Assert.assertEquals("5.1.0", version);
102+
Assert.assertEquals("5.1.1", version);
103103
Assert.assertTrue(timeStamp > 0);
104104
}
105105

0 commit comments

Comments
 (0)