Skip to content

Commit c353f2b

Browse files
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

File tree

3 files changed

+7919
-7780
lines changed

3 files changed

+7919
-7780
lines changed

CHANGELOG.md

+49
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,54 @@
11
# Changelog - v3
22

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+
352
## [v3.4.6] (Apr 21 2023)
453

554
Fixes:

0 commit comments

Comments
 (0)