Skip to content

Commit

Permalink
Upgraded json lib (#272)
Browse files Browse the repository at this point in the history
* Upgraded json lib
* PubNub SDK v6.3.4 release.
  • Loading branch information
marcin-cebo authored Mar 6, 2023
1 parent 60f7da4 commit fe58165
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 13 deletions.
17 changes: 11 additions & 6 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: java
version: 6.3.3
version: 6.3.4
schema: 1
scm: github.com/pubnub/java
files:
- build/libs/pubnub-gson-6.3.3-all.jar
- build/libs/pubnub-gson-6.3.4-all.jar
sdks:
-
type: library
Expand All @@ -23,8 +23,8 @@ sdks:
-
distribution-type: library
distribution-repository: GitHub
package-name: pubnub-gson-6.3.3
location: https://github.com/pubnub/java/releases/download/v6.3.3/pubnub-gson-6.3.3-all.jar
package-name: pubnub-gson-6.3.4
location: https://github.com/pubnub/java/releases/download/v6.3.4/pubnub-gson-6.3.4-all.jar
supported-platforms:
supported-operating-systems:
Android:
Expand Down Expand Up @@ -135,8 +135,8 @@ sdks:
-
distribution-type: library
distribution-repository: maven
package-name: pubnub-gson-6.3.3
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-gson/6.3.3/pubnub-gson-6.3.3.jar
package-name: pubnub-gson-6.3.4
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-gson/6.3.4/pubnub-gson-6.3.4.jar
supported-platforms:
supported-operating-systems:
Android:
Expand Down Expand Up @@ -234,6 +234,11 @@ sdks:
is-required: Required

changelog:
- date: 2023-03-06
version: v6.3.4
changes:
- type: bug
text: "Upgraded json lib."
- date: 2023-03-06
version: v6.3.3
changes:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v6.3.4
March 06 2023

#### Fixed
- Upgraded json lib.

## v6.3.3
March 06 2023

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,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>6.3.3</version>
<version>6.3.4</version>
</dependency>
```

* for Gradle, add the following dependency in your `gradle.build`:
```groovy
implementation 'com.pubnub:pubnub-gson:6.3.3'
implementation 'com.pubnub:pubnub-gson:6.3.4'
```

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

version = '6.3.3'
version = '6.3.4'

description = """"""

Expand Down Expand Up @@ -70,7 +70,7 @@ dependencies {
testImplementation group: 'org.awaitility', name: 'awaitility', version: '4.0.1'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '4.8.1'
integrationTestImplementation group: 'org.aeonbits.owner', name: 'owner', version: '1.0.8'
implementation group: 'org.json', name: 'json', version: '20200518'
implementation group: 'org.json', name: 'json', version: '20230227'
testImplementation group: 'io.cucumber', name: 'cucumber-java', version: '6.10.4'
testImplementation group: 'io.cucumber', name: 'cucumber-junit', version: '6.10.4'
testImplementation group: 'io.cucumber', name: 'cucumber-picocontainer', version: '6.10.4'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SONATYPE_HOST=DEFAULT
SONATYPE_AUTOMATIC_RELEASE=true
GROUP=com.pubnub
POM_ARTIFACT_ID=pubnub-gson
VERSION_NAME=6.3.3
VERSION_NAME=6.3.4
POM_PACKAGING=jar

POM_NAME=PubNub Java SDK
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 @@ -105,7 +105,7 @@ public class PubNub {
private static final int TIMESTAMP_DIVIDER = 1000;
private static final int MAX_SEQUENCE = 65535;

private static final String SDK_VERSION = "6.3.3";
private static final String SDK_VERSION = "6.3.4";
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 @@ -100,7 +100,7 @@ public void getVersionAndTimeStamp() {
pubnub = new PubNub(pnConfiguration);
String version = pubnub.getVersion();
int timeStamp = pubnub.getTimestamp();
Assert.assertEquals("6.3.3", version);
Assert.assertEquals("6.3.4", version);
Assert.assertTrue(timeStamp > 0);
}

Expand Down

0 comments on commit fe58165

Please sign in to comment.