Release Notes
5.12.4
Release Date: 2025/02/06
Bug Fixes:
- Fixed the issue where the local conversation unread count was not updated after receiving a message, along with other cache errors introduced in version 5.12.3.
v5.12.3
Release Date: 2025/01/17
Bug Fixes:
- Fixed an issue where setting a conversation to the top on the Electron platform caused changes to the Do Not Disturb level.
- Fixed the incorrect return format of the
searchGroupMembers
interface by adding thepageToken
field to the returned results.
v5.12.2
Release Date: 2024/12/26
New Features:
- Added a switch to control whether one-to-one and group chat messages update the last message in the conversation list.
Optimizations:
- Fixed the issue where users would rejoin a chatroom after being banned and reconnecting after a network disconnection.
- Fixed the issue where custom messages registered in a child process were lost after the child process restarted.
- Fixed the issue where the child process could not continue reconnecting after a crash.
- Fixed the issue where the
callInfo
listener returned incorrect data structures on the Electron platform. - Optimized the log reporting data format on the Electron platform.
- Optimized the multi-device sync read status interface by adding filters for targeted message conversation types.
v5.12.1
Release Date: 2024/10/28
Optimizations:
- Fixed the issue where an expired token or navi could prevent reconnection when the child process crashed and restarted.
- Changed the error code returned by the
getFriends
andgetFriendApplications
interfaces from 34328 to 34232 when thecount
parameter was incorrect. - Fixed the issue where the default values for extended fields could not be assigned when the
updateGroupInfo
interface was called during child process startup.
v5.12.0
Release Date: 2024/10/18
New Features:
- Added group and member management capabilities to the user profile hosting service.
- Added friend relationship management capabilities to the user profile hosting service.
Optimizations:
- Fixed the issue where fetching user profiles would fail on the Web platform when only user profile hosting was enabled without user status subscription.
- Fixed the issue where the message content was empty after inserting a message.
v5.10.4
Release Date: 2024/08/29
Optimizations:
- Adapted compatibility issues when using the Vue3 framework to compile for the APP platform on the uniapp platform.
- Added a database upgrade callback event on the Electron platform.
v5.10.3
Release Date: 2024/07/30
New Features:
- Added the join time to the return value of the join chatroom interface.
- Added support for setting HarmonyOS push attributes when sending messages.
- Added support for HarmonyOS platform in the user online status subscription.
Bug Fixes:
- Fixed the issue where the thumbnail of sent image messages had black borders.
v5.10.2
Release Date: 2024/07/02
Optimizations:
- Changed the default value of the top empty conversation sync feature to false.
v5.10.1
Release Date: 2024/06/28
New Features:
- Added user profile hosting functionality.
- Added support for disabling top empty conversation sync on the Electron platform.
Bug Fixes:
- Fixed the issue where the
searchMessages
interface might returncount
as undefined. - Fixed the issue where
mentionedInfo
might be carried in non-group chat conversations. - Fixed the issue where the
lastMessageSendTime
field in theContent
ofRC:SRSMsg
messages was incorrectly passed.
v5.9.9
Release Date: 2024/06/05
New Features:
- Added a method for batch fetching conversation information on the Electron platform.
Bug Fixes:
- Fixed the issue where real-time log requests failed due to special characters in the URL.
- Fixed the issue where
RC:SRSMsg
messages could not be sent to system conversations. - Fixed the issue where log database upgrades might throw errors.
- Fixed the issue where the sending status of locally inserted
RC:RcNtf
messages was abnormal on the Electron platform. - Fixed the issue where RTC signaling failed to send and parse on the Electron platform.
- Fixed the issue where the child process would crash after receiving multiple 30021 errors during connection.
- Fixed the issue with the
LastMessage
update when batch inserting messages. - Fixed the issue where the child process would restart when the application exited.
v5.9.8
Release Date: 2024/04/29
New Features:
- Added user online status subscription functionality.
- Added support for sending targeted notifications when recalling messages.
- Added a method to fetch messages around a specified timestamp on the Electron platform.
- Added support for passing message types to the interface for searching local historical messages of a specified conversation on the Electron platform.
Bug Fixes:
- Fixed the issue where the Web platform would stop pulling messages after an exception occurred during message processing.
- Fixed the issue with exporting
CombineV2Message
errors.
v5.9.7
Release Date: 2024/04/01
Bug Fixes:
- Fixed the issue where errors occurred when downloading the
IMLib-next
package via NPM.
v5.9.6
Release Date: 2024/03/29
New Features:
- Added a list of target users for receiving messages in targeted messages.
- Added the
referMsgUid
field to referenced messages to uniquely identify the referenced message. - Added the
electronExtension.getContinuousMessages
interface to query both local and remote historical messages simultaneously.
Bug Fixes:
- Fixed the issue where reconnection did not occur after receiving a 30021 error.
- Fixed the issue where duplicate recall message notifications were received in the message listener after actively recalling a message.
Optimizations:
- Adapted the Electron platform to enable context isolation scenarios.
v5.9.5
Release Date: 2024/01/31
Optimizations:
- Made the
receivedStatusInfo
field in message data optional to resolve potential TS errors during development.
v5.9.4
Release Date: 2024/01/31
New Features:
- Added support for sending targeted messages in ultra groups.
- Added support for batch deleting messages by message UID in ultra groups.
- Added support for multi-device sync of top empty conversations.
- Added a parameter to sort the conversation list by top status in the
getConversationList
function. - Added an interface to fetch the total count of unread @ messages on the Electron platform.
- Added support for sending status messages on the Electron platform.
Bug Fixes:
- Fixed the issue where the
quality
parameter for thumbnail quality was ineffective when sending image messages. - Fixed the issue with abnormal status message sending on the Electron platform.
Optimizations:
- Optimized the group message read receipt functionality.
v5.9.3
Release Date: 2023/12/18
New Features:
- Added the
setMessageReceivedStatusInfo
method on the Electron platform.
Optimizations:
- Added the
sendUserId
field to the callback parameters of one-to-one chat read receipts to determine whether the message was sent by oneself or the other party. - Optimized the timing of message receipt listener triggers when receiving offline messages during multi-device login.
Bug Fixes:
- Fixed the incorrect type definition for the
ts
parameter in theremoveChatRoomEntries
interface. - Fixed the incorrect time in conversation status change notifications.
v5.9.2
Release Date: 2023/12/13
Bug Fixes:
- Fixed the issue with high response latency when sending messages on the Electron platform on Windows.
- Fixed the issue where the application would freeze when pulling a large number of offline messages on the Electron platform on Windows.
- Added a restriction to the
addConversationsToTag
interface to ensure the conversation list is not empty.
v5.9.1
Release Date: 2023/11/28
Bug Fixes:
- Fixed the issue where the
@rongcloud/electron
dependency package could not be downloaded on Node versions below 14.
v5.9.0
Release Date: 2023/11/23
New Features:
- Added conversation information to the
IExpansionListenerData
callback data of the message expansion change notification (Events.EXPANSION
). Starting from version 5.9.0, bothIUpdatedExpansion
andIDeletedExpansion
returnconversationType
andtargetId
. - Added the current chatroom member count
memberCount
to theIChatroomUserChangeInfo
callback of the chatroom member join/exit notification (Events.CHATROOM
). - Added the
getAllUnreadMentionedCount
interface to support fetching the total count of unread @ messages across all conversation types. - Added the
draft
field to the conversation data returned by thegetConversationList
interface. - Added the
getFirstUnreadMessageInfo
interface to support fetching the information of the first unread message. - Added support for Honor push configuration, allowing control over the message reminder level and notification bar image through the
IPushConfig
underIAndroidPushConfig
when sending messages.
Bug Fixes:
- The mini-program platform no longer requests dynamic navigation addresses.
- Fixed the issue where sensitive word interception notifications might not be received.
- Fixed the issue where the @ field in conversations was incorrect when sending @ messages.
- Fixed the issue where frequent calls to tag and conversation status-related interfaces would result in error 26002.
- Fixed the issue on the Electron platform where the original message was modified twice when pulling a recalled message after sending a recall message.
- Fixed the issue where the application would freeze on the Windows platform when exiting on Electron.
- Optimized the issue where large message volumes could cause application freezes on the Windows platform.
v5.8.5
Release Date: 2023/10/27
Optimizations:
- Optimized the SDK log upload mechanism.
Bug Fixes:
- Fixed the issue where the @ field in conversations was incorrect when sending @ messages.
v5.8.4
Release Date: 2023/09/25
New Features:
- Added support for the Do Not Disturb level feature on the Electron platform.
- Added the
operationTime
field to the conversation list (only supported on the Electron platform).
Bug Fixes:
- Fixed the issue where users would automatically rejoin a chatroom after refreshing the page and reconnecting.
- Fixed the issue where the read status of locally inserted recall messages was incorrect (Electron platform).
- Fixed the issue where errors occurred when concurrently uploading voice messages.
v5.8.3
Release Date: 2023/08/31
New Features:
- Added support for multi-device sync of unread counts in system conversations.
- Added support for carrying @ information when sending file messages (upload).
- Added room information and user status information (e.g., mute status, mute allowlist status, chatroom member count) to the return value of the join chatroom interface.
- On the Electron platform, if a message is recalled and the local database no longer contains the message, a
RC:RCNtf
type message is still inserted.
v5.8.2
Release Date: 2023/07/28
New Features:
- Added support for the win32 X64 architecture on the Electron platform.
- Added support for handling multi-device sync messages
RC:ReadNtf
on the Electron platform. - Adapted the upload functionality on the Electron platform.
Bug Fixes:
- Fixed the issue where connections might fail after a server restart.
- Fixed the issue where connections would fail on the Alipay mini-program platform.
v5.8.1
Release Date: 2023/07/14
New Features:
- Added support for sending gray bar messages (
RC:InfoNtf
), command messages (RC:CmdMsg
), and group notification messages (RC:GrpNtf
).
v5.8.0
Release Date: 2023/07/03
New Features:
- Added the message type attribute to the return value of the unread @ message query in ultra groups.
Bug Fixes:
- Fixed the issue where heartbeat issues might occur during reconnection after a network disconnection.
Other:
- Adjusted the security domain settings for the mini-program platform: Security Domains.
v5.7.10
Release Date: 2023/06/15
New Features:
- Added the
getUltraGroupUnreadInfoList
interface to support batch fetching of unread information for ultra group conversations. - Added the
searchMessagesByUser
interface on the Electron platform to support searching local one-to-one and group chat messages by sender ID.
Bug Fixes:
- Fixed the issue where the unread @ count would decrease abnormally when recalling an @ message in an ultra group.
- Fixed the issue where pulling ultra group messages might enter an infinite loop.
v5.7.9
Release Date: 2023/05/29
New Features:
- Added chatroom status notifications (ban, mute, join/exit multi-device status sync).
- Added automatic reconnection logic when receiving status codes 30019 and 30021 on the Electron platform.
- Added area code settings during initialization.
- Added the unread @ message count attribute to the return value of the ultra group channel list query interface.
Bug Fixes:
- Fixed the issue where the unread message count was abnormal when receiving a recalled message in an ultra group.
- Fixed the issue where two socket connections would be established when reconnecting on the Alipay mini-program platform.
v5.7.8
Release Date: 2023/05/11
New Features:
- Added support for draft operations on the Electron platform in IMLib.
Bug Fixes:
- Fixed the issue where uniapp packaged apps could not connect.
- Removed support for log storage in IE browsers due to the lack of
getAllKeys
method in indexDB.
v5.7.7
Release Date: 2023/04/21
Bug Fixes:
- Fixed the issue where the
notificationLevel
value was undefined when fetching the Do Not Disturb list. - Fixed the issue where system conversations could not be fetched when getting the entire conversation list on the Electron platform.
Other:
- Added logic to handle multi-device sync
RC:ReadNtf
messages. - Added the
categoryVivo
field to theIPushConfig.androidConfig
push notification attribute configuration. IfcategoryVivo
is specified, a matchingtypeVivo
must also be specified. This field takes precedence over the Vivo push Category configured for the application identifier under the App Key in the Console.- The
categoryVivo
field corresponds to the secondary classification (category
field) of Vivo push service messages. For detailed values, refer to the Vivo Push Message Classification Instructions. - The
typeVivo
field corresponds to the classification (classification
field, distinguishing between system messages and operational messages) of Vivo push service messages. Please ensure that the secondary classification (category
) values belong to the content allowed underclassification
as required by Vivo. For detailed values, refer to the Vivo Push Message Classification Instructions.
- The
v5.7.5
Release Date: 2023/04/12
Bug Fixes:
- Optimized the error reporting when disabling resources in versions prior to 5.4.7.
v5.7.4
Release Date: 2023/03/30
Bug Fixes:
- Fixed the issue where unread counts could not be fetched for conversations without Do Not Disturb levels or statuses.
- Fixed the issue where, on the Web platform, users would receive notifications for chatroom KV settings they had set themselves.
- Fixed the occasional issue where
Cannot read property 'kvStorage' of null
would occur. - Fixed the occasional issue where users would receive their own sent messages in the message listener after reconnecting after a network disconnection.
Other:
- Changed the range of the
count
field in the fetch historical messages interface to 0-100, and errors will be reported for values outside this range. - Added the
firstUnreadMessage
andchannelType
fields to the return value of the fetch specified conversation interface (getConversations
) for ultra group conversation types.
v5.7.3
Release Date: 2023/03/02
New Features:
- Added ultra group user group notification listeners.
- Added support for Huawei push parameters in the
IPushConfig.androidConfig
push notification attribute configuration:categoryHW
: Huawei push message classification.importanceHW
: Huawei push message level.imageUrlHW
: The URL of the notification image used for Huawei notification-type push messages.
- Added support for message push parameters in the
IPushConfig.androidConfig
push notification attribute configuration:miLargeIconUrl
: The URL of the large icon for Xiaomi push messages.
Bug Fixes:
- Fixed the issue where the
levels
parameter did not take effect in the interface for fetching unread counts by conversation Do Not Disturb level. - Fixed the issue where senders would receive their own @ messages in the conversation change after sending @ messages.
- Fixed the issue where the
notificationlevel
field value was incorrect when fetching the Do Not Disturb conversation list. - Fixed the issue where conversation statuses would still use the data of the previous user after switching users.
- Fixed the issue where the Electron platform would not reconnect after a CMP connection failure.
- Fixed the issue where setting
iOSConfig
orandroidConfig
alone in the push configuration would not take effect.
v5.7.2
Release Date: 2023/02/