logo
On this page

ZIM release notes


Version 2.10.0

Release date: 2023-09-22

New features

FeatureDescriptionMethod
Call invitation new modeAdded advanced mode, supports inviting, exiting, and ending calls during a call.
Revoke other's messageIn group conversations, the group owner can revoke messages sent by others.RevokeMessage
Get room member informationSupports calling server-side API to get information about room members based on room ID, including the number of users in the room, user IDs, and names.Obtain information about users in a room
Server-side message sending API now supports more message typesSupports sending image, file, audio, video, custom, and barrage message types through the server-side API. For details, please refer to MessageBody introduction.
Download external rich media messagesSupports calling the DownloadMediaFile interface to download rich media messages through external URLs.DownloadMediaFile
Set message extension fieldsAdded message extension fields that are only visible on the local end, supports updating this field, can be used to display message translation status or other content.
Search local messagesSearch local messages in individual or all 'one-to-one' and 'group' conversations based on keywords, user IDs, and other conditions, and retrieve a list of messages that meet the criteria; can also search conversations based on local messages.
Search groupsSupports searching for group names based on keywords, and also supports including group member names and nicknames in the search scope.SearchLocalGroups
Search group membersSupports searching for group members' names in a specific group based on keywords, and also supports including group members' nicknames in the search scope.SearchLocalGroupMembers
 Respond to messages with emoticonsSupports responding to messages with emoticons in one-on-one chats and group chats. It can be used for scenarios such as replying with emojis and initiating group polls or confirming group results. Additionally, it supports deleting one's own reactions and querying user information related to a specific reaction.
Sender unaware for server-side peer messagingAdded the SenderUnaware field, which allows the client associated with the FromUserId(sender's user ID) to be unaware of the server-side peer message being sent.Send a one-to-one message
Server-side broadcast messagingSupports sending messages with specific content, such as text and images, to all online users, including the message sender. This feature is suitable for scenarios like broadcasting announcements or displaying cross-room gift animations.
The server has added a new interface to query whether the user is in the roomThis interface supports querying whether a specified user is present in the target room.Query whether a user is in a room

Enhancement

ItemDescriptionMethod
Call invitation reception callbackOptimize the regular mode of call invitation, support offline users to receive call invitations and be immediately notified upon going online within the timeout period of the call invitation.OnCallUserStateChanged
Adjusting the maximum length of user nickname, UserNameExtended from 64 bytes to 256 bytes, supports longer nicknames, applicable to ZIM SDK version 2.0.0 and later.ZIMUserInfo > userName

Deprecation

ItemDescriptionMethod
To facilitate developers to monitor the call status changes of users in call invitations, onCallUserStateChanged is added to replace the original call invitation callbacks onCallInvitationAcceptedonCallInvitationRejected and onCallInviteesAnsweredTimeout.2.9.0

Version 2.8.0

Release Date: 2023-05-29

New Features

FeatureDescriptionRelated APIs
Pinned ConversationsUsers can choose conversations they want to prioritize and pin them at the top of the conversation list.
Custom Message TypesAdded support for custom message types. Developers can define their own message types, such as voting types, chain types, video card types, etc., and handle the message parsing themselves. ZIM SDK does not define or parse the specific content of custom messages.ZIMCustomMessage
Query Conversation InformationRetrieve detailed information about a conversation by specifying the conversation ID.QueryConversation
Query Room Members StatusCheck if target users are in a specific room by specifying the user IDs and room ID. This can be used for business logic design, such as inviting users for co-hosting.

Note: Supports querying information for up to 10 users at a time.

QueryRoomMembers
Pre-send message callbackBy setting server-side callbacks, when users send one-on-one, group, or room chat messages, ZIM sends requests to the developer's server. Developers can implement:
  • Intercepting inappropriate messages.
  • Establishing user blacklists and whitelists.
Callback on message not sent yet
Post-send message callbackBy setting server-side callbacks, after users successfully or unsuccessfully send one-on-one, group, or room chat messages, ZIM sends requests to the developer's server. Developers can implement:
  • Real-time recording of messages sent by users.
  • Statistics of messages sent by users.
  • In live streaming and screen recording scenarios, embedding chat records into recorded videos using timestamps.
Callback on message sent
Batch user registrationSupports calling server-side APIs to specify user information (user ID, etc.), allowing developers to register multiple users with a single request.

Note: Supports registering up to 100 users at a time.

Batch register users
Query group list under an appSupports calling server-side APIs to retrieve the IDs of all groups in the app.Query group list in the app
Query group member listSupports calling server-side APIs to specify the group ID and retrieve the member list of the corresponding group.Query group member list
Remove group membersSupports calling server-side APIs to specify the group ID and user ID, and remove group members in batch.

Note: Supports removing up to 50 group members at a time.

Remove group member

Deprecated and Removed

Deprecated ItemDescriptionRelated APIs
Deprecated System Message TypeThe system message (value 30) has been deprecated. Developers are advised to use the more feature-rich custom message (value 200) instead.ZIMMessageTypeCustom

Other Matters

1. Starting from version 2.8.0, ZIM no longer supports iOS versions below 11.0. Developers should set their iOS Deployment Target (minimum supported version) to iOS 11.0.

For more information, please refer to the App Store submission requirement starts April 25 and Xcode 14 Release Notes.

2. Starting from version 2.8.0, ZIM iOS SDK no longer supports the 32-bit armv7 architecture.

For more information, please refer to the Xcode 14 Release Notes.

3. Starting from version 2.8.0, ZIM no longer supports macOS versions below 10.13. Developers should set their macOS Deployment Target (minimum supported version) to macOS 10.13.

For more information, please refer to the App Store submission requirement starts April 25 and Xcode 14 Release Notes.


Version 2.7.0

Release Date: 2023-03-06

Initial release with the following main features:

FeatureDescriptionRelated APIs
Conversation Management
  • Supports user updating, querying, and deleting conversation lists.
  • Supports fetching conversation lists for displaying all conversations and implementing message lists.
Room System
  • Supports user login, creation, joining, entering, and exiting rooms.
  • If a room does not exist when entering, supports automatic creation of the room.
  • Supports room attributes.
Group SystemSupports user login, creation, joining, quitting, and dissolving group chats; also equipped with common functions such as transferring group ownership and setting group announcements.
Message Management
  • All messages of "one-on-one/group/room" are stored in the local database, allowing users to fetch historical messages even when switching devices.
  • Supports deleting specific messages or all messages in "one-on-one/group" conversations.
Call Invitations
  • Supports user login and sending call invitations, cancelling invitations to specified "users/groups/rooms"; supports other users accepting or rejecting invitations.
  • Can be used in scenarios such as video calls and co-hosting applications.
Security AuditSupports security auditing of communication messages (text messages) in one-on-one/group/room chats, including content review for pornography, violence, prohibited content, political content, and advertisements.
Information Fields
  • Supports users setting their own personal information, such as profile picture, personal signature, gender, etc., through extended fields.
  • Users can upload their own profile pictures and customize group avatars.

Previous

SDK downloads

Next

ZIM upgrade guide