File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : java
2- version : 6.3.1
2+ version : 6.3.2
33schema : 1
44scm : github.com/pubnub/java
55files :
6- - build/libs/pubnub-gson-6.3.1 -all.jar
6+ - build/libs/pubnub-gson-6.3.2 -all.jar
77sdks :
88 -
99 type : library
2323 -
2424 distribution-type : library
2525 distribution-repository : GitHub
26- package-name : pubnub-gson-6.3.1
27- location : https://github.com/pubnub/java/releases/download/v6.3.1 /pubnub-gson-6.3.1 -all.jar
26+ package-name : pubnub-gson-6.3.2
27+ location : https://github.com/pubnub/java/releases/download/v6.3.2 /pubnub-gson-6.3.2 -all.jar
2828 supported-platforms :
2929 supported-operating-systems :
3030 Android :
@@ -135,8 +135,8 @@ sdks:
135135 -
136136 distribution-type : library
137137 distribution-repository : maven
138- package-name : pubnub-gson-6.3.1
139- location : https://repo.maven.apache.org/maven2/com/pubnub/pubnub-gson/6.3.1 /pubnub-gson-6.3.1 .jar
138+ package-name : pubnub-gson-6.3.2
139+ location : https://repo.maven.apache.org/maven2/com/pubnub/pubnub-gson/6.3.2 /pubnub-gson-6.3.2 .jar
140140 supported-platforms :
141141 supported-operating-systems :
142142 Android :
@@ -234,6 +234,11 @@ sdks:
234234 is-required : Required
235235
236236changelog :
237+ - date : 2023-02-23
238+ version : v6.3.2
239+ changes :
240+ - type : bug
241+ text : " Remove deprecation for Grant Token methods."
237242 - date : 2022-12-15
238243 version : v6.3.1
239244 changes :
Original file line number Diff line number Diff line change 1+ ## v6.3.2
2+ February 23 2023
3+
4+ #### Fixed
5+ - Remove deprecation for Grant Token methods.
6+
17## v6.3.1
28December 15 2022
39
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ You will need the publish and subscribe keys to authenticate your app. Get your
2222 <dependency >
2323 <groupId >com.pubnub</groupId >
2424 <artifactId >pubnub-gson</artifactId >
25- <version >6.3.1 </version >
25+ <version >6.3.2 </version >
2626 </dependency >
2727 ```
2828
2929 * for Gradle, add the following dependency in your `gradle.build`:
3030 ```groovy
31- implementation 'com.pubnub:pubnub-gson:6.3.1 '
31+ implementation 'com.pubnub:pubnub-gson:6.3.2 '
3232 ```
3333
34342. Configure your keys:
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ plugins {
1010}
1111group = ' com.pubnub'
1212
13- version = ' 6.3.1 '
13+ version = ' 6.3.2 '
1414
1515description = """ """
1616
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ SONATYPE_HOST=DEFAULT
33SONATYPE_AUTOMATIC_RELEASE =true
44GROUP =com.pubnub
55POM_ARTIFACT_ID =pubnub-gson
6- VERSION_NAME =6.3.1
6+ VERSION_NAME =6.3.2
77POM_PACKAGING =jar
88
99POM_NAME =PubNub Java SDK
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public class PubNub {
105105 private static final int TIMESTAMP_DIVIDER = 1000 ;
106106 private static final int MAX_SEQUENCE = 65535 ;
107107
108- private static final String SDK_VERSION = "6.3.1 " ;
108+ private static final String SDK_VERSION = "6.3.2 " ;
109109 private final ListenerManager listenerManager ;
110110 private final StateManager stateManager ;
111111
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ public GrantTokenBuilder(GrantToken grantToken) {
2222 * @param ttl
2323 * @return instance of this builder
2424 */
25+ @ Deprecated
2526 public GrantTokenBuilder ttl (Integer ttl ) {
2627 grantToken .ttl (ttl );
2728 return this ;
@@ -32,30 +33,18 @@ public GrantTokenBuilder meta(Object meta) {
3233 return this ;
3334 }
3435
35- /**
36- * @deprecated Use {@link #spacesPermissions(List)} instead.
37- */
3836 public GrantTokenObjectsBuilder channels (List <ChannelGrant > channels ) {
3937 return new GrantTokenObjectsBuilder (grantToken ).channels (channels );
4038 }
4139
42- /**
43- * @deprecated
44- */
4540 public GrantTokenObjectsBuilder channelGroups (List <ChannelGroupGrant > channelGroups ) {
4641 return new GrantTokenObjectsBuilder (grantToken ).channelGroups (channelGroups );
4742 }
4843
49- /**
50- * @deprecated Use {@link #usersPermissions(List)} instead.
51- */
5244 public GrantTokenObjectsBuilder uuids (List <UUIDGrant > uuids ) {
5345 return new GrantTokenObjectsBuilder (grantToken ).uuids (uuids );
5446 }
5547
56- /**
57- * @deprecated Use {@link #authorizedUserId(UserId)} instead.
58- */
5948 public GrantTokenObjectsBuilder authorizedUUID (String authorizedUUID ) {
6049 return new GrantTokenObjectsBuilder (grantToken ).authorizedUUID (authorizedUUID );
6150 }
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public void getVersionAndTimeStamp() {
100100 pubnub = new PubNub (pnConfiguration );
101101 String version = pubnub .getVersion ();
102102 int timeStamp = pubnub .getTimestamp ();
103- Assert .assertEquals ("6.3.1 " , version );
103+ Assert .assertEquals ("6.3.2 " , version );
104104 Assert .assertTrue (timeStamp > 0 );
105105 }
106106
You can’t perform that action at this time.
0 commit comments