Skip to content

Commit 96e9401

Browse files
committed
fix: resolve conflicts from V7 branch
2 parents 4ad47a1 + 9375fa4 commit 96e9401

File tree

24 files changed

+1005
-813
lines changed

24 files changed

+1005
-813
lines changed

examples/SampleApp/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
### [2.5.2](https://github.com/GetStream/stream-chat-react-native/compare/[email protected]@v2.5.2) (2025-04-22)
4+
5+
6+
### Performance Improvements
7+
8+
* message list performance ([#3060](https://github.com/GetStream/stream-chat-react-native/issues/3060)) ([8b2d7e3](https://github.com/GetStream/stream-chat-react-native/commit/8b2d7e31e57acd497726876b56b4350065bb3c2d))
9+
310
### [2.5.1](https://github.com/GetStream/stream-chat-react-native/compare/[email protected]@v2.5.1) (2025-03-13)
411

512

examples/SampleApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sampleapp",
3-
"version": "2.5.1",
3+
"version": "2.5.2",
44
"private": true,
55
"repository": {
66
"type": "git",

examples/SampleApp/src/screens/ChannelScreen.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useEffect, useState } from 'react';
1+
import React, { useCallback, useEffect, useState } from 'react';
22
import type { Channel as StreamChatChannel } from 'stream-chat';
33
import { RouteProp, useFocusEffect, useNavigation } from '@react-navigation/native';
44
import {
@@ -142,6 +142,14 @@ export const ChannelScreen: React.FC<ChannelScreenProps> = ({
142142
setSelectedThread(undefined);
143143
});
144144

145+
const onThreadSelect = useCallback((thread) => {
146+
setSelectedThread(thread);
147+
navigation.navigate('ThreadScreen', {
148+
channel,
149+
thread,
150+
});
151+
}, [channel, navigation]);
152+
145153
if (!channel || !chatClient) {
146154
return null;
147155
}
@@ -161,13 +169,7 @@ export const ChannelScreen: React.FC<ChannelScreenProps> = ({
161169
>
162170
<ChannelHeader channel={channel} />
163171
<MessageList
164-
onThreadSelect={(thread) => {
165-
setSelectedThread(thread);
166-
navigation.navigate('ThreadScreen', {
167-
channel,
168-
thread,
169-
});
170-
}}
172+
onThreadSelect={onThreadSelect}
171173
/>
172174
<AITypingIndicatorView channel={channel} />
173175
<MessageInput />

package/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Change Log
22

3+
### [6.7.3](https://github.com/GetStream/stream-chat-react-native/compare/v6.7.2...v6.7.3) (2025-04-22)
4+
5+
6+
### Bug Fixes
7+
8+
* audio distortion on audio rate change ([#3056](https://github.com/GetStream/stream-chat-react-native/issues/3056)) ([2c84e8d](https://github.com/GetStream/stream-chat-react-native/commit/2c84e8d16e921487f3f44f26ffb845e3cdeea606))
9+
10+
11+
### Performance Improvements
12+
13+
* channel state updates ([#3055](https://github.com/GetStream/stream-chat-react-native/issues/3055)) ([6cca07d](https://github.com/GetStream/stream-chat-react-native/commit/6cca07d31dd44a3c8bfaa34a6af4231740a479bd))
14+
* message list and input perf fixes ([#3051](https://github.com/GetStream/stream-chat-react-native/issues/3051)) ([e787038](https://github.com/GetStream/stream-chat-react-native/commit/e787038f0b1420fcb5f7055ab005316c427ae2ce))
15+
* message list performance ([#3060](https://github.com/GetStream/stream-chat-react-native/issues/3060)) ([8b2d7e3](https://github.com/GetStream/stream-chat-react-native/commit/8b2d7e31e57acd497726876b56b4350065bb3c2d))
16+
317
### [6.7.2](https://github.com/GetStream/stream-chat-react-native/compare/v6.7.1...v6.7.2) (2025-04-09)
418

519

package/expo-package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "stream-chat-expo",
33
"description": "The official Expo SDK for Stream Chat, a service for building chat applications",
4-
"version": "6.7.2",
4+
"version": "6.7.3",
55
"author": {
66
"company": "Stream.io Inc",
77
"name": "Stream.io Inc"

package/expo-package/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4782,9 +4782,9 @@ [email protected], stream-buffers@~2.2.0:
47824782
version "0.0.0"
47834783
uid ""
47844784

4785-
"stream-chat@https://github.com/GetStream/stream-chat-js.git#6d936386dbf69e33b8e146e5e48c20a74482eb50":
4785+
"stream-chat@https://github.com/GetStream/stream-chat-js.git#4ff638045e434cc091a1200ecff4749b428d6936":
47864786
version "0.0.0-development"
4787-
resolved "https://github.com/GetStream/stream-chat-js.git#6d936386dbf69e33b8e146e5e48c20a74482eb50"
4787+
resolved "https://github.com/GetStream/stream-chat-js.git#4ff638045e434cc091a1200ecff4749b428d6936"
47884788
dependencies:
47894789
"@types/jsonwebtoken" "^9.0.8"
47904790
"@types/ws" "^8.5.14"

package/native-package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "stream-chat-react-native",
33
"description": "The official React Native SDK for Stream Chat, a service for building chat applications",
4-
"version": "6.7.2",
4+
"version": "6.7.3",
55
"homepage": "https://www.npmjs.com/package/stream-chat-react-native",
66
"author": {
77
"company": "Stream.io Inc",

package/native-package/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3498,9 +3498,9 @@ statuses@~1.5.0:
34983498
version "0.0.0"
34993499
uid ""
35003500

3501-
"stream-chat@https://github.com/GetStream/stream-chat-js.git#6d936386dbf69e33b8e146e5e48c20a74482eb50":
3501+
"stream-chat@https://github.com/GetStream/stream-chat-js.git#4ff638045e434cc091a1200ecff4749b428d6936":
35023502
version "0.0.0-development"
3503-
resolved "https://github.com/GetStream/stream-chat-js.git#6d936386dbf69e33b8e146e5e48c20a74482eb50"
3503+
resolved "https://github.com/GetStream/stream-chat-js.git#4ff638045e434cc091a1200ecff4749b428d6936"
35043504
dependencies:
35053505
"@types/jsonwebtoken" "^9.0.8"
35063506
"@types/ws" "^8.5.14"

package/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "stream-chat-react-native-core",
33
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
4-
"version": "6.7.2",
4+
"version": "6.7.3",
55
"author": {
66
"company": "Stream.io Inc",
77
"name": "Stream.io Inc"
@@ -77,7 +77,7 @@
7777
"path": "0.12.7",
7878
"react-native-markdown-package": "1.8.2",
7979
"react-native-url-polyfill": "^1.3.0",
80-
"stream-chat": "https://github.com/GetStream/stream-chat-js.git#6d936386dbf69e33b8e146e5e48c20a74482eb50",
80+
"stream-chat": "https://github.com/GetStream/stream-chat-js.git#4ff638045e434cc091a1200ecff4749b428d6936",
8181
"use-sync-external-store": "^1.4.0"
8282
},
8383
"peerDependencies": {

package/src/components/Attachment/AudioAttachment.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ export const AudioAttachment = (props: AudioAttachmentProps) => {
184184
soundRef.current = await NativeHandlers.Sound.initializeSound(
185185
{ uri: item.file.uri },
186186
{
187+
pitchCorrectionQuality: 'high',
187188
progressUpdateIntervalMillis: 100,
189+
shouldCorrectPitch: true,
188190
},
189191
onPlaybackStatusUpdate,
190192
);

0 commit comments

Comments
 (0)