Skip to content

Commit

Permalink
Revert "release notes 2.1.4"
Browse files Browse the repository at this point in the history
This reverts commit 4d78ac8.
  • Loading branch information
Kishan-Dhakan committed Oct 16, 2023
1 parent 0244f31 commit 76f46d3
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions shared/signaling/release-notes/web.mdx
Original file line number Diff line number Diff line change
@@ -1,56 +1,5 @@
<PlatformWrapper platform="web">

## 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.
Expand Down

0 comments on commit 76f46d3

Please sign in to comment.