fix: change errs to custom errs avoid sdk panic.#800
Merged
FGadvancer merged 1 commit intoopenimsdk:mainfrom Nov 29, 2024
Merged
fix: change errs to custom errs avoid sdk panic.#800FGadvancer merged 1 commit intoopenimsdk:mainfrom
FGadvancer merged 1 commit intoopenimsdk:mainfrom
Conversation
Signed-off-by: Gordon <[email protected]>
skiffer-git
approved these changes
Nov 29, 2024
FGadvancer
added a commit
that referenced
this pull request
Nov 29, 2024
Signed-off-by: Gordon <[email protected]> Co-authored-by: OpenIM-Gordon <[email protected]>
FGadvancer
added a commit
that referenced
this pull request
Apr 21, 2025
* fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: msg test. * fix: add register message. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add args * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: pressure test add. * fix: test file. * fix: send message concurrent. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add pressure. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: restore message. * fix: pressure message. * fix: add timer. * fix: message update. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix:add range login. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix:update. * fix: update. * fix: update. * fix:update * fix: update * fix: update * fix: update. * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: add wait time. * fix: message * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: update batchMsgListener func. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * chore: config update. * chore:do not send message. * chore:add args. * chore:fix bug. * chore: fix bool. * chore: restore. * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * refactor: remove c wrapper. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * refactor: remove some functions. Signed-off-by: Gordon <[email protected]> * refactor: remove some functions. Signed-off-by: Gordon <[email protected]> * feat: Support FetchSurroundingMessages (#741) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * feat: FetchSurroundingMessages * feat: FetchSurroundingMessages * fix: version (#750) * merge: update release-v3.8 with main changes Signed-off-by: Gordon <[email protected]> * fix: update the latest message when group member's changed. Signed-off-by: Gordon <[email protected]> * Revert "fix: update the latest message when group member's changed." This reverts commit ac358cb. * fix: update the latest message when group member's changed. (#752) Signed-off-by: Gordon <[email protected]> * fix: remove duplicate License. (#747) * feat: mark all conversation as read (#743) * feat: implement default logger when no init. (#755) * fix: del local group request (#754) * build: implement changelog generate. (#748) * fix: improve release generate file. * refactor: improve changelog structure. * update goreleaser * feat: implement changelog generate. * remove README.md use generate. * build: implement create Pre-release PR from Milestone. (#746) * feat: implement create Pre-release PR from Milestone. * update schedule time. * feat: implement error stack print. (#733) * feat: implement error stack print. * feat: update fn call error stack. * update go mod. * fix: improve batchUserFaceURLandName logic. (#756) * refactor: update ServerAPI method name. * feat: improve batchUserFaceURLandName logic. * update logic. * fix: escape table names to avoid the sqlite error: near "-": syntax error". (#762) * Fix local cache: user cache and group member cache (#765) * fix: group member local cache * fix: user local cache * fix: fix temp file don't remove when upload file. (#764) * build: improve cleanup after ms PR merged. * fix: fix temp file don't remove when upload file. * fix: GetGroupMembersInfoFunc (#767) * feat: searchLocalMessages by SenderUserID. (#739) * feat: searchLocalMessages by SenderUserID. * update wasm db interface and fix error. * add searchBykeyword logic. * update wasm para. * update logic. * feat: improve method implement. * update logic. * try empty * update sql query space. * fix: Change check reinstall logic (#766) * fix: check reinstall * fix: check reinstall * feat: support stream message (#770) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * feat: support stream messages * feat: support stream messages * fix: deleting the last message in a conversation will prompt failure (#771) * fix: the bug where isEnd for fetching message history is not working correctly. (#773) * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: solve uncorrect log. (#777) * refactor: improve createMessage and sendMessage interface. (#734) * add .gitignore content. * refactor: improve createMessage and sendMessage interface. * fix interface args. * fix nil pointer error. * fix test error. * refactor: remove batchListener. (#729) * refactor: remove batchListener. * comment update version file workflows. * restore code. * revert workflow file. * fix: update to correct msgListener. --------- Co-authored-by: OpenIM-Gordon <[email protected]> * Create delete-users-invalid-comments.yml * Update workflows. * fix: solve uncorrect delete file. (#784) * build: remove uncorrect schedule. (#782) * build: add bot PR merged filter. (#788) * Fix:Change check reinstall logic (#789) * fix: err * fix: err * fix: err * fix: err * fix: err * fix: msg status change to success when msg fetch from server. Signed-off-by: Gordon <[email protected]> * fix: create index failed when table name has `-`. (#793) * feat: improve merge in milestone and merged handle logic. (#794) * feat: improve merge in milestone logic. * update cleanup milestone. * build: update PR body. (#796) * feat: improve merge in milestone logic. * update cleanup milestone. * build: fix release args. * build: update PR body. * fix: change errs to custom errs avoid sdk panic. (#801) Signed-off-by: Gordon <[email protected]> * fix: change errs to custom errs avoid sdk panic. (#800) Signed-off-by: Gordon <[email protected]> * fix: get reverse history message change. (#804) * fix: change errs to custom errs avoid sdk panic. Signed-off-by: Gordon <[email protected]> * fix: get reverse history message change. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * fix: go mod dep repo update and fix reverse fetch message duplicate. (#810) Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. (#813) * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: login user's info maybe empty when app reinstall. (#814) * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: add server isEnd determination criteria for message retrieval. (#815) Signed-off-by: Gordon <[email protected]> * fix: search message do not filter voice message when keyword is empty. (#819) Signed-off-by: Gordon <[email protected]> * fix: Add black api add lock (#822) * fix: cicd (#824) * fix: quote message change to revoke message when app from background to foreground and message status update. (#825) Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. (#827) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. (#832) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: remove fetch messages instead of search message clear cache. Signed-off-by: Gordon <[email protected]> * refactor: remove fetch messages instead of search message clear cache. (#834) Signed-off-by: Gordon <[email protected]> * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. (#840) Signed-off-by: Gordon <[email protected]> * build: improve workflows contents. (#842) * build: improve workflows contents. * update workflows contents. * update * Update LICENSE * Update LICENSE * Update README.md * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. (#845) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: solve uncorrect delete conversation. (#848) * fix: wrong error code sometimes (#847) * fix: wrong error code sometimes * fix: keep error message * optimize the freeze caused by too many friends and group applications (#852) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * fix: add random prefix to remove duplicate messages. (#850) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: GetConversationIDBySessionType 返回的字符串带转义符 (#844) * style: update context initialization in GetConversationIDBySessionType. Signed-off-by: Gordon <[email protected]> * docs: readme doc update and add doc for gomobile compile sdk core. (#854) * docs: update readme file. Signed-off-by: Gordon <[email protected]> * docs: go mobile readme update. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * build: fix merge failed when conflict. (#855) * build: fix merge failed when conflict. * revert to previous name. * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. (#856) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * chore: update slack link in repo. (#860) * fix: sync self conversation's avatar when user's info changed. (#870) Signed-off-by: Gordon <[email protected]> * fix: add a manually triggered IM message synchronization mechanism to… (#868) * fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0. Signed-off-by: Gordon <[email protected]> * fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: directly deduplicate the messages pulled from the server. (#873) Signed-off-by: Gordon <[email protected]> * fix: get group member info maybe failed. (#880) Signed-off-by: Gordon <[email protected]> * fix: change secret && cicd modify secret (#884) * feat: sdk not init and not login code (#888) * refactor: change the login and initialization logic to prevent the SD… (#889) * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. Signed-off-by: Gordon <[email protected]> * fix: integ test * fix: integ test * fix: integ test * fix: integ test * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. Signed-off-by: Gordon <[email protected]> * refactor: remove some unused functions and struct. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: icey-yu <[email protected]> * refactor: change the login and initialization logic to prevent the SD… (#889) (#890) * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. * fix: integ test * fix: integ test * fix: integ test * fix: integ test * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. * refactor: remove some unused functions and struct. --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: icey-yu <[email protected]> * fix: add mutex for get conversation prevent concurrent insert conversation. (#893) Signed-off-by: Gordon <[email protected]> * fix: add mutex for get conversation prevent concurrent insert conversation. (#894) Signed-off-by: Gordon <[email protected]> * feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. Signed-off-by: Gordon <[email protected]> * feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. (#895) Signed-off-by: Gordon <[email protected]> * feat: support client config * feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900) * feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900) * refactor: revert createMsg interface. (#902) * refactor: improve workflows by merge and release (#912) * update new milestone * refactor: improve workflows contents by milestone PR. * update to args. * update workflows contents. * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. (#916) * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: chao <[email protected]> Co-authored-by: icey-yu <[email protected]> Co-authored-by: Monet Lee <[email protected]> Co-authored-by: qmarliu <[email protected]> Co-authored-by: skiffer-git <[email protected]> Co-authored-by: yoyoIU <[email protected]> Co-authored-by: 秋叶红 <[email protected]> Co-authored-by: icey-yu <[email protected]> Co-authored-by: withchao <[email protected]>
FGadvancer
added a commit
that referenced
this pull request
Nov 15, 2025
* fix: add register message. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add args * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: pressure test add. * fix: test file. * fix: send message concurrent. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add pressure. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: restore message. * fix: pressure message. * fix: add timer. * fix: message update. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix:add range login. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix:update. * fix: update. * fix: update. * fix:update * fix: update * fix: update * fix: update. * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: add wait time. * fix: message * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: update batchMsgListener func. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * chore: config update. * chore:do not send message. * chore:add args. * chore:fix bug. * chore: fix bool. * chore: restore. * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * refactor: remove c wrapper. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * refactor: remove some functions. Signed-off-by: Gordon <[email protected]> * refactor: remove some functions. Signed-off-by: Gordon <[email protected]> * feat: Support FetchSurroundingMessages (#741) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * feat: FetchSurroundingMessages * feat: FetchSurroundingMessages * fix: version (#750) * merge: update release-v3.8 with main changes Signed-off-by: Gordon <[email protected]> * fix: update the latest message when group member's changed. Signed-off-by: Gordon <[email protected]> * Revert "fix: update the latest message when group member's changed." This reverts commit ac358cb4e1f152403905610dc5c1366bb20c3bb3. * fix: update the latest message when group member's changed. (#752) Signed-off-by: Gordon <[email protected]> * fix: remove duplicate License. (#747) * feat: mark all conversation as read (#743) * feat: implement default logger when no init. (#755) * fix: del local group request (#754) * build: implement changelog generate. (#748) * fix: improve release generate file. * refactor: improve changelog structure. * update goreleaser * feat: implement changelog generate. * remove README.md use generate. * build: implement create Pre-release PR from Milestone. (#746) * feat: implement create Pre-release PR from Milestone. * update schedule time. * feat: implement error stack print. (#733) * feat: implement error stack print. * feat: update fn call error stack. * update go mod. * fix: improve batchUserFaceURLandName logic. (#756) * refactor: update ServerAPI method name. * feat: improve batchUserFaceURLandName logic. * update logic. * fix: escape table names to avoid the sqlite error: near "-": syntax error". (#762) * Fix local cache: user cache and group member cache (#765) * fix: group member local cache * fix: user local cache * fix: fix temp file don't remove when upload file. (#764) * build: improve cleanup after ms PR merged. * fix: fix temp file don't remove when upload file. * fix: GetGroupMembersInfoFunc (#767) * feat: searchLocalMessages by SenderUserID. (#739) * feat: searchLocalMessages by SenderUserID. * update wasm db interface and fix error. * add searchBykeyword logic. * update wasm para. * update logic. * feat: improve method implement. * update logic. * try empty * update sql query space. * fix: Change check reinstall logic (#766) * fix: check reinstall * fix: check reinstall * feat: support stream message (#770) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * feat: support stream messages * feat: support stream messages * fix: deleting the last message in a conversation will prompt failure (#771) * fix: the bug where isEnd for fetching message history is not working correctly. (#773) * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: solve uncorrect log. (#777) * refactor: improve createMessage and sendMessage interface. (#734) * add .gitignore content. * refactor: improve createMessage and sendMessage interface. * fix interface args. * fix nil pointer error. * fix test error. * refactor: remove batchListener. (#729) * refactor: remove batchListener. * comment update version file workflows. * restore code. * revert workflow file. * fix: update to correct msgListener. --------- Co-authored-by: OpenIM-Gordon <[email protected]> * Create delete-users-invalid-comments.yml * Update workflows. * fix: solve uncorrect delete file. (#784) * build: remove uncorrect schedule. (#782) * build: add bot PR merged filter. (#788) * Fix:Change check reinstall logic (#789) * fix: err * fix: err * fix: err * fix: err * fix: err * fix: msg status change to success when msg fetch from server. Signed-off-by: Gordon <[email protected]> * fix: create index failed when table name has `-`. (#793) * feat: improve merge in milestone and merged handle logic. (#794) * feat: improve merge in milestone logic. * update cleanup milestone. * build: update PR body. (#796) * feat: improve merge in milestone logic. * update cleanup milestone. * build: fix release args. * build: update PR body. * fix: change errs to custom errs avoid sdk panic. (#801) Signed-off-by: Gordon <[email protected]> * fix: change errs to custom errs avoid sdk panic. (#800) Signed-off-by: Gordon <[email protected]> * fix: get reverse history message change. (#804) * fix: change errs to custom errs avoid sdk panic. Signed-off-by: Gordon <[email protected]> * fix: get reverse history message change. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * fix: go mod dep repo update and fix reverse fetch message duplicate. (#810) Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. (#813) * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: login user's info maybe empty when app reinstall. (#814) * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: add server isEnd determination criteria for message retrieval. (#815) Signed-off-by: Gordon <[email protected]> * fix: search message do not filter voice message when keyword is empty. (#819) Signed-off-by: Gordon <[email protected]> * fix: Add black api add lock (#822) * fix: cicd (#824) * fix: quote message change to revoke message when app from background to foreground and message status update. (#825) Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. (#827) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. (#832) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: remove fetch messages instead of search message clear cache. Signed-off-by: Gordon <[email protected]> * refactor: remove fetch messages instead of search message clear cache. (#834) Signed-off-by: Gordon <[email protected]> * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. (#840) Signed-off-by: Gordon <[email protected]> * build: improve workflows contents. (#842) * build: improve workflows contents. * update workflows contents. * update * Update LICENSE * Update LICENSE * Update README.md * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. (#845) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: solve uncorrect delete conversation. (#848) * fix: wrong error code sometimes (#847) * fix: wrong error code sometimes * fix: keep error message * optimize the freeze caused by too many friends and group applications (#852) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * fix: add random prefix to remove duplicate messages. (#850) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: GetConversationIDBySessionType 返回的字符串带转义符 (#844) * style: update context initialization in GetConversationIDBySessionType. Signed-off-by: Gordon <[email protected]> * docs: readme doc update and add doc for gomobile compile sdk core. (#854) * docs: update readme file. Signed-off-by: Gordon <[email protected]> * docs: go mobile readme update. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * build: fix merge failed when conflict. (#855) * build: fix merge failed when conflict. * revert to previous name. * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. (#856) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * chore: update slack link in repo. (#860) * fix: sync self conversation's avatar when user's info changed. (#870) Signed-off-by: Gordon <[email protected]> * fix: add a manually triggered IM message synchronization mechanism to… (#868) * fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0. Signed-off-by: Gordon <[email protected]> * fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: directly deduplicate the messages pulled from the server. (#873) Signed-off-by: Gordon <[email protected]> * fix: get group member info maybe failed. (#880) Signed-off-by: Gordon <[email protected]> * fix: change secret && cicd modify secret (#884) * feat: sdk not init and not login code (#888) * refactor: change the login and initialization logic to prevent the SD… (#889) * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. Signed-off-by: Gordon <[email protected]> * fix: integ test * fix: integ test * fix: integ test * fix: integ test * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. Signed-off-by: Gordon <[email protected]> * refactor: remove some unused functions and struct. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: icey-yu <[email protected]> * fix: add mutex for get conversation prevent concurrent insert conversation. (#893) Signed-off-by: Gordon <[email protected]> * feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900) * refactor: revert createMsg interface. (#902) * refactor: improve workflows by merge and release (#912) * update new milestone * refactor: improve workflows contents by milestone PR. * update to args. * update workflows contents. * refactor: change conversation channel to priority queue and adjust strategy of message sync. (#916) * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: solve incorrect args in CreateMsg method. (#918) * Update LICENSE * Update README.md * Update README_zh-CN.md * feat: optimize notification triggering (#927) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * feat: optimize notification triggering * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. (#935) * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. Signed-off-by: Gordon <[email protected]> * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. Signed-off-by: Gordon <[email protected]> * fix: use a custom close code for javascript websocket active disconnection to prevent close failures, according to the WebSocket RFC documentation. (#923) * fix: recycle javascript promise function manually to prevent memory leaks. Signed-off-by: Gordon <[email protected]> * fix: use a custom close code for javascript websocket active disconnection to prevent close failures, according to the WebSocket RFC documentation. Signed-off-by: Gordon <[email protected]> * Revert "fix: recycle javascript promise function manually to prevent memory leaks." This reverts commit 051f83ad03041feecf9f6f3f980bf75b12219053. --------- Signed-off-by: Gordon <[email protected]> * fix: recycle javascript promise function manually to prevent memory leaks. (#922) Signed-off-by: Gordon <[email protected]> * fix: SyncLoginUserInfo * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: withchao <[email protected]> * feat: wasm support application layer ping (#936) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * feat: optimize notification triggering * fix: wasm support application layer ping # Conflicts: # internal/interaction/ws_js.go * feat: Add StopGoroutineOnBackground whether to stop goroutines when s… (#939) * feat: Add StopGoroutineOnBackground whether to stop goroutines when switching between the app's foreground and background, in order to prevent app crashes caused by iOS watchdog issues during background execution. Signed-off-by: Gordon <[email protected]> * feat: Add StopGoroutineOnBackground whether to stop goroutines when switching between the app's foreground and background, in order to prevent app crashes caused by iOS watchdog issues during background execution. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: add SetListener in NewSendMsgUser (#957) * feat: improve milestone merge workflows. (#958) * fix: refactor friend request and group request handling by removing l… (#960) * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: group member sync and unread trigger. Signed-off-by: Gordon <[email protected]> * fix: message sync logic restore. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: Can`t send notification in import_friend (#969) * fix: new msg syncer init * fix: FriendApplicationApprovedNotification * docs: create gomobile android ios setup EN docs. (#975) * Update README.md * Update gomobile-android-ios-setup.md * Update gomobile-android-ios-setup-cn.md * fix: solve lose uid kv when incr Sync. (#976) * fix: solve lose uid kv when incr Sync. * Update logic. * update var. * docs: add ndk sugguest version `20.1.5948944`(`r20b`). (#981) * feat: Implement sdk releaser workflows (#980) * feat: Implement sdk releaser workflows * remove unused yaml. * support dispatch tag. * fix: remove new line in update version file. (#988) * fix: update wasm archive have wasm_exec.js. (#993) * fix: the sent message is modified by webhook and cannot be synchronized (#992) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * feat: optimize notification triggering * fix: wasm support application layer ping # Conflicts: # internal/interaction/ws_js.go * feat: supports directly modifying local messages after the server modifies them through webhook after sending the message * feat: supports directly modifying local messages after the server modifies them through webhook after sending the message * fix: solve incorrect distinct in IncrSync and remove goroutine in syncAndTriggerReinstallMsgs func. (#999) * fix: solve incorrect distinct in IncrSync. * refactor: remove goroutine in syncAndTriggerReinstallMsgs function. * remove unuse transfer map. * update shortFuncName check in userRelated. * fix: set correct resp in sendMsgToServer (#1013) * fix: add safe submodule in workflows. (#1008) * Update CHANGELOG for release v3.8.3 (#836) * feat: testing program that simulates various scenarios of sending messages. (#593) * fix: user goroutine did not exit when ws dial because of token invalid or expired Signed-off-by: Gordon <[email protected]> * fix: err message update Signed-off-by: Gordon <[email protected]> * test: panic recover Signed-off-by: Gordon <[email protected]> * fix: avoid panic when local don't have message Signed-off-by: Gordon <[email protected]> * test: test args change Signed-off-by: Gordon <[email protected]> * fix: some messages seq is zero,filter this message and print exception info Signed-off-by: Gordon <[email protected]> * fix: user online status pb change Signed-off-by: Gordon <[email protected]> * test: add sdk user send message Signed-off-by: Gordon <[email protected]> * test: add sdk user send message Signed-off-by: Gordon <[email protected]> * fix: sync conversation panic when some groups deleted in server that user joined groups. Signed-off-by: Gordon <[email protected]> * fix: sdk trigger token expired callback Signed-off-by: Gordon <[email protected]> * fix: sdk remove group sync concurrent,maybe cause sync group members failed. Signed-off-by: Gordon <[email protected]> * fix: do not update group message when get user info. Signed-off-by: Gordon <[email protected]> * fix: private chat notification update. Signed-off-by: Gordon <[email protected]> * fix: change the conversation to synchronous retrieval. Signed-off-by: Gordon <[email protected]> * fix: split pull message. Signed-off-by: Gordon <[email protected]> * fix: user status online add to main func. * fix: pull notifications. * fix: pull notifications. * fix: message update latest icon and name when first sync message. * fix: message update latest icon and name when first sync message. * fix: message update latest icon and name when first sync message. * fix: stranger user model add wasm set func. Signed-off-by: Gordon <[email protected]> * fix: stranger user model add wasm set func. * tes: change num of sender. Signed-off-by: Gordon <[email protected]> * fix: create a group, group members greater than 5000 report an error * fix: remove stranger func in user model. Signed-off-by: Gordon <[email protected]> * refactor: change project module name. Signed-off-by: Gordon <[email protected]> * feat: add doc generator. Signed-off-by: Gordon <[email protected]> * tes: test file update. Signed-off-by: Gordon <[email protected]> * test: pressure test file update. Signed-off-by: Gordon <[email protected]> * test: remove get newest seq for pressure test. Signed-off-by: Gordon <[email protected]> * test: remove get newest seq for pressure test. Signed-off-by: Gordon <[email protected]> * test: remove get newest seq for pressure test. Signed-off-by: Gordon <[email protected]> * test: change ws heartbeat. Signed-off-by: Gordon <[email protected]> * test: change ws heartbeat. Signed-off-by: Gordon <[email protected]> * test: change ws heartbeat. Signed-off-by: Gordon <[email protected]> * test: change ws heartbeat. Signed-off-by: Gordon <[email protected]> * test: change ws heartbeat. Signed-off-by: Gordon <[email protected]> * test: change ws heartbeat. Signed-off-by: Gordon <[email protected]> * test: change ws heartbeat. Signed-off-by: Gordon <[email protected]> * fix: parser update. * fix: parse get right arg's decl location. * test: file path update. Signed-off-by: Gordon <[email protected]> * fix: repeated trigger conversation changed. Signed-off-by: Gordon <[email protected]> * fix: message unread count remove when user not in group. Signed-off-by: Gordon <[email protected]> * feat: add parse source code of go to doc. * feat: add parse source code of go to doc. * fix: parse file update. Signed-off-by: Gordon <[email protected]> * fix: parse file update. Signed-off-by: Gordon <[email protected]> * fix: ping pong handler remove. Signed-off-by: Gordon <[email protected]> * fix: pressure test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: msg test. * fix: add register message. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add args * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: pressure test add. * fix: test file. * fix: send message concurrent. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add pressure. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: restore message. * fix: pressure message. * fix: add timer. * fix: message update. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix:add range login. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix:update. * fix: update. * fix: update. * fix:update * fix: update * fix: update * fix: update. * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: add wait time. * fix: message * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: update batchMsgListener func. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * chore: config update. * chore:do not send message. * chore:add args. * chore:fix bug. * chore: fix bool. * chore: restore. * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * refactor: remove c wrapper. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * refactor: remove some functions. Signed-off-by: Gordon <[email protected]> * refactor: remove some functions. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: withchao <[email protected]> * fix: update TriggerCmdSyncData args. (#595) * fix: upload failure due to time expiration (#554) * fix: GroupApplicationAcceptedNotification * fix: GroupApplicationAcceptedNotification * fix: upload file error * fix: remove wasm file. (#596) * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: commit. * fix: commit. * fix: commit. * fix: commit. * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: sync user error. Signed-off-by: Gordon <[email protected]> * fix: remove wasm file. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: change limit int type avoid overflow and group member sorted. (#597) Signed-off-by: Gordon <[email protected]> * refactor: split sync data and notification cmd and add some heartbeat log. (#598) * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: commit. * fix: commit. * fix: commit. * fix: commit. * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: sync user error. Signed-off-by: Gordon <[email protected]> * fix: remove wasm file. Signed-off-by: Gordon <[email protected]> * fix: change limit int type avoid overflow and group member sorted. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: sdk logout due to client kick online, incr sync data trigger full id. (#601) * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: commit. * fix: commit. * fix: commit. * fix: commit. * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: sync user error. Signed-off-by: Gordon <[email protected]> * fix: remove wasm file. Signed-off-by: Gordon <[email protected]> * fix: change limit int type avoid overflow and group member sorted. Signed-off-by: Gordon <[email protected]> * fix: sdk logout due to client kick online, incr sync data trigger full id. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * feat: log support system type and ex (#600) * feat: log support system type and ex * fix: system type * feat: implement checkConversation seq. (#602) * feat: implement checkConversation seq. * update method contents and remove unnecessary method. * update error wrap. * chore: remove some unnecessary contents & add .gitignore (#603) * feat: implement checkConversation seq. * update method contents and remove unnecessary method. * update error wrap. * remove .DS_Store * update .gitignore * remove unnecessry method. * update method. * feat: update method to adapted the corresponding parms. (#599) * feat: update method to adapted the corresponding parms. * fix: recovery need struct. * update api parms to pb struct. * feat: protocol (#607) * feat: online status subscription (#606) * fix: GroupApplicationAcceptedNotification * fix: GroupApplicationAcceptedNotification * online status * online status * online status * feat: update msg Sync by Reinstalled trigger const. (#608) * update trigger const. * feat: implement more accurate progress. * optimize method implement. * update conversation List logic. * update method logic. * update conversation logic. * update BatchInsertMessageList. * update addProgress to private. * Fix logs upload (#604) * feat: log support system type and ex * fix: system type * fix: log upload * feat: log test * fix: err * Fix syncmsg (#609) * feat: protocol * feat: sync msg * feat: sync msg * feat: sync msg * fix: go mod * fix: conversation list will disappear when conversation version table has been deleted in server. (#610) * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: commit. * fix: commit. * fix: commit. * fix: commit. * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: sync user error. Signed-off-by: Gordon <[email protected]> * fix: remove wasm file. Signed-off-by: Gordon <[email protected]> * fix: change limit int type avoid overflow and group member sorted. Signed-off-by: Gordon <[email protected]> * fix: sdk logout due to client kick online, incr sync data trigger full id. Signed-off-by: Gordon <[email protected]> * fix: conver…
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 17, 2025
* bump: update go mod dependency version to latest. (#632) (#633) * bump: update go mod dependency version to latest. (#632) * refactor: optimize conversation notification structure. * optmize donotification structure in conversation. * remove unnecessary contents. * update log level and unnecessary wrap. * fix: update uncorrect contents. * feat: update go mod dependency version to latest. * fix: accept or refuse group application remove lock. (#634) * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: commit. * fix: commit. * fix: commit. * fix: commit. * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: sync user error. Signed-off-by: Gordon <[email protected]> * fix: remove wasm file. Signed-off-by: Gordon <[email protected]> * fix: change limit int type avoid overflow and group member sorted. Signed-off-by: Gordon <[email protected]> * fix: sdk logout due to client kick online, incr sync data trigger full id. Signed-off-by: Gordon <[email protected]> * fix: conversation list will disappear when conversation version table has been deleted in server. Signed-off-by: Gordon <[email protected]> * fix: conversation will deadlock when sync data logging. Signed-off-by: Gordon <[email protected]> * chore: sdk update log version to v0.0.49-alpha.60. Signed-off-by: Gordon <[email protected]> * fix: accept or refuse group application remove lock. Signed-off-by: Gordon <[email protected]> * fix: accept or refuse group application remove lock. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: Monet Lee <[email protected]> * feat: merge main bug fix to main. (#637) * bump: update go mod dependency version to latest. (#632) * refactor: optimize conversation notification structure. * optmize donotification structure in conversation. * remove unnecessary contents. * update log level and unnecessary wrap. * fix: update uncorrect contents. * feat: update go mod dependency version to latest. * fix: accept or refuse group application remove lock. (#634) * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: commit. * fix: commit. * fix: commit. * fix: commit. * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: sync user error. Signed-off-by: Gordon <[email protected]> * fix: remove wasm file. Signed-off-by: Gordon <[email protected]> * fix: change limit int type avoid overflow and group member sorted. Signed-off-by: Gordon <[email protected]> * fix: sdk logout due to client kick online, incr sync data trigger full id. Signed-off-by: Gordon <[email protected]> * fix: conversation list will disappear when conversation version table has been deleted in server. Signed-off-by: Gordon <[email protected]> * fix: conversation will deadlock when sync data logging. Signed-off-by: Gordon <[email protected]> * chore: sdk update log version to v0.0.49-alpha.60. Signed-off-by: Gordon <[email protected]> * fix: accept or refuse group application remove lock. Signed-off-by: Gordon <[email protected]> * fix: accept or refuse group application remove lock. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: solve get list is nil when batch fetch. (#635) * refactor: optimize conversation notification structure. * optmize donotification structure in conversation. * remove unnecessary contents. * update log level and unnecessary wrap. * fix: update uncorrect contents. * feat: update go mod dependency version to latest. * fix: solve get list is nil when batchfetch. * update get logic. * fix: filter Invalid. (#636) --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: Monet Lee <[email protected]> * deps: Merge #733 #741 #743 #746 #747 #748 #750 #752 #754 #755 #756 PRs into pre-release-v3.8.2 (#758) * feat: implement error stack print. (#733) * feat: implement error stack print. * feat: update fn call error stack. * update go mod. * feat: Support FetchSurroundingMessages (#741) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * feat: FetchSurroundingMessages * feat: FetchSurroundingMessages * feat: mark all conversation as read (#743) * build: implement create Pre-release PR from Milestone. (#746) * feat: implement create Pre-release PR from Milestone. * update schedule time. * fix: remove duplicate License. (#747) * build: implement changelog generate. (#748) * fix: improve release generate file. * refactor: improve changelog structure. * update goreleaser * feat: implement changelog generate. * remove README.md use generate. * fix: version (#750) * fix: update the latest message when group member's changed. (#752) Signed-off-by: Gordon <[email protected]> * fix: del local group request (#754) * feat: implement default logger when no init. (#755) * fix: improve batchUserFaceURLandName logic. (#756) * refactor: update ServerAPI method name. * feat: improve batchUserFaceURLandName logic. * update logic. --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: Monet Lee <[email protected]> Co-authored-by: chao <[email protected]> Co-authored-by: icey-yu <[email protected]> Co-authored-by: OpenIM-Gordon <[email protected]> * fix: escape table names to avoid the sqlite error: near "-": syntax error". (#762) (#763) Co-authored-by: OpenIM-Gordon <[email protected]> * deps: Merge #764 #765 #766 #767 PRs into pre-release-v3.8.2 (#768) * fix: fix temp file don't remove when upload file. (#764) * build: improve cleanup after ms PR merged. * fix: fix temp file don't remove when upload file. * Fix local cache: user cache and group member cache (#765) * fix: group member local cache * fix: user local cache * fix: Change check reinstall logic (#766) * fix: check reinstall * fix: check reinstall * fix: GetGroupMembersInfoFunc (#767) --------- Co-authored-by: Monet Lee <[email protected]> Co-authored-by: icey-yu <[email protected]> * deps: Merge #771 #773 PRs into pre-release-v3.8.2 (#774) * fix: deleting the last message in a conversation will prompt failure (#771) * fix: the bug where isEnd for fetching message history is not working correctly. (#773) * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: qmarliu <[email protected]> Co-authored-by: OpenIM-Gordon <[email protected]> * fix: solve uncorrect log. (#777) * fix: remove unused contents. (#780) * fix: remove unused contents. * fix: msg status change to success when msg fetch from server. Signed-off-by: Gordon <[email protected]> * build: remove uncorrect schedule. (#782) * fix: solve uncorrect delete file. (#784) * build: add bot PR merged filter. (#788) * Fix:Change check reinstall logic (#789) * fix: err * fix: err * fix: err * fix: err * fix: err * fix: remove unused import file. Signed-off-by: Gordon <[email protected]> * build: update clean after milestone pr. * fix: create index failed when table name has `-`. (#793) (#795) Co-authored-by: OpenIM-Gordon <[email protected]> * feat: improve merge in milestone and merged handle logic. (#794) * feat: improve merge in milestone logic. * update cleanup milestone. * build: update PR body. (#796) * feat: improve merge in milestone logic. * update cleanup milestone. * build: fix release args. * build: update PR body. * fix: change errs to custom errs avoid sdk panic. (#801) (#803) Signed-off-by: Gordon <[email protected]> Co-authored-by: OpenIM-Gordon <[email protected]> * fix: change errs to custom errs avoid sdk panic. (#800) (#802) Signed-off-by: Gordon <[email protected]> Co-authored-by: OpenIM-Gordon <[email protected]> * fix: get reverse history message change. (#805) Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. (#812) * fix: go mod dep repo update and fix reverse fetch message duplicate. (#810) Signed-off-by: Gordon <[email protected]> * refactor: change some tips. Signed-off-by: Gordon <[email protected]> * refactor: change some tips. Signed-off-by: Gordon <[email protected]> * fix: Add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: login user's info maybe empty when app reinstall. (#816) * fix: login user's info maybe empty when app reinstall. (#814) * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: search message do not filter voice message when keyword is empty. (#820) * fix: search message do not filter voice message when keyword is empty. Signed-off-by: Gordon <[email protected]> * fix: search message do not filter voice message when keyword is empty. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: quote message change to revoke message when app from background to foreground and message status update. (#826) Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. (#828) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. (#833) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: remove fetch messages instead of search message clear cache. (#835) Signed-off-by: Gordon <[email protected]> * fix: change field systemType to appFramework. Signed-off-by: Gordon <[email protected]> * build: improve workflows contents. (#843) * fix: refine exception message handling to prevent duplicate messages … (#841) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * optimize the freeze caused by too many friends and group applications && fix: GetConversationIDBySessionType returns a string with escape characters. (#853) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> * style: update start message id. Signed-off-by: Gordon <[email protected]> * optimize the freeze caused by too many friends and group applications (#852) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * fix: GetConversationIDBySessionType returns a string with escape characters. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: chao <[email protected]> * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. (#857) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> * style: update start message id. Signed-off-by: Gordon <[email protected]> * optimize the freeze caused by too many friends and group applications (#852) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * fix: GetConversationIDBySessionType returns a string with escape characters. Signed-off-by: Gordon <[email protected]> * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: chao <[email protected]> * fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0. (#869) Signed-off-by: Gordon <[email protected]> * fix: sync self conversation's avatar when user's info changed. (#871) Signed-off-by: Gordon <[email protected]> * fix: directly deduplicate the messages pulled from the server. (#874) Signed-off-by: Gordon <[email protected]> * fix: get group member info maybe failed. (#881) Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. (#914) * refactor: change the login and initialization logic to prevent the SD… (#889) (#890) * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. * fix: integ test * fix: integ test * fix: integ test * fix: integ test * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. * refactor: remove some unused functions and struct. --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: icey-yu <[email protected]> * fix: add mutex for get conversation prevent concurrent insert conversation. (#894) Signed-off-by: Gordon <[email protected]> * feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. Signed-off-by: Gordon <[email protected]> * feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. (#895) Signed-off-by: Gordon <[email protected]> * feat: support client config * feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900) * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: icey-yu <[email protected]> Co-authored-by: withchao <[email protected]> Co-authored-by: chao <[email protected]> Co-authored-by: icey-yu <[email protected]> * merge: merge code into v3.8.4 from main. (#917) * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: msg test. * fix: add register message. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add args * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: pressure test add. * fix: test file. * fix: send message concurrent. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add pressure. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: restore message. * fix: pressure message. * fix: add timer. * fix: message update. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix:add range login. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix:update. * fix: update. * fix: update. * fix:update * fix: update * fix: update * fix: update. * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: add wait time. * fix: message * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: update batchMsgListener func. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * chore: config update. * chore:do not send message. * chore:add args. * chore:fix bug. * chore: fix bool. * chore: restore. * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * refactor: remove c wrapper. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * refactor: remove some functions. Signed-off-by: Gordon <[email protected]> * refactor: remove some functions. Signed-off-by: Gordon <[email protected]> * feat: Support FetchSurroundingMessages (#741) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * feat: FetchSurroundingMessages * feat: FetchSurroundingMessages * fix: version (#750) * merge: update release-v3.8 with main changes Signed-off-by: Gordon <[email protected]> * fix: update the latest message when group member's changed. Signed-off-by: Gordon <[email protected]> * Revert "fix: update the latest message when group member's changed." This reverts commit ac358cb4e1f152403905610dc5c1366bb20c3bb3. * fix: update the latest message when group member's changed. (#752) Signed-off-by: Gordon <[email protected]> * fix: remove duplicate License. (#747) * feat: mark all conversation as read (#743) * feat: implement default logger when no init. (#755) * fix: del local group request (#754) * build: implement changelog generate. (#748) * fix: improve release generate file. * refactor: improve changelog structure. * update goreleaser * feat: implement changelog generate. * remove README.md use generate. * build: implement create Pre-release PR from Milestone. (#746) * feat: implement create Pre-release PR from Milestone. * update schedule time. * feat: implement error stack print. (#733) * feat: implement error stack print. * feat: update fn call error stack. * update go mod. * fix: improve batchUserFaceURLandName logic. (#756) * refactor: update ServerAPI method name. * feat: improve batchUserFaceURLandName logic. * update logic. * fix: escape table names to avoid the sqlite error: near "-": syntax error". (#762) * Fix local cache: user cache and group member cache (#765) * fix: group member local cache * fix: user local cache * fix: fix temp file don't remove when upload file. (#764) * build: improve cleanup after ms PR merged. * fix: fix temp file don't remove when upload file. * fix: GetGroupMembersInfoFunc (#767) * feat: searchLocalMessages by SenderUserID. (#739) * feat: searchLocalMessages by SenderUserID. * update wasm db interface and fix error. * add searchBykeyword logic. * update wasm para. * update logic. * feat: improve method implement. * update logic. * try empty * update sql query space. * fix: Change check reinstall logic (#766) * fix: check reinstall * fix: check reinstall * feat: support stream message (#770) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * feat: support stream messages * feat: support stream messages * fix: deleting the last message in a conversation will prompt failure (#771) * fix: the bug where isEnd for fetching message history is not working correctly. (#773) * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: solve uncorrect log. (#777) * refactor: improve createMessage and sendMessage interface. (#734) * add .gitignore content. * refactor: improve createMessage and sendMessage interface. * fix interface args. * fix nil pointer error. * fix test error. * refactor: remove batchListener. (#729) * refactor: remove batchListener. * comment update version file workflows. * restore code. * revert workflow file. * fix: update to correct msgListener. --------- Co-authored-by: OpenIM-Gordon <[email protected]> * Create delete-users-invalid-comments.yml * Update workflows. * fix: solve uncorrect delete file. (#784) * build: remove uncorrect schedule. (#782) * build: add bot PR merged filter. (#788) * Fix:Change check reinstall logic (#789) * fix: err * fix: err * fix: err * fix: err * fix: err * fix: msg status change to success when msg fetch from server. Signed-off-by: Gordon <[email protected]> * fix: create index failed when table name has `-`. (#793) * feat: improve merge in milestone and merged handle logic. (#794) * feat: improve merge in milestone logic. * update cleanup milestone. * build: update PR body. (#796) * feat: improve merge in milestone logic. * update cleanup milestone. * build: fix release args. * build: update PR body. * fix: change errs to custom errs avoid sdk panic. (#801) Signed-off-by: Gordon <[email protected]> * fix: change errs to custom errs avoid sdk panic. (#800) Signed-off-by: Gordon <[email protected]> * fix: get reverse history message change. (#804) * fix: change errs to custom errs avoid sdk panic. Signed-off-by: Gordon <[email protected]> * fix: get reverse history message change. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * fix: go mod dep repo update and fix reverse fetch message duplicate. (#810) Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. (#813) * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: login user's info maybe empty when app reinstall. (#814) * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: add server isEnd determination criteria for message retrieval. (#815) Signed-off-by: Gordon <[email protected]> * fix: search message do not filter voice message when keyword is empty. (#819) Signed-off-by: Gordon <[email protected]> * fix: Add black api add lock (#822) * fix: cicd (#824) * fix: quote message change to revoke message when app from background to foreground and message status update. (#825) Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. (#827) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. (#832) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: remove fetch messages instead of search message clear cache. Signed-off-by: Gordon <[email protected]> * refactor: remove fetch messages instead of search message clear cache. (#834) Signed-off-by: Gordon <[email protected]> * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. (#840) Signed-off-by: Gordon <[email protected]> * build: improve workflows contents. (#842) * build: improve workflows contents. * update workflows contents. * update * Update LICENSE * Update LICENSE * Update README.md * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. (#845) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: solve uncorrect delete conversation. (#848) * fix: wrong error code sometimes (#847) * fix: wrong error code sometimes * fix: keep error message * optimize the freeze caused by too many friends and group applications (#852) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * fix: add random prefix to remove duplicate messages. (#850) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: GetConversationIDBySessionType 返回的字符串带转义符 (#844) * style: update context initialization in GetConversationIDBySessionType. Signed-off-by: Gordon <[email protected]> * docs: readme doc update and add doc for gomobile compile sdk core. (#854) * docs: update readme file. Signed-off-by: Gordon <[email protected]> * docs: go mobile readme update. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * build: fix merge failed when conflict. (#855) * build: fix merge failed when conflict. * revert to previous name. * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. (#856) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * chore: update slack link in repo. (#860) * fix: sync self conversation's avatar when user's info changed. (#870) Signed-off-by: Gordon <[email protected]> * fix: add a manually triggered IM message synchronization mechanism to… (#868) * fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0. Signed-off-by: Gordon <[email protected]> * fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: directly deduplicate the messages pulled from the server. (#873) Signed-off-by: Gordon <[email protected]> * fix: get group member info maybe failed. (#880) Signed-off-by: Gordon <[email protected]> * fix: change secret && cicd modify secret (#884) * feat: sdk not init and not login code (#888) * refactor: change the login and initialization logic to prevent the SD… (#889) * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. Signed-off-by: Gordon <[email protected]> * fix: integ test * fix: integ test * fix: integ test * fix: integ test * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. Signed-off-by: Gordon <[email protected]> * refactor: remove some unused functions and struct. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: icey-yu <[email protected]> * refactor: change the login and initialization logic to prevent the SD… (#889) (#890) * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. * fix: integ test * fix: integ test * fix: integ test * fix: integ test * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. * refactor: remove some unused functions and struct. --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: icey-yu <[email protected]> * fix: add mutex for get conversation prevent concurrent insert conversation. (#893) Signed-off-by: Gordon <[email protected]> * fix: add mutex for get conversation prevent concurrent insert conversation. (#894) Signed-off-by: Gordon <[email protected]> * feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. Signed-off-by: Gordon <[email protected]> * feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. (#895) Signed-off-by: Gordon <[email protected]> * feat: support client config * feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900) * feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900) * refactor: revert createMsg interface. (#902) * refactor: improve workflows by merge and release (#912) * update new milestone * refactor: improve workflows contents by milestone PR. * update to args. * update workflows contents. * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. (#916) * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: chao <[email protected]> Co-authored-by: icey-yu <[email protected]> Co-authored-by: Monet Lee <[email protected]> Co-authored-by: qmarliu <[email protected]> Co-authored-by: skiffer-git <[email protected]> Co-authored-by: yoyoIU <[email protected]> Co-authored-by: 秋叶红 <[email protected]> Co-authored-by: icey-yu <[email protected]> Co-authored-by: withchao <[email protected]> * Update LICENSE * fix: SyncLoginUserInfo * fix: wasm support application layer ping * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. (#937) * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. (#935) * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. Signed-off-by: Gordon <[email protected]> * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. Signed-off-by: Gordon <[email protected]> * fix: use a custom close code for javascript websocket active disconnection to prevent close failures, according to the WebSocket RFC documentation. (#923) * fix: recycle javascript promise function manually to prevent memory leaks. Signed-off-by: Gordon <[email protected]> * fix: use a custom close code for javascript websocket active disconnection to prevent close failures, according to the WebSocket RFC documentation. Signed-off-by: Gordon <[email protected]> * Revert "fix: recycle javascript promise function manually to prevent memory leaks." This reverts commit 051f83ad03041feecf9f6f3f980bf75b12219053. --------- Signed-off-by: Gordon <[email protected]> * fix: recycle javascript promise function manually to prevent memory leaks. (#922) Signed-off-by: Gordon <[email protected]> * fix: SyncLoginUserInfo * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: withchao <[email protected]> Signed-off-by: Gordon <[email protected]> * fix: solve incorrect args in CreateMsg method. (#918) --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: withchao <[email protected]> Co-authored-by: Monet Lee <[email protected]> * V3.8.4 watch dog (#940) * feat: Add StopGoroutineOnBackground whether to stop goroutines when switching between the app's foreground and background, in order to prevent app crashes caused by iOS watchdog issues during background execution. Signed-off-by: Gordon <[email protected]> * feat: Add StopGoroutineOnBackground whether to stop goroutines when switching between the app's foreground and background, in order to prevent app crashes caused by iOS watchdog issues during background execution. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * feat: optimize notification triggering (#927) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * feat: optimize notification triggering (cherry picked from commit 2d65e55e470767539e14a12282612ed757d54e90) * fix: send msg callback * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. (#961) Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: group member sync and unread trigger. Signed-off-by: Gordon <[email protected]> * fix: update method args. (#962) * fix: message sync logic restore. Signed-off-by: Gordon <[email protected]> * refactor: change sync strategy of group request and friend request. Signed-off-by: Gordon <[email protected]> * fix: solve incr sync in get GroupMeber List. (#978) * feat: create sdk releaser workflows in pre-release-v3.8.4 branch. (#983) * fix: update version file in sdk releaser (#984) * fix: remove new line in update version file in pre-release-v3.8.4. (#990) * fix: update wasm archive have wasm_exec.js in pre-release-v3.8.4 branch. (#996) * feat: supports directly modifying local messages after the server modifies them through webhook after sending the message (cherry picked from commit c4fc131309323f2e4632fd1f18dc088b82ff66b4) * feat: supports directly modifying local messages after the server modifies them through webhook after sending the message * fix: solve incorrect distinct in IncrSync and remove goroutine in syncAndTriggerReinstallMsgs func in pre-release-v3.8.4. (#1001) * fix: add safe submodule in workflows in pre-release-v3.8.4. (#1010) * fix: solve incorrect distinct in IncrSync and remove goroutine in syncAndTriggerReinstallMsgs func in pre-release-v3.8.4. * fix: add safe submodule in workflows in pre-release-v3.8.4. * fix: resolve SQL injection in SearchLocalMessages in pre-release-v3.8.4 (#1024) * fix: Resolved the issue where the delete message method only performs local deletion when the seq is 0 in pre-release-v3.8.4. (#1028) * fix: delete sending failed msg * feat: merge opensource code into v3.8.4 from main. (#1058) * fix: add register message. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add args * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single mes…
Dx-zuo
pushed a commit
to Dx-zuo/openim-sdk-core
that referenced
this pull request
Dec 6, 2025
* bump: update go mod dependency version to latest. (#632) (#633) * bump: update go mod dependency version to latest. (#632) * refactor: optimize conversation notification structure. * optmize donotification structure in conversation. * remove unnecessary contents. * update log level and unnecessary wrap. * fix: update uncorrect contents. * feat: update go mod dependency version to latest. * fix: accept or refuse group application remove lock. (#634) * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: commit. * fix: commit. * fix: commit. * fix: commit. * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: sync user error. Signed-off-by: Gordon <[email protected]> * fix: remove wasm file. Signed-off-by: Gordon <[email protected]> * fix: change limit int type avoid overflow and group member sorted. Signed-off-by: Gordon <[email protected]> * fix: sdk logout due to client kick online, incr sync data trigger full id. Signed-off-by: Gordon <[email protected]> * fix: conversation list will disappear when conversation version table has been deleted in server. Signed-off-by: Gordon <[email protected]> * fix: conversation will deadlock when sync data logging. Signed-off-by: Gordon <[email protected]> * chore: sdk update log version to v0.0.49-alpha.60. Signed-off-by: Gordon <[email protected]> * fix: accept or refuse group application remove lock. Signed-off-by: Gordon <[email protected]> * fix: accept or refuse group application remove lock. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: Monet Lee <[email protected]> * feat: merge main bug fix to main. (#637) * bump: update go mod dependency version to latest. (#632) * refactor: optimize conversation notification structure. * optmize donotification structure in conversation. * remove unnecessary contents. * update log level and unnecessary wrap. * fix: update uncorrect contents. * feat: update go mod dependency version to latest. * fix: accept or refuse group application remove lock. (#634) * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add function of GetUsersInGroup checks if the provided userIDs are in the specified group. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: commit. * fix: commit. * fix: commit. * fix: commit. * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * fix: sync user error. Signed-off-by: Gordon <[email protected]> * fix: remove wasm file. Signed-off-by: Gordon <[email protected]> * fix: change limit int type avoid overflow and group member sorted. Signed-off-by: Gordon <[email protected]> * fix: sdk logout due to client kick online, incr sync data trigger full id. Signed-off-by: Gordon <[email protected]> * fix: conversation list will disappear when conversation version table has been deleted in server. Signed-off-by: Gordon <[email protected]> * fix: conversation will deadlock when sync data logging. Signed-off-by: Gordon <[email protected]> * chore: sdk update log version to v0.0.49-alpha.60. Signed-off-by: Gordon <[email protected]> * fix: accept or refuse group application remove lock. Signed-off-by: Gordon <[email protected]> * fix: accept or refuse group application remove lock. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: solve get list is nil when batch fetch. (#635) * refactor: optimize conversation notification structure. * optmize donotification structure in conversation. * remove unnecessary contents. * update log level and unnecessary wrap. * fix: update uncorrect contents. * feat: update go mod dependency version to latest. * fix: solve get list is nil when batchfetch. * update get logic. * fix: filter Invalid. (#636) --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: Monet Lee <[email protected]> * deps: Merge #733 #741 #743 #746 #747 #748 #750 #752 #754 #755 #756 PRs into pre-release-v3.8.2 (#758) * feat: implement error stack print. (#733) * feat: implement error stack print. * feat: update fn call error stack. * update go mod. * feat: Support FetchSurroundingMessages (#741) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * feat: FetchSurroundingMessages * feat: FetchSurroundingMessages * feat: mark all conversation as read (#743) * build: implement create Pre-release PR from Milestone. (#746) * feat: implement create Pre-release PR from Milestone. * update schedule time. * fix: remove duplicate License. (#747) * build: implement changelog generate. (#748) * fix: improve release generate file. * refactor: improve changelog structure. * update goreleaser * feat: implement changelog generate. * remove README.md use generate. * fix: version (#750) * fix: update the latest message when group member's changed. (#752) Signed-off-by: Gordon <[email protected]> * fix: del local group request (#754) * feat: implement default logger when no init. (#755) * fix: improve batchUserFaceURLandName logic. (#756) * refactor: update ServerAPI method name. * feat: improve batchUserFaceURLandName logic. * update logic. --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: Monet Lee <[email protected]> Co-authored-by: chao <[email protected]> Co-authored-by: icey-yu <[email protected]> Co-authored-by: OpenIM-Gordon <[email protected]> * fix: escape table names to avoid the sqlite error: near "-": syntax error". (#762) (#763) Co-authored-by: OpenIM-Gordon <[email protected]> * deps: Merge #764 #765 #766 #767 PRs into pre-release-v3.8.2 (#768) * fix: fix temp file don't remove when upload file. (#764) * build: improve cleanup after ms PR merged. * fix: fix temp file don't remove when upload file. * Fix local cache: user cache and group member cache (#765) * fix: group member local cache * fix: user local cache * fix: Change check reinstall logic (#766) * fix: check reinstall * fix: check reinstall * fix: GetGroupMembersInfoFunc (#767) --------- Co-authored-by: Monet Lee <[email protected]> Co-authored-by: icey-yu <[email protected]> * deps: Merge #771 #773 PRs into pre-release-v3.8.2 (#774) * fix: deleting the last message in a conversation will prompt failure (#771) * fix: the bug where isEnd for fetching message history is not working correctly. (#773) * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: qmarliu <[email protected]> Co-authored-by: OpenIM-Gordon <[email protected]> * fix: solve uncorrect log. (#777) * fix: remove unused contents. (#780) * fix: remove unused contents. * fix: msg status change to success when msg fetch from server. Signed-off-by: Gordon <[email protected]> * build: remove uncorrect schedule. (#782) * fix: solve uncorrect delete file. (#784) * build: add bot PR merged filter. (#788) * Fix:Change check reinstall logic (#789) * fix: err * fix: err * fix: err * fix: err * fix: err * fix: remove unused import file. Signed-off-by: Gordon <[email protected]> * build: update clean after milestone pr. * fix: create index failed when table name has `-`. (#793) (#795) Co-authored-by: OpenIM-Gordon <[email protected]> * feat: improve merge in milestone and merged handle logic. (#794) * feat: improve merge in milestone logic. * update cleanup milestone. * build: update PR body. (#796) * feat: improve merge in milestone logic. * update cleanup milestone. * build: fix release args. * build: update PR body. * fix: change errs to custom errs avoid sdk panic. (#801) (#803) Signed-off-by: Gordon <[email protected]> Co-authored-by: OpenIM-Gordon <[email protected]> * fix: change errs to custom errs avoid sdk panic. (#800) (#802) Signed-off-by: Gordon <[email protected]> Co-authored-by: OpenIM-Gordon <[email protected]> * fix: get reverse history message change. (#805) Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. (#812) * fix: go mod dep repo update and fix reverse fetch message duplicate. (#810) Signed-off-by: Gordon <[email protected]> * refactor: change some tips. Signed-off-by: Gordon <[email protected]> * refactor: change some tips. Signed-off-by: Gordon <[email protected]> * fix: Add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: login user's info maybe empty when app reinstall. (#816) * fix: login user's info maybe empty when app reinstall. (#814) * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: search message do not filter voice message when keyword is empty. (#820) * fix: search message do not filter voice message when keyword is empty. Signed-off-by: Gordon <[email protected]> * fix: search message do not filter voice message when keyword is empty. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: quote message change to revoke message when app from background to foreground and message status update. (#826) Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. (#828) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. (#833) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: remove fetch messages instead of search message clear cache. (#835) Signed-off-by: Gordon <[email protected]> * fix: change field systemType to appFramework. Signed-off-by: Gordon <[email protected]> * build: improve workflows contents. (#843) * fix: refine exception message handling to prevent duplicate messages … (#841) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * optimize the freeze caused by too many friends and group applications && fix: GetConversationIDBySessionType returns a string with escape characters. (#853) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> * style: update start message id. Signed-off-by: Gordon <[email protected]> * optimize the freeze caused by too many friends and group applications (#852) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * fix: GetConversationIDBySessionType returns a string with escape characters. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: chao <[email protected]> * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. (#857) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> * style: update start message id. Signed-off-by: Gordon <[email protected]> * optimize the freeze caused by too many friends and group applications (#852) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * fix: GetConversationIDBySessionType returns a string with escape characters. Signed-off-by: Gordon <[email protected]> * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: chao <[email protected]> * fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0. (#869) Signed-off-by: Gordon <[email protected]> * fix: sync self conversation's avatar when user's info changed. (#871) Signed-off-by: Gordon <[email protected]> * fix: directly deduplicate the messages pulled from the server. (#874) Signed-off-by: Gordon <[email protected]> * fix: get group member info maybe failed. (#881) Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. (#914) * refactor: change the login and initialization logic to prevent the SD… (#889) (#890) * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. * fix: integ test * fix: integ test * fix: integ test * fix: integ test * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. * refactor: remove some unused functions and struct. --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: icey-yu <[email protected]> * fix: add mutex for get conversation prevent concurrent insert conversation. (#894) Signed-off-by: Gordon <[email protected]> * feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. Signed-off-by: Gordon <[email protected]> * feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. (#895) Signed-off-by: Gordon <[email protected]> * feat: support client config * feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900) * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: icey-yu <[email protected]> Co-authored-by: withchao <[email protected]> Co-authored-by: chao <[email protected]> Co-authored-by: icey-yu <[email protected]> * merge: merge code into v3.8.4 from main. (#917) * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: msg test. * fix: add register message. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add args * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: pressure test add. * fix: test file. * fix: send message concurrent. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add pressure. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: restore message. * fix: pressure message. * fix: add timer. * fix: message update. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix:add range login. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix:update. * fix: update. * fix: update. * fix:update * fix: update * fix: update * fix: update. * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: add wait time. * fix: message * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: update batchMsgListener func. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * chore: config update. * chore:do not send message. * chore:add args. * chore:fix bug. * chore: fix bool. * chore: restore. * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: listener add empty implement avoid panic. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: add sync pool to reduce cpu and memory overhead. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * fix: conversation's latestMsg struct unmarshal err type. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * feat: msg test update. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * fix: create group add error info. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * test: ip change. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * feat: group add online rate. Signed-off-by: Gordon <[email protected]> * refactor: remove c wrapper. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * feat: add incremental synchronization for common conversation attributes. Signed-off-by: Gordon <[email protected]> * refactor: remove some functions. Signed-off-by: Gordon <[email protected]> * refactor: remove some functions. Signed-off-by: Gordon <[email protected]> * feat: Support FetchSurroundingMessages (#741) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * feat: FetchSurroundingMessages * feat: FetchSurroundingMessages * fix: version (#750) * merge: update release-v3.8 with main changes Signed-off-by: Gordon <[email protected]> * fix: update the latest message when group member's changed. Signed-off-by: Gordon <[email protected]> * Revert "fix: update the latest message when group member's changed." This reverts commit ac358cb4e1f152403905610dc5c1366bb20c3bb3. * fix: update the latest message when group member's changed. (#752) Signed-off-by: Gordon <[email protected]> * fix: remove duplicate License. (#747) * feat: mark all conversation as read (#743) * feat: implement default logger when no init. (#755) * fix: del local group request (#754) * build: implement changelog generate. (#748) * fix: improve release generate file. * refactor: improve changelog structure. * update goreleaser * feat: implement changelog generate. * remove README.md use generate. * build: implement create Pre-release PR from Milestone. (#746) * feat: implement create Pre-release PR from Milestone. * update schedule time. * feat: implement error stack print. (#733) * feat: implement error stack print. * feat: update fn call error stack. * update go mod. * fix: improve batchUserFaceURLandName logic. (#756) * refactor: update ServerAPI method name. * feat: improve batchUserFaceURLandName logic. * update logic. * fix: escape table names to avoid the sqlite error: near "-": syntax error". (#762) * Fix local cache: user cache and group member cache (#765) * fix: group member local cache * fix: user local cache * fix: fix temp file don't remove when upload file. (#764) * build: improve cleanup after ms PR merged. * fix: fix temp file don't remove when upload file. * fix: GetGroupMembersInfoFunc (#767) * feat: searchLocalMessages by SenderUserID. (#739) * feat: searchLocalMessages by SenderUserID. * update wasm db interface and fix error. * add searchBykeyword logic. * update wasm para. * update logic. * feat: improve method implement. * update logic. * try empty * update sql query space. * fix: Change check reinstall logic (#766) * fix: check reinstall * fix: check reinstall * feat: support stream message (#770) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * feat: support stream messages * feat: support stream messages * fix: deleting the last message in a conversation will prompt failure (#771) * fix: the bug where isEnd for fetching message history is not working correctly. (#773) * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> * fix: the bug where isEnd for fetching message history is not working correctly. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: solve uncorrect log. (#777) * refactor: improve createMessage and sendMessage interface. (#734) * add .gitignore content. * refactor: improve createMessage and sendMessage interface. * fix interface args. * fix nil pointer error. * fix test error. * refactor: remove batchListener. (#729) * refactor: remove batchListener. * comment update version file workflows. * restore code. * revert workflow file. * fix: update to correct msgListener. --------- Co-authored-by: OpenIM-Gordon <[email protected]> * Create delete-users-invalid-comments.yml * Update workflows. * fix: solve uncorrect delete file. (#784) * build: remove uncorrect schedule. (#782) * build: add bot PR merged filter. (#788) * Fix:Change check reinstall logic (#789) * fix: err * fix: err * fix: err * fix: err * fix: err * fix: msg status change to success when msg fetch from server. Signed-off-by: Gordon <[email protected]> * fix: create index failed when table name has `-`. (#793) * feat: improve merge in milestone and merged handle logic. (#794) * feat: improve merge in milestone logic. * update cleanup milestone. * build: update PR body. (#796) * feat: improve merge in milestone logic. * update cleanup milestone. * build: fix release args. * build: update PR body. * fix: change errs to custom errs avoid sdk panic. (#801) Signed-off-by: Gordon <[email protected]> * fix: change errs to custom errs avoid sdk panic. (#800) Signed-off-by: Gordon <[email protected]> * fix: get reverse history message change. (#804) * fix: change errs to custom errs avoid sdk panic. Signed-off-by: Gordon <[email protected]> * fix: get reverse history message change. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * fix: go mod dep repo update and fix reverse fetch message duplicate. (#810) Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. (#813) * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> * fix: add server isEnd determination criteria for message retrieval. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: login user's info maybe empty when app reinstall. (#814) * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: login user's info maybe empty when app reinstall. * fix: add server isEnd determination criteria for message retrieval. (#815) Signed-off-by: Gordon <[email protected]> * fix: search message do not filter voice message when keyword is empty. (#819) Signed-off-by: Gordon <[email protected]> * fix: Add black api add lock (#822) * fix: cicd (#824) * fix: quote message change to revoke message when app from background to foreground and message status update. (#825) Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. (#827) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. (#832) * fix: quote message change to revoke message when app from background to foreground and message status update. Signed-off-by: Gordon <[email protected]> * feat: add a function to quickly retrieve the context messages for a given message. Signed-off-by: Gordon <[email protected]> * refactor: the SDK interface using the pb protocol to replace json. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> * refactor: add a parameter to locate messages and reverse pull messages to avoid UI data interference. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * refactor: remove fetch messages instead of search message clear cache. Signed-off-by: Gordon <[email protected]> * refactor: remove fetch messages instead of search message clear cache. (#834) Signed-off-by: Gordon <[email protected]> * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. (#840) Signed-off-by: Gordon <[email protected]> * build: improve workflows contents. (#842) * build: improve workflows contents. * update workflows contents. * update * Update LICENSE * Update LICENSE * Update README.md * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. (#845) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: solve uncorrect delete conversation. (#848) * fix: wrong error code sometimes (#847) * fix: wrong error code sometimes * fix: keep error message * optimize the freeze caused by too many friends and group applications (#852) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * fix: add random prefix to remove duplicate messages. (#850) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: GetConversationIDBySessionType 返回的字符串带转义符 (#844) * style: update context initialization in GetConversationIDBySessionType. Signed-off-by: Gordon <[email protected]> * docs: readme doc update and add doc for gomobile compile sdk core. (#854) * docs: update readme file. Signed-off-by: Gordon <[email protected]> * docs: go mobile readme update. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * build: fix merge failed when conflict. (#855) * build: fix merge failed when conflict. * revert to previous name. * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. (#856) * fix: refine exception message handling to prevent duplicate messages in clients with poor network conditions. Signed-off-by: Gordon <[email protected]> * fix: primary key conflicts caused by empty messages occupying seq due to sequence gaps. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: server downtime and abnormal message handling may lead to message duplication, and the history retrieval interface might miss messages when the timestamps are the same. Signed-off-by: Gordon <[email protected]> * fix: add random prefix to remove duplicate messages. Signed-off-by: Gordon <[email protected]> * fix: modify the historical message retrieval interface to address the message gap problem caused by server crashes or redis seq cache expired. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * chore: update slack link in repo. (#860) * fix: sync self conversation's avatar when user's info changed. (#870) Signed-off-by: Gordon <[email protected]> * fix: add a manually triggered IM message synchronization mechanism to… (#868) * fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0. Signed-off-by: Gordon <[email protected]> * fix: add a manually triggered IM message synchronization mechanism to prevent message recall failure due to seq=0. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * fix: directly deduplicate the messages pulled from the server. (#873) Signed-off-by: Gordon <[email protected]> * fix: get group member info maybe failed. (#880) Signed-off-by: Gordon <[email protected]> * fix: change secret && cicd modify secret (#884) * feat: sdk not init and not login code (#888) * refactor: change the login and initialization logic to prevent the SD… (#889) * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. Signed-off-by: Gordon <[email protected]> * fix: integ test * fix: integ test * fix: integ test * fix: integ test * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. Signed-off-by: Gordon <[email protected]> * refactor: remove some unused functions and struct. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: icey-yu <[email protected]> * refactor: change the login and initialization logic to prevent the SD… (#889) (#890) * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. * fix: integ test * fix: integ test * fix: integ test * fix: integ test * refactor: change the login and initialization logic to prevent the SDK from crashing due to being uninitialized or not logged in. * refactor: remove some unused functions and struct. --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: icey-yu <[email protected]> * fix: add mutex for get conversation prevent concurrent insert conversation. (#893) Signed-off-by: Gordon <[email protected]> * fix: add mutex for get conversation prevent concurrent insert conversation. (#894) Signed-off-by: Gordon <[email protected]> * feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. Signed-off-by: Gordon <[email protected]> * feat: caching for special users of the SDK to prevent cache breakdown and reduce server pressure. (#895) Signed-off-by: Gordon <[email protected]> * feat: support client config * feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900) * feat: CheckLocalGroupFullSync & CheckGroupMemberFullSync (#900) * refactor: revert createMsg interface. (#902) * refactor: improve workflows by merge and release (#912) * update new milestone * refactor: improve workflows contents by milestone PR. * update to args. * update workflows contents. * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. (#916) * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> * refactor: change conversation channel to priority queue and adjust strategy of message sync. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: chao <[email protected]> Co-authored-by: icey-yu <[email protected]> Co-authored-by: Monet Lee <[email protected]> Co-authored-by: qmarliu <[email protected]> Co-authored-by: skiffer-git <[email protected]> Co-authored-by: yoyoIU <[email protected]> Co-authored-by: 秋叶红 <[email protected]> Co-authored-by: icey-yu <[email protected]> Co-authored-by: withchao <[email protected]> * Update LICENSE * fix: SyncLoginUserInfo * fix: wasm support application layer ping * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. (#937) * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. (#935) * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. Signed-off-by: Gordon <[email protected]> * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. Signed-off-by: Gordon <[email protected]> * fix: use a custom close code for javascript websocket active disconnection to prevent close failures, according to the WebSocket RFC documentation. (#923) * fix: recycle javascript promise function manually to prevent memory leaks. Signed-off-by: Gordon <[email protected]> * fix: use a custom close code for javascript websocket active disconnection to prevent close failures, according to the WebSocket RFC documentation. Signed-off-by: Gordon <[email protected]> * Revert "fix: recycle javascript promise function manually to prevent memory leaks." This reverts commit 051f83ad03041feecf9f6f3f980bf75b12219053. --------- Signed-off-by: Gordon <[email protected]> * fix: recycle javascript promise function manually to prevent memory leaks. (#922) Signed-off-by: Gordon <[email protected]> * fix: SyncLoginUserInfo * fix: failure to clear @ tags in conversations, group member synchronization errors, and friend list synchronization anomalies,due to concurrency. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: withchao <[email protected]> Signed-off-by: Gordon <[email protected]> * fix: solve incorrect args in CreateMsg method. (#918) --------- Signed-off-by: Gordon <[email protected]> Co-authored-by: withchao <[email protected]> Co-authored-by: Monet Lee <[email protected]> * V3.8.4 watch dog (#940) * feat: Add StopGoroutineOnBackground whether to stop goroutines when switching between the app's foreground and background, in order to prevent app crashes caused by iOS watchdog issues during background execution. Signed-off-by: Gordon <[email protected]> * feat: Add StopGoroutineOnBackground whether to stop goroutines when switching between the app's foreground and background, in order to prevent app crashes caused by iOS watchdog issues during background execution. Signed-off-by: Gordon <[email protected]> --------- Signed-off-by: Gordon <[email protected]> * feat: optimize notification triggering (#927) * feat: code adjustment * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * feat: Cmd2Value carry caller * fix: SearchLocalMessages no such table * fix: optimize the freeze caused by too many friends and group applications * feat: optimize notification triggering (cherry picked from commit 2d65e55e470767539e14a12282612ed757d54e90) * fix: send msg callback * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. (#961) Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: refactor friend request and group request handling by removing local caching to relieve synchronization performance pressure. Signed-off-by: Gordon <[email protected]> * fix: group member sync and unread trigger. Signed-off-by: Gordon <[email protected]> * fix: update method args. (#962) * fix: message sync logic restore. Signed-off-by: Gordon <[email protected]> * refactor: change sync strategy of group request and friend request. Signed-off-by: Gordon <[email protected]> * fix: solve incr sync in get GroupMeber List. (#978) * feat: create sdk releaser workflows in pre-release-v3.8.4 branch. (#983) * fix: update version file in sdk releaser (#984) * fix: remove new line in update version file in pre-release-v3.8.4. (#990) * fix: update wasm archive have wasm_exec.js in pre-release-v3.8.4 branch. (#996) * feat: supports directly modifying local messages after the server modifies them through webhook after sending the message (cherry picked from commit c4fc131309323f2e4632fd1f18dc088b82ff66b4) * feat: supports directly modifying local messages after the server modifies them through webhook after sending the message * fix: solve incorrect distinct in IncrSync and remove goroutine in syncAndTriggerReinstallMsgs func in pre-release-v3.8.4. (#1001) * fix: add safe submodule in workflows in pre-release-v3.8.4. (#1010) * fix: solve incorrect distinct in IncrSync and remove goroutine in syncAndTriggerReinstallMsgs func in pre-release-v3.8.4. * fix: add safe submodule in workflows in pre-release-v3.8.4. * fix: resolve SQL injection in SearchLocalMessages in pre-release-v3.8.4 (#1024) * fix: Resolved the issue where the delete message method only performs local deletion when the seq is 0 in pre-release-v3.8.4. (#1028) * fix: delete sending failed msg * feat: merge opensource code into v3.8.4 from main. (#1058) * fix: add register message. * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: add args * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single message test. Signed-off-by: Gordon <[email protected]> * fix: single mes…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🅰 Please add the issue ID after "Fixes #"
Fixes #766