From b03b1a4a6056d416dde00c4d5e0d2b6c9dbe2ed1 Mon Sep 17 00:00:00 2001 From: marcin-cebo <102806110+marcin-cebo@users.noreply.github.com> Date: Wed, 6 Nov 2024 12:35:50 +0100 Subject: [PATCH] Release (#307) * PubNub SDK v10.1.0 release. --------- Co-authored-by: PubNub Release Bot <120067856+pubnub-release-bot@users.noreply.github.com> --- .pubnub.yml | 23 +++++++++++++++---- CHANGELOG.md | 13 +++++++++++ README.md | 2 +- gradle.properties | 2 +- .../jvmMain/kotlin/com/pubnub/api/PubNub.kt | 2 +- .../com/pubnub/api/legacy/PubNubImplTest.kt | 2 +- 6 files changed, 36 insertions(+), 8 deletions(-) diff --git a/.pubnub.yml b/.pubnub.yml index d403780c9..97cb33283 100644 --- a/.pubnub.yml +++ b/.pubnub.yml @@ -1,9 +1,9 @@ name: kotlin -version: 10.0.0 +version: 10.1.0 schema: 1 scm: github.com/pubnub/kotlin files: - - build/libs/pubnub-kotlin-10.0.0-all.jar + - build/libs/pubnub-kotlin-10.1.0-all.jar sdks: - type: library @@ -23,8 +23,8 @@ sdks: - distribution-type: library distribution-repository: maven - package-name: pubnub-kotlin-10.0.0 - location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/10.0.0/pubnub-kotlin-10.0.0.jar + package-name: pubnub-kotlin-10.1.0 + location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/10.1.0/pubnub-kotlin-10.1.0.jar supported-platforms: supported-operating-systems: Android: @@ -114,6 +114,21 @@ sdks: license-url: https://www.apache.org/licenses/LICENSE-2.0.txt is-required: Required changelog: + - date: 2024-11-06 + version: v10.1.0 + changes: + - type: feature + text: "Add extension selection and support for single file in migration_tool." + - type: feature + text: "Move shared java/kotlin APIs to a shared module." + - type: feature + text: "Added timetoken utils methods." + - type: feature + text: "Added getToken to Kotlin SDK." + - type: feature + text: "Added authToken (PAM v3) to Kotlin SDK PNConfiguration." + - type: bug + text: "Fix for NullPointerException in `pubnub-gson` when grant() is called without authKeys." - date: 2024-09-24 version: v10.0.0 changes: diff --git a/CHANGELOG.md b/CHANGELOG.md index e120e6af5..55e27169a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +## v10.1.0 +November 06 2024 + +#### Added +- Add extension selection and support for single file in migration_tool. +- Move shared java/kotlin APIs to a shared module. +- Added timetoken utils methods. +- Added getToken to Kotlin SDK. +- Added authToken (PAM v3) to Kotlin SDK PNConfiguration. + +#### Fixed +- Fix for NullPointerException in `pubnub-gson` when grant() is called without authKeys. + ## v10.0.0 September 24 2024 diff --git a/README.md b/README.md index 401a51dba..d766e3f62 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ You will need the publish and subscribe keys to authenticate your app. Get your com.pubnub pubnub-kotlin - 10.0.0 + 10.1.0 ``` diff --git a/gradle.properties b/gradle.properties index 5efc0909b..15cb17336 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,7 +18,7 @@ RELEASE_SIGNING_ENABLED=true SONATYPE_HOST=DEFAULT SONATYPE_AUTOMATIC_RELEASE=false GROUP=com.pubnub -VERSION_NAME=10.0.0 +VERSION_NAME=10.1.0 POM_PACKAGING=jar POM_NAME=PubNub SDK diff --git a/pubnub-kotlin/pubnub-kotlin-api/src/jvmMain/kotlin/com/pubnub/api/PubNub.kt b/pubnub-kotlin/pubnub-kotlin-api/src/jvmMain/kotlin/com/pubnub/api/PubNub.kt index 7873534d7..2efad0254 100644 --- a/pubnub-kotlin/pubnub-kotlin-api/src/jvmMain/kotlin/com/pubnub/api/PubNub.kt +++ b/pubnub-kotlin/pubnub-kotlin-api/src/jvmMain/kotlin/com/pubnub/api/PubNub.kt @@ -271,7 +271,7 @@ actual interface PubNub : StatusEmitter, EventEmitter { fun disconnect() /** - * Unsubscribe from all channels and all channel groups + * Unsubscribe from all channels and all channel groups. */ actual fun unsubscribeAll() diff --git a/pubnub-kotlin/pubnub-kotlin-impl/src/test/kotlin/com/pubnub/api/legacy/PubNubImplTest.kt b/pubnub-kotlin/pubnub-kotlin-impl/src/test/kotlin/com/pubnub/api/legacy/PubNubImplTest.kt index 7851f1260..2e295ffaa 100644 --- a/pubnub-kotlin/pubnub-kotlin-impl/src/test/kotlin/com/pubnub/api/legacy/PubNubImplTest.kt +++ b/pubnub-kotlin/pubnub-kotlin-impl/src/test/kotlin/com/pubnub/api/legacy/PubNubImplTest.kt @@ -56,7 +56,7 @@ class PubNubImplTest : BaseTest() { fun getVersionAndTimeStamp() { val version = PubNubImpl.SDK_VERSION val timeStamp = PubNubImpl.timestamp() - assertEquals("10.0.0", version) + assertEquals("10.1.0", version) assertTrue(timeStamp > 0) }