Skip to content

Commit dcdee01

Browse files
docs: added stream-chat dependency change in upgrade helper
1 parent 781a169 commit dcdee01

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docusaurus/docs/reactnative/basics/upgrade_helper.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,15 +203,18 @@ prop as mentioned in [example](../guides/message_actions_customization.mdx#how-t
203203

204204
## Update The Dependencies
205205

206-
Since v4, peer dependency `react-native-blur` has been removed from the SDK. Blur background of overlay has been
207-
replaced with opacity based background instead. So unless this dependency is used explicitely within application, it
208-
can be safely removed.
206+
- Since v4, peer dependency `react-native-blur` has been removed from the SDK. Blur background of overlay has been
207+
replaced with opacity based background instead. So unless this dependency is used explicitely within application, it
208+
can be safely removed.
209209

210210
```sh
211211
yarn remove react-native-blur
212212
npx pod-install
213213
```
214214

215+
- Minimum required version of `stream-chat` is 6.0.0. So if you have installed `stream-chat` dependency explicitely,
216+
please make sure to upgrade it to [`v6.0.0`](https://github.com/GetStream/stream-chat-js/releases/tag/v6.0.0)
217+
215218
## Refactor Typescript Generics
216219

217220
Until now StreamChat client and Chat components accepted 7 different generics as provided in following example:
@@ -236,7 +239,6 @@ const client = StreamChat.getInstance<StreamChatGenerics>('YOUR_API_KEY');
236239

237240
Please refer to our typescript guide for details of [Generics](../customization/typescript.mdx#generics).
238241

239-
240242
## Whats new in v4?
241243

242244
### Optimized Image Attachments

0 commit comments

Comments
 (0)