easemob-websdk 4.8.1-beta → 4.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -46
- package/Easemob-chat.js +1 -1
- package/chatroom/chatroom.js +1 -1
- package/contact/contact.js +1 -1
- package/group/group.js +1 -1
- package/localCache/localCache.js +1 -1
- package/miniCore/miniCore.js +1 -1
- package/miniProgram/Easemob-chat.js +1 -1
- package/package.json +1 -1
- package/presence/presence.js +1 -1
- package/silent/silent.js +1 -1
- package/thread/thread.js +1 -1
- package/translation/translation.js +1 -1
- package/uniApp/Easemob-chat.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,66 +1,70 @@
|
|
|
1
1
|
# Changes to easemob chat
|
|
2
2
|
|
|
3
|
-
# 4.8.1 (Jul
|
|
3
|
+
# 4.8.1 (Jul 15, 2024)
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
|
|
5
|
+
- Fix uploading logs takes too much time
|
|
6
|
+
|
|
7
|
+
# 4.8.1-beta (Jul 2, 2024)
|
|
8
|
+
|
|
9
|
+
- Fix the mini program is not able to report logs
|
|
10
|
+
- Fix not export types issue
|
|
7
11
|
|
|
8
12
|
# 4.8.0 (June 28, 2024)
|
|
9
13
|
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
14
|
+
- `onDisconnected` event add callback params to give the disconnected reason.
|
|
15
|
+
- Adds allow extension field to be carried when the device logs in and passes them to the kicked device.
|
|
16
|
+
- `setLoginInfoCustomExt` Set the device's login extension field.
|
|
17
|
+
- `onDisconnected` In a multi-device login scenario, if the current device is kicked offline by the newly logged-in device, the event received by the kicked device will carry the extended information of the new device.
|
|
18
|
+
- Adds `Connection Parameters#isFixedDeviceId` initialization params, default is `true`, use fixed deviceId, precede version SDK is used random deviceId.
|
|
19
|
+
- `destroyChatRoom` supports the chatroom owner to destroy a chatroom.
|
|
20
|
+
- `joinChatRoom` supports passing in extension field and whether to exit other joined chatrooms when joining a chatroom.
|
|
21
|
+
- Adds report SDK log feature.
|
|
22
|
+
- Increase the timeout period for SDK to connect to the server.
|
|
23
|
+
- Fix on uniapp vue3 platform SDK reconnect failed.
|
|
20
24
|
|
|
21
25
|
# 4.7.0 (April 26, 2024)
|
|
22
26
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
+
- `recallMessage` methods add custom field `ext` params.
|
|
28
|
+
- Adds `getJoinedChatRooms` method to get the current user has joined chat room list.
|
|
29
|
+
- Adds `logger.setConsoleLogVisibility` method to sets whether to output logs to the console.
|
|
30
|
+
- Fix `allowGroupAck` status error
|
|
27
31
|
|
|
28
32
|
# 4.6.0 (April 2, 2024)
|
|
29
33
|
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
34
|
+
- Adds pin message feature.
|
|
35
|
+
- pinMessage
|
|
36
|
+
- unpinMessage
|
|
37
|
+
- getServerPinnedMessages
|
|
38
|
+
- Adds `onMessagePinEvent` callback to handle the message pin event.
|
|
39
|
+
- `onModifiedMessage` support custom message.
|
|
40
|
+
- `getHistoryMessages` support get chat room history message.
|
|
41
|
+
- Support custom chat room ID.
|
|
42
|
+
- Optimize token login failed error code for make the reason more clearly.
|
|
43
|
+
- Fix the message field `onlineState` status error.
|
|
40
44
|
|
|
41
45
|
# 4.5.1 (Feb 21, 2024)
|
|
42
46
|
|
|
43
|
-
-
|
|
44
|
-
-
|
|
47
|
+
- Format the attachment file url.
|
|
48
|
+
- Fixed bug when UniApp run ios platform send receiverList msg
|
|
45
49
|
|
|
46
50
|
# 4.5.0 (Jan 30, 2024)
|
|
47
51
|
|
|
48
52
|
- The member absence and presence events of chat rooms and groups have added a `memberCount` field
|
|
49
53
|
- Adds the `deleteAllMessagesAndConversations` methods, which can clear the chat history of the current user, including messages and conversations
|
|
50
54
|
- Adds the getSelfIdsOnOtherPlatform method, which can get a list of login IDs of the current user on other login devices, and realize sending messages to specified devices
|
|
51
|
-
-
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
55
|
+
- Removed unnecessary unique fields from the Web local database
|
|
56
|
+
- Format the customExts field of the most recent custom message in the conversation list
|
|
57
|
+
- Fix the issue of pulling messages repeatedly
|
|
58
|
+
- Fix the issue of abnormal message order in the `onMessage` callback
|
|
59
|
+
- Fix the error of introducing the MiniCore plugin in vite electron
|
|
60
|
+
- Fix the issue of abnormal API request parameters for `updateOwnUserInfo` after introducing the WeChat SDK in H5
|
|
57
61
|
|
|
58
62
|
# 4.4.0 (Dec 22, 2023)
|
|
59
63
|
|
|
60
64
|
- Adds conversation Conversation Mark
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
65
|
+
- addConversationMark
|
|
66
|
+
- removeConversationMark
|
|
67
|
+
- getServerConversationsByFilter
|
|
64
68
|
- Adds Attach Slice Upload
|
|
65
69
|
- Adds `onMessage` Event
|
|
66
70
|
- Adds thumbnail to video message
|
|
@@ -76,21 +80,22 @@
|
|
|
76
80
|
# 4.3.0 (Nov 13, 2023)
|
|
77
81
|
|
|
78
82
|
- Adds contact API
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
83
|
+
- setContactRemark
|
|
84
|
+
- getAllContacts
|
|
85
|
+
- getContactsWithCursor
|
|
82
86
|
- Adds chatRoom broadcast
|
|
83
87
|
- Adds token expiration callback
|
|
84
88
|
|
|
85
89
|
# 4.2.1 (SEP 26, 2023)
|
|
86
90
|
|
|
87
91
|
- Adds LocalCache API
|
|
88
|
-
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
92
|
+
- getLocalConversations
|
|
93
|
+
- setLocalConversationCustomField
|
|
94
|
+
- getLocalConversation
|
|
95
|
+
- removeLocalConversation
|
|
96
|
+
- clearConversationUnreadCount
|
|
93
97
|
- onGroupEvent `joinPublicGroupDeclined` callback add the applicant userID
|
|
98
|
+
|
|
94
99
|
# 4.2.0 (Jul 27, 2023)
|
|
95
100
|
|
|
96
101
|
- Adds editing message after sent function
|