Commit c353f2b
authored
Prepare release 3.4.7 (#519)
## [v3.4.7] (May 4 2023)
Features:
* Set Chat SDK v4.3.0 as the minimum required version.
* Add a new UI component, Toggle:
* `ToggleContainer`: A context provider component that manages only the
toggle status.
* `ToggleUI`: A UI component that does not include the status managing
logic.
* `Toggle`: A combination of ToggleContainer and ToggleUI components.
* `useToggleContext`: A custom useContext hook that provides context
from ToggleContainer.
```javascript
import { Toggle, ToggleContainer, ToggleUI, useToggleContext } from
'@sendbird/ui/Toggle';
```
Fixes:
* Apply `isMuted` to the participant list. Operators can now unmute the
muted participants from the participant list.
* Update the max mention count notice message.
* Modify the URL Regex to filter various types of formats.
* Give a left margin to the link text inside the message.
* Move the message list scroll after the OG image is loaded.
Chores:
* Rewrite the connection logic in sdk/thunks to hooks/useConnect
```
const reconnect = useConnect({
appId,
userId,
accessToken,
}, {
logger,
nickname,
profileUrl,
configureSession,
customApiHost,
customWebSocketHost,
sdk: sdkStore?.sdk,
sdkDispatcher,
userDispatcher,
});
```
* Rename `smart-components/` to `modules/`.
* Modify Logger method:
* The first parameter (log message) of the method is now required.
* Any other values can be passed to the second parameter of the method
in a key-value format.
[SDKRLSD-798](https://sendbird.atlassian.net/browse/SDKRLSD-798)1 parent aea97eb commit c353f2b
3 files changed
+7919
-7780
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
3 | 52 | | |
4 | 53 | | |
5 | 54 | | |
| |||
0 commit comments