Skip to content

Commit 6256d23

Browse files
Updating changelog for v3 release
1 parent 61cd081 commit 6256d23

File tree

1 file changed

+38
-6
lines changed

1 file changed

+38
-6
lines changed

CHANGELOG.md

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,38 @@
11
# Changelog
22

3-
## [3.0.0-beta.2]
3+
## [3.0.0] (2021-02-23) 🎉
44

55
Version 3.x is a major revamp of the SDK and comes with **many breaking changes**. The new implementation takes advantage of React Context along with many popular community libraries such as Reanimated V2 to deliver a superior chat experience. **Upgrading will require re-implementing** your integration but will yield performance and functional benefits. It is highly recommended you read the Cookbook and examine the SampleApp / TypeScriptMessaging apps before upgrading to understand what is required.
66

7-
**NOTE:** As of release expo is on version 40 which uses a version of React Native with a bug in the Dimensions API that occurs upon reloading an app in the simulator. Version 3.x uses relative sizing widely and depends on this API so issues will be visible in Expo until they update the custom React Native version they ship.
7+
### New features
8+
9+
- Modern UX around reaction picker functionality, similar to iMessage
10+
- Inline replies
11+
- "Also send to channel" option on Threads
12+
- In app attachment picker
13+
- Improved avatars for grouped channels.
14+
- Rich image viewers with options to share the image outside the app, or view the image in gallery view.
15+
- "Copy Message" action as part of message actions.
16+
17+
### Improvements
18+
19+
- In previous versions, we did a lot of prop drilling throughout component trees, which makes it quite hard for end user to decide exactly where to set a particular prop. We have tried to centralize component customization on following three higher order components:
20+
21+
- OverlayProvider
22+
- ChannelList
23+
- Channel
24+
25+
We have prepared a visual guide to help you with component customizations - [Guide](https://github.com/GetStream/stream-chat-react-native/wiki/Cookbook-v3.0#custom-components)
26+
27+
- In v2.x.x, we decided to move away from class based components, towards functional components along with react hooks. React hooks are definitely a big addition to react eco-system, but when not careful it has potential to hammer the performance. We have handled all these issues as part of v3.0.0 using careful revamp around all the contexts and memoizations, which improves the app performance by a great margin.
28+
29+
- We have decided to abondon styled-components, are decided to have our own implementation
30+
31+
- Removed dot notation for theming applications
32+
- Removed css string notation for styles on theme
33+
- Added displayName to components with bracket notation denoting the theme path e.g. `MessageStatus.displayName = 'MessageStatus{message{status}}';` indicates the theme path would be modified via `const customTheme: DeepPartial<Theme> = { message: { status: { ...customizations } } }`. Please check our [theme docs](https://github.com/GetStream/stream-chat-react-native/wiki/Cookbook-v3.0#theme) for more details.
34+
35+
### Dependency changes:
836

937
- Added peer dependencies for:
1038
- BlurView using one of these
@@ -30,14 +58,18 @@ Version 3.x is a major revamp of the SDK and comes with **many breaking changes*
3058
- [react-native-get-random-values](https://github.com/LinusU/react-native-get-random-values)
3159

3260
- Removed seamless-immutable
33-
3461
- Removed styled-components:
35-
- Removed dot notation for theming applications
36-
- Removed css string notation for styles on theme
37-
- Added displayName to components with bracket notation denoting the theme path e.g. `MessageStatus.displayName = 'MessageStatus{message{status}}';` indicates the theme path would be modified via `const customTheme: DeepPartial<Theme> = { message: { status: { ...customizations } } }`.
3862

3963
Please find detailed docs about this release in our [wiki](https://github.com/GetStream/stream-chat-react-native/wiki#v300)
4064

65+
66+
### Note for Expo
67+
68+
- As of this release, expo is on version 40 which uses a version of React Native with a bug in the Dimensions API that occurs upon reloading an app in the simulator. Version 3.x uses relative sizing widely and depends on this API so issues will be visible in Expo until they update the custom React Native version they ship.
69+
70+
- [Android] As part of this release, we implemented a new feature - inline replies, similar to whatsapp. Bi-directional scrolling/pagination was necessary for this feature. To keep smooth scrolling experience, we implemented our [own solution](https://github.com/GetStream/flat-list-mvcp#maintainvisiblecontentposition-prop-support-for-android-react-native) for react-native. Although, Expo being close-source project, we can't do any such thing for Expo. So inline reply feature is not recommended to use in Expo, since you will not have a good scroll experience on Android, while scrolling down in message list.
71+
72+
4173
## [2.2.2] 2021-02-07
4274

4375
Handling the case of standlone Channel component (without ChannelList) on top of fix in [v2.2.1](https://github.com/GetStream/stream-chat-react-native/releases/tag/v2.2.1) - [ba7d744](https://github.com/GetStream/stream-chat-react-native/commit/ba7d744dcdf76e16bcee29a9daa6f8879ef0ec79)

0 commit comments

Comments
 (0)