Skip to content

Commit b89a875

Browse files
Changed license type from MIT to PubNub Software Development Kit License (#150)
* Changed license type from MIT to PubNub Software Development Kit License * Updated JSON lib to non-vulnerable * PubNub SDK v7.7.1 release. --------- Co-authored-by: PubNub Release Bot <[email protected]>
1 parent 03475c2 commit b89a875

File tree

7 files changed

+29
-15
lines changed

7 files changed

+29
-15
lines changed

.pubnub.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: kotlin
2-
version: 7.7.0
2+
version: 7.7.1
33
schema: 1
44
scm: github.com/pubnub/kotlin
55
files:
6-
- build/libs/pubnub-kotlin-7.7.0-all.jar
6+
- build/libs/pubnub-kotlin-7.7.1-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-kotlin-7.7.0
27-
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/7.7.0/pubnub-kotlin-7.7.0.jar
26+
package-name: pubnub-kotlin-7.7.1
27+
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/7.7.1/pubnub-kotlin-7.7.1.jar
2828
supported-platforms:
2929
supported-operating-systems:
3030
Android:
@@ -101,8 +101,8 @@ sdks:
101101
is-required: Required
102102
-
103103
name: json
104-
min-version: "20230227"
105-
location: https://repo.maven.apache.org/maven2/org/json/json/20230227/json-20230227.jar
104+
min-version: "20231013"
105+
location: https://repo.maven.apache.org/maven2/org/json/json/20231013/json-20231013.jar
106106
license: Public Domain
107107
license-url: https://github.com/stleary/JSON-java/blob/20210307/LICENSE
108108
is-required: Required
@@ -114,6 +114,13 @@ sdks:
114114
license-url: https://www.apache.org/licenses/LICENSE-2.0.txt
115115
is-required: Required
116116
changelog:
117+
- date: 2023-10-30
118+
version: v7.7.1
119+
changes:
120+
- type: bug
121+
text: "Updated the JSON lib to version 20231013."
122+
- type: bug
123+
text: "Changed license type from MIT to PubNub Software Development Kit License."
117124
- date: 2023-10-16
118125
version: v7.7.0
119126
changes:

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v7.7.1
2+
October 30 2023
3+
4+
#### Fixed
5+
- Updated the JSON lib to version 20231013.
6+
- Changed license type from MIT to PubNub Software Development Kit License.
7+
18
## v7.7.0
29
October 16 2023
310

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ You will need the publish and subscribe keys to authenticate your app. Get your
2020
<dependency>
2121
<groupId>com.pubnub</groupId>
2222
<artifactId>pubnub-kotlin</artifactId>
23-
<version>7.7.0</version>
23+
<version>7.7.1</version>
2424
</dependency>
2525
```
2626

2727
* for Gradle, add the following dependency in your `gradle.build`:
2828
```groovy
29-
implementation 'com.pubnub:pubnub-kotlin:7.7.0'
29+
implementation 'com.pubnub:pubnub-kotlin:7.7.1'
3030
```
3131

3232
2. Configure your keys:

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ dependencies {
6565
implementation "com.squareup.retrofit2:retrofit:2.9.0"
6666
implementation "com.squareup.retrofit2:converter-gson:2.9.0"
6767

68-
implementation 'org.json:json:20230227'
68+
implementation 'org.json:json:20231013'
6969

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

@@ -77,7 +77,7 @@ dependencies {
7777

7878
allTest "ch.qos.logback:logback-classic:1.2.11"
7979
allTest "ch.qos.logback:logback-core:1.2.11"
80-
allTest "org.json:json:20230227"
80+
allTest "org.json:json:20231013"
8181

8282
testImplementation group: 'io.cucumber', name: 'cucumber-java', version: '6.10.4'
8383
testImplementation group: 'io.cucumber', name: 'cucumber-junit', version: '6.10.4'

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ SONATYPE_HOST=DEFAULT
2121
SONATYPE_AUTOMATIC_RELEASE=true
2222
GROUP=com.pubnub
2323
POM_ARTIFACT_ID=pubnub-kotlin
24-
VERSION_NAME=7.7.0
24+
VERSION_NAME=7.7.1
2525
POM_PACKAGING=jar
2626

2727
POM_NAME=PubNub Kotlin SDK
2828
POM_DESCRIPTION=PubNub is a cross-platform client-to-client (1:1 and 1:many) push service in the cloud, capable of broadcasting real-time messages to millions of web and mobile clients simultaneously, in less than a quarter second!
2929
POM_INCEPTION_YEAR=2020
3030
POM_URL=https://github.com/pubnub/kotlin
3131

32-
POM_LICENSE_NAME=MIT License
33-
POM_LICENSE_URL=https://github.com/pubnub/pubnub-api/blob/master/LICENSE
32+
POM_LICENSE_NAME=PubNub Software Development Kit License
33+
POM_LICENSE_URL=https://github.com/pubnub/kotlin/blob/master/LICENSE
3434
POM_LICENSE_DIST=repo
3535

3636
POM_SCM_URL=https://github.com/pubnub/kotlin

src/main/kotlin/com/pubnub/api/PubNub.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class PubNub internal constructor(
106106

107107
companion object {
108108
private const val TIMESTAMP_DIVIDER = 1000
109-
private const val SDK_VERSION = "7.7.0"
109+
private const val SDK_VERSION = "7.7.1"
110110
private const val MAX_SEQUENCE = 65535
111111

112112
/**

src/test/kotlin/com/pubnub/api/legacy/PubNubTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class PubNubTest : BaseTest() {
7171
fun getVersionAndTimeStamp() {
7272
val version = pubnub.version
7373
val timeStamp = pubnub.timestamp()
74-
assertEquals("7.7.0", version)
74+
assertEquals("7.7.1", version)
7575
assertTrue(timeStamp > 0)
7676
}
7777
}

0 commit comments

Comments
 (0)