Skip to content

Commit

Permalink
Bump the dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kleewho authored Mar 7, 2023
1 parent fd08c49 commit 965f901
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 14 deletions.
15 changes: 11 additions & 4 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: kotlin
version: 7.4.1
version: 7.4.2
schema: 1
scm: github.com/pubnub/kotlin
files:
- build/libs/pubnub-kotlin-7.4.1-all.jar
- build/libs/pubnub-kotlin-7.4.2-all.jar
sdks:
-
type: library
Expand All @@ -23,8 +23,8 @@ sdks:
-
distribution-type: library
distribution-repository: maven
package-name: pubnub-kotlin-7.4.1
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/7.4.1/pubnub-kotlin-7.4.1.jar
package-name: pubnub-kotlin-7.4.2
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/7.4.2/pubnub-kotlin-7.4.2.jar
supported-platforms:
supported-operating-systems:
Android:
Expand Down Expand Up @@ -121,6 +121,13 @@ sdks:
license-url: https://github.com/stleary/JSON-java/blob/20210307/LICENSE
is-required: Required
changelog:
- date: 2023-03-07
version: v7.4.2
changes:
- type: bug
text: "Remove deprecation for Grant Token methods."
- type: bug
text: "Update Jackson and Json libraries to avoid vulnerabilities."
- date: 2023-02-02
version: v7.4.1
changes:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v7.4.2
March 07 2023

#### Fixed
- Remove deprecation for Grant Token methods.
- Update Jackson and Json libraries to avoid vulnerabilities.

## v7.4.1
February 02 2023

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ You will need the publish and subscribe keys to authenticate your app. Get your
<dependency>
<groupId>com.pubnub</groupId>
<artifactId>pubnub-kotlin</artifactId>
<version>7.4.1</version>
<version>7.4.2</version>
</dependency>
```

* for Gradle, add the following dependency in your `gradle.build`:
```groovy
implementation 'com.pubnub:pubnub-kotlin:7.4.1'
implementation 'com.pubnub:pubnub-kotlin:7.4.2'
```

2. Configure your keys:
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ dependencies {
implementation "com.squareup.retrofit2:retrofit:2.9.0"
implementation "com.squareup.retrofit2:converter-gson:2.9.0"

implementation "org.json:json:20210307"
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.2.2'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.13.2'
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.13.2'
implementation 'org.json:json:20230227'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.2'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.14.2'
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.14.2'

implementation "org.slf4j:slf4j-api:1.7.30"

Expand All @@ -94,7 +94,7 @@ dependencies {

allTest "ch.qos.logback:logback-classic:1.2.11"
allTest "ch.qos.logback:logback-core:1.2.11"
allTest "org.json:json:20210307"
allTest "org.json:json:20230227"

testImplementation group: 'io.cucumber', name: 'cucumber-java', version: '6.10.4'
testImplementation group: 'io.cucumber', name: 'cucumber-junit', 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 @@ -21,7 +21,7 @@ SONATYPE_HOST=DEFAULT
SONATYPE_AUTOMATIC_RELEASE=true
GROUP=com.pubnub
POM_ARTIFACT_ID=pubnub-kotlin
VERSION_NAME=7.4.1
VERSION_NAME=7.4.2
POM_PACKAGING=jar

POM_NAME=PubNub Android Chat Components
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/pubnub/api/PubNub.kt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class PubNub(val configuration: PNConfiguration) {

companion object {
private const val TIMESTAMP_DIVIDER = 1000
private const val SDK_VERSION = "7.4.1"
private const val SDK_VERSION = "7.4.2"
private const val MAX_SEQUENCE = 65535

/**
Expand Down
2 changes: 1 addition & 1 deletion src/test/kotlin/com/pubnub/api/legacy/PubNubTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class PubNubTest : BaseTest() {
fun getVersionAndTimeStamp() {
val version = pubnub.version
val timeStamp = pubnub.timestamp()
assertEquals("7.4.1", version)
assertEquals("7.4.2", version)
assertTrue(timeStamp > 0)
}
}

0 comments on commit 965f901

Please sign in to comment.