File tree Expand file tree Collapse file tree 6 files changed +21
-11
lines changed
Expand file tree Collapse file tree 6 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 11name : java
2- version : 5.1.0
2+ version : 5.1.1
33schema : 1
44scm : github.com/pubnub/java
55files :
6- - build/libs/pubnub-gson-5.1.0 -all.jar
6+ - build/libs/pubnub-gson-5.1.1 -all.jar
77sdks :
88 -
99 type : library
@@ -234,6 +234,11 @@ sdks:
234234 is-required : Required
235235
236236changelog :
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 :
Original file line number Diff line number Diff line change 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 )
29May-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
Original file line number Diff line number Diff 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
35352. Configure your keys:
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ plugins {
1111}
1212group = ' com.pubnub'
1313
14- version = ' 5.1.0 '
14+ version = ' 5.1.1 '
1515
1616description = """ """
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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments