Skip to content

Commit

Permalink
PubNub chat v0.9.0 release.(#115)
Browse files Browse the repository at this point in the history
* PubNub chat v0.9.0 release.

---------

Co-authored-by: jguz-pubnub <[email protected]>
Co-authored-by: PubNub Release Bot <[email protected]>
  • Loading branch information
3 people authored Nov 6, 2024
1 parent b706dfa commit cf3c505
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 11 deletions.
29 changes: 24 additions & 5 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: kmp-chat
version: 0.8.0
version: 0.9.0
schema: 1
scm: github.com/pubnub/kmp-chat
sdks:
Expand All @@ -21,8 +21,8 @@ sdks:
-
distribution-type: library
distribution-repository: maven
package-name: pubnub-chat-0.8.0
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-chat/0.8.0/
package-name: pubnub-chat-0.9.0
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-chat/0.9.0/
supported-platforms:
supported-operating-systems:
Android:
Expand Down Expand Up @@ -71,12 +71,31 @@ sdks:
requires:
-
name: pubnub-kotlin
min-version: 10.0.0
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/10.0.0/pubnub-kotlin-10.0.0.jar
min-version: 10.1.0
location: https://repo.maven.apache.org/maven2/com/pubnub/pubnub-kotlin/10.1.0/pubnub-kotlin-10.1.0.jar
license: PubNub Software Development Kit License
license-url: https://github.com/pubnub/kotlin/blob/master/LICENSE
is-required: Required
changelog:
- date: 2024-11-06
version: v0.9.0
changes:
- type: feature
text: "Added MessageDraft."
- type: feature
text: "Added timetoken utils methods."
- type: bug
text: "Added typingTimeoutMargin to improve continuity of typing indicator."
- type: bug
text: "Fix getTyping sending events after close."
- type: bug
text: "Change User.active() to synchronous val User.active."
- type: bug
text: "AccessManager is based on PAM V3 token instead of PAM V2 authKey."
- type: bug
text: "Hard delete returns null."
- type: bug
text: "Replace occurrences of Set with List where ordering matters."
- date: 2024-09-24
version: v0.8.0
changes:
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "PubNubChatRemoteBinaryPackage",
url: "https://github.com/pubnub/kmp-chat/releases/download/chat-v0.8.0/PubNubChat.xcframework.zip",
checksum: "edf1fd649d3fe6257f18179a13a47724d5d177bf2d728ce4f75fa3c7a7873fc7"
url: "https://github.com/pubnub/kmp-chat/releases/download/chat-v0.9.0/PubNubChat.xcframework.zip",
checksum: "e043957bd849c7243085368c0e64607cec6dc2e8db6c863f1a80c025d11f6497"
)
]
)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ You will need the publish and subscribe keys to authenticate your app. Get your
<dependency>
<groupId>com.pubnub</groupId>
<artifactId>pubnub-chat</artifactId>
<version>0.8.0</version>
<version>0.9.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SONATYPE_HOST=DEFAULT
SONATYPE_AUTOMATIC_RELEASE=false
GROUP=com.pubnub
POM_PACKAGING=jar
VERSION_NAME=0.8.1-DEV
VERSION_NAME=0.9.0

POM_NAME=PubNub Chat SDK
POM_DESCRIPTION=This SDK offers a set of handy methods to create your own feature-rich chat or add a chat to your existing application.
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dokka = "1.9.20"
kotlinx_datetime = "0.6.0"
kotlinx_coroutines = "1.8.1"
kotlinx_serialization = "1.7.1"
pubnub = "10.0.0"
pubnub = "10.1.0"

[libraries]
pubnub-kotlin-api = { module = "com.pubnub:pubnub-kotlin-api", version.ref = "pubnub" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import com.pubnub.chat.types.JoinResult
import com.pubnub.chat.types.MessageMentionedUser
import com.pubnub.chat.types.MessageMentionedUsers
import com.pubnub.chat.types.ThreadMentionData
import com.pubnub.internal.PLATFORM
import com.pubnub.kmp.CustomObject
import com.pubnub.kmp.createCustomObject
import com.pubnub.kmp.createPubNub
Expand Down Expand Up @@ -65,6 +66,10 @@ class ChatIntegrationTest : BaseChatIntegrationTest() {

@Test
fun initializeShouldPassWhenPamEnableAndTokenProvided() = runTest {
if (PLATFORM == "iOS") {
return@runTest
}

pubnubPamClient = createPubNub(configPamClient)
val token = chatPamServer.pubNub.grantToken(
ttl = 1,
Expand Down

0 comments on commit cf3c505

Please sign in to comment.