Skip to content

Commit 32d76c6

Browse files
Remove 'contact support' in case of network error. (#292)
* Remove 'contact support' in case of network error. * PubNub SDK v6.4.2 release. --------- Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com>
1 parent 848192d commit 32d76c6

File tree

9 files changed

+23
-13
lines changed

9 files changed

+23
-13
lines changed

.pubnub.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: java
2-
version: 6.4.1
2+
version: 6.4.2
33
schema: 1
44
scm: github.com/pubnub/java
55
files:
6-
- build/libs/pubnub-gson-6.4.1-all.jar
6+
- build/libs/pubnub-gson-6.4.2-all.jar
77
sdks:
88
-
99
type: library
@@ -23,8 +23,8 @@ sdks:
2323
-
2424
distribution-type: library
2525
distribution-repository: maven
26-
package-name: pubnub-gson-6.4.1
27-
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-gson/6.4.1/pubnub-gson-6.4.1.jar
26+
package-name: pubnub-gson-6.4.2
27+
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-gson/6.4.2/pubnub-gson-6.4.2.jar
2828
supported-platforms:
2929
supported-operating-systems:
3030
Android:
@@ -115,6 +115,11 @@ sdks:
115115
is-required: Required
116116

117117
changelog:
118+
- date: 2023-11-23
119+
version: v6.4.2
120+
changes:
121+
- type: bug
122+
text: "Handle unencrypted message in subscribe and history when crypto configured (error flag is set on message result)."
118123
- date: 2023-10-30
119124
version: v6.4.1
120125
changes:

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v6.4.2
2+
November 23 2023
3+
4+
#### Fixed
5+
- Handle unencrypted message in subscribe and history when crypto configured (error flag is set on message result).
6+
17
## v6.4.1
28
October 30 2023
39

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.4.1</version>
25+
<version>6.4.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.4.1'
31+
implementation 'com.pubnub:pubnub-gson:6.4.2'
3232
```
3333

3434
2. Configure your keys:

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
}
1111
group = 'com.pubnub'
1212

13-
version = '6.4.1'
13+
version = '6.4.2'
1414

1515
description = """"""
1616

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SONATYPE_HOST=DEFAULT
33
SONATYPE_AUTOMATIC_RELEASE=true
44
GROUP=com.pubnub
55
POM_ARTIFACT_ID=pubnub-gson
6-
VERSION_NAME=6.4.1
6+
VERSION_NAME=6.4.2
77
POM_PACKAGING=jar
88

99
POM_NAME=PubNub Java SDK

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.4.1";
108+
private static final String SDK_VERSION = "6.4.2";
109109
private final ListenerManager listenerManager;
110110
private final StateManager stateManager;
111111

src/main/java/com/pubnub/api/builder/PubNubErrorBuilder.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ public final class PubNubErrorBuilder {
2222
public static final int PNERR_CONNECT_EXCEPTION = 102;
2323

2424
/**
25-
* Please check network connectivity. Please contact support with error
26-
* details if issue persists.
25+
* Please check network connectivity.
2726
*/
2827
public static final int PNERR_HTTP_ERROR = 103;
2928

src/main/kotlin/com/pubnub/api/crypto/exception/PubNubError.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ enum class PubNubError(private val code: Int, val message: String) {
6868

6969
HTTP_ERROR(
7070
103,
71-
"HTTP Error. Please check network connectivity. Please contact support with error details if the issue persists."
71+
"HTTP Error. Please check network connectivity."
7272
),
7373

7474
MESSAGE_MISSING(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.4.1", version);
103+
Assert.assertEquals("6.4.2", version);
104104
Assert.assertTrue(timeStamp > 0);
105105
}
106106

0 commit comments

Comments
 (0)