Changelog for PubNub Swift Chat SDK 0.20.0

0.20.0

March 25, 2025
Added
  • Add async/await counterparts to existing closure-based methods.
  • Add AsyncStream counterparts for methods returning AutoCloseable.
  • Add a new Test Plan testing async/await methods and streams.
  • Add the new way to create a thread message.
Fixed
  • Provide a default ChatConfiguration() value in the ChatImpl constructor.
  • Provide a default value for the limit parameter in the Chat's getUsers(filter:sort:limit:page:completion:).
  • Fix PubNub.MembershipSortField extension to handle all user sort options properly.

0.12.0

March 21, 2025
Added
  • Allow users to be invited to public conversations.

0.11.1

March 10, 2025
Added
  • Enhance entities descriptions with CustomStringConvertible.
  • Add an optional customPushData: parameter to methods responsible for sending text.
Fixed
  • Fix the issue with incorrect handling of the APNS device token.
  • The description property in Channel interface has been replaced with channelDescription to avoid conflicts with CustomStringConvertible.
  • Retain the caller object by AutoCloseable for each entity's non-static methods.
  • Add a more descriptive error message when a chat object is deallocated during initialization.

0.11.0

January 28, 2025
Added
  • Add the new update(updateAction:completion:)method on User entity. This method can be used to update data on the server without losing intermediate updates that might have happened in the time between when the object was last received and updated.
  • Add the ability to mute and unmute users on the Chat instance. There are chat.mutedUsersManager.mute(userId:completion:) and chat.mutedUsersManager.unmuteUser(userId:completion:) to mute and unmute a user, respectively.
  • Add the option to automatically sync the mute list by enabling ChatConfiguration.syncMutedUsers.
  • Add missing function to parse quoted message text into [MessageElement].
Fixed
  • Fix the problem of overwriting custom data at regular intervals when storeUserActivityInterval is enabled.

0.10.3

January 23, 2025
Fixed
  • Fix the error when retrieving the unread messages count on the Membership instance.

0.10.2

January 14, 2025
Fixed
  • Fix the bug with messages being deleted from Message Persistence.

0.10.1

January 9, 2025
Fixed
  • Remove createUser(user:completion:) method from the public interface.
  • Add missing reactionsActionName computed property.
Modified
  • Documentation enhancements.

0.10.0

January 8, 2025
Added
  • Add status and type to Membership.

0.9.3

December 18, 2024
Fixed
  • Add missing initialization for reactionsActionName property.
  • Add missing completion: parameter when sending a text.
Modified
  • Run swiftformat to uplift the codebase.

0.9.2

December 17, 2024
Added
  • Add support for other Apple platforms.
  • Lock moderated messages from editing.
Fixed
  • Remove getChannelSuggestions(text:limit:completion:) method from Chat interface.
  • Remove getUserSuggestions(text:limit:completion:) method from Chat interface.
  • Wrong user suggestion source for message draft created on ThreadChannel.
  • Wrong type of last user activity time stored on the server (precision).
Modified
  • Moderation events are now sent to a channel prefixed with PUBNUB_INTERNAL_MODERATION..

0.9.1

December 5, 2024
Added
  • Add third-party dependencies due to Kotlin Multiplatform usage.
Fixed
  • Add missing userSuggestionSource property.

0.9.0

November 6, 2024
Added
  • Add Message Draft feature
Fixed
  • Return nil for hard delete operations
  • Add missing reactionsActionName property

0.8.2

October 24, 2024
Fixed
  • Use kmp-chat dependency without pubnub-kotlin submodule

0.8.1

October 22, 2024
Fixed
  • Fix dependency issues for kmp-chat and its submodules

0.8.0

September 25, 2024
Added
  • Initial Swift Chat SDK release
Last updated on
On this page