diff --git a/shared/signaling/release-notes/web.mdx b/shared/signaling/release-notes/web.mdx index 105e5d722..270b8d915 100644 --- a/shared/signaling/release-notes/web.mdx +++ b/shared/signaling/release-notes/web.mdx @@ -1,56 +1,5 @@ -## v2.1.4 - -v2.1.4 was released on September 8, 2023 - -#### Compatibility changes - -This release changes the writing style of event listeners. After upgrading, you need to modify your implementation code as follows: - -- Before v2.1.4: - - ```javascript - rtmClient.addEventListener({ - message: msgEvent => { - // Message event notification processing logic - }, - - presence: presenceEvent => { - // Presence event notification processing logic - }, - - // Add other event listeners - }); - ``` - -- Since v2.1.4: - - ```javascript - rtmClient.addEventListener('message', msgEvent => { - // Message event notification processing logic - }); - - rtmClient.addEventListener('presence', presenceEvent => { - // Presence event notification processing logic - }); - - // Add other event listeners - ``` - -#### Improvements - -This release reduces the response time of the `logout` method. - - -#### Issues fixed - -This release fixes the following issues: - -- The SDK version information was lost in the log file. -- The `userId` property of the `GetStateResponse` data type was null. -- After calling the `removeState` method, the SDK returned the `RemoveStateResponse` data type before the removing operation. - ## v2.1.3 v2.1.3 was released on July 12, 2023.