|
1 | 1 | # Changelog - v3
|
2 | 2 |
|
| 3 | +## [v3.4.7] (May 4 2023) |
| 4 | + |
| 5 | +Important Notes: |
| 6 | +* @sendbird/chat@4.8.0 has an issue with `abortcontroller-polyfill` plugin. Please use version 4.7.2 or install it separately. |
| 7 | + |
| 8 | +Features: |
| 9 | +* Set Chat SDK v4.3.0 as the minimum required version. |
| 10 | +* Add a new UI component, Toggle: |
| 11 | + * `ToggleContainer`: A context provider component that manages only the toggle status. |
| 12 | + * `ToggleUI`: A UI component that does not include the status managing logic. |
| 13 | + * `Toggle`: A combination of ToggleContainer and ToggleUI components. |
| 14 | + * `useToggleContext`: A custom useContext hook that provides context from ToggleContainer. |
| 15 | + ```javascript |
| 16 | + import { Toggle, ToggleContainer, ToggleUI, useToggleContext } from '@sendbird/ui/Toggle'; |
| 17 | + ``` |
| 18 | + |
| 19 | +Fixes: |
| 20 | +* Apply `isMuted` to the participant list. Operators can now unmute the muted participants from the participant list. |
| 21 | +* Update the max mention count notice message. |
| 22 | +* Modify the URL Regex to filter various types of formats. |
| 23 | +* Give a left margin to the link text inside the message. |
| 24 | +* Move the message list scroll after the OG image is loaded. |
| 25 | +* Specify that getSdk returns SendbirdGroupChannel or SendbirdOpenChannel. |
| 26 | +* Fix the issue where the current channel flickers on the ChannelList while creating a new group channel. |
| 27 | + |
| 28 | +Chores: |
| 29 | +* Rewrite the connection logic in sdk/thunks to hooks/useConnect |
| 30 | + ``` |
| 31 | + const reconnect = useConnect({ |
| 32 | + appId, |
| 33 | + userId, |
| 34 | + accessToken, |
| 35 | + }, { |
| 36 | + logger, |
| 37 | + nickname, |
| 38 | + profileUrl, |
| 39 | + configureSession, |
| 40 | + customApiHost, |
| 41 | + customWebSocketHost, |
| 42 | + sdk: sdkStore?.sdk, |
| 43 | + sdkDispatcher, |
| 44 | + userDispatcher, |
| 45 | + }); |
| 46 | + ``` |
| 47 | +* Rename `smart-components/` to `modules/`. |
| 48 | +* Modify Logger method: |
| 49 | + * The first parameter (log message) of the method is now required. |
| 50 | + * Any other values can be passed to the second parameter of the method in a key-value format. |
| 51 | + |
3 | 52 | ## [v3.4.6] (Apr 21 2023)
|
4 | 53 |
|
5 | 54 | Fixes:
|
|
0 commit comments