Commit f6e35b9
authored
v3.12.0 (#978)
## [v3.12.0] (Feb 16, 2024)
### Features:
* Local cache is enabled by default
* If desired, it can be disabled using sdkInitParams
```tsx
import SendbirdProvider from '@sendbird/uikit-react/SendbirdProvider';
const App = () => (
<SendbirdProvider
// ...
sdkInitParams={{ localCacheEnabled: false }}
/>
)
```
* Added `GroupChannel` and `GroupChannelList` modules.
* With the introduction of `GroupChannel` and `GroupChannelList`, a new
local caching feature has been added, allowing you to experience a more
efficient chat environment.
We provide a massive component called `App` that combines all the
features. From now on, this component will use `GroupChannel` and
`GroupChannelList` instead of `Channel` and `ChannelList`.
If you wish to continue using `Channel` and `ChannelList`, you can use
`enableLegacyChannelModules` to ensure the previous components are still
available for use.
```tsx
import SendbirdApp from '@sendbird/uikit-react/App';
const App = () => (
<SendbirdApp
// ...
enableLegacyChannelModules
/>
);
```
* You can find detailed changes, usage instructions, and migration
methods in the document here: [Migration
Guide](https://github.com/sendbird/sendbird-uikit-react/blob/main/MIGRATION_COLLECTION.md)
### Fixes:
* Fixed a bug where the session refresh failed when the `accessToken`
was changed
[#969](#969)
* Fixed a bug causing infinite loading when the channel is not selected
in the Channel module
[#970](#970)
* Fixed a bug where the mention feature was not functioning properly
[#971](#971)
* Fixed a bug where URLs with numbered top-level domains were treated as
links [#972](#972)
* Fixed a bug where message scroll delays were inconsistently applied
[#975](#975)
* Fixed a bug where `isUserIdUsedForNickname` was not functioning
properly
[#976](#976)
* Optimized the rendering of `SendbirdProvider`
* Optimized the SDK initialization logic for StrictMode1 parent 19b8731 commit f6e35b9
File tree
22 files changed
+3584
-2402
lines changed- samples
- groupchannel
- src
- router
- src
- DesktopLayout
- MobileLayout
- typescript_sample
- src
- src
- hooks/VoiceRecorder
- lib
- hooks/useConnect
- utils
- ui
- Label
- UserListItem
22 files changed
+3584
-2402
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 | + | |
3 | 45 | | |
4 | 46 | | |
5 | 47 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments