Skip to content

Commit 80b5f7f

Browse files
committed
Merge branch 'develop' into feat/reactive-channel-list-poc
2 parents 2407b9c + 9cf1bab commit 80b5f7f

File tree

28 files changed

+589
-384
lines changed

28 files changed

+589
-384
lines changed

examples/SampleApp/CHANGELOG.md

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

3+
## [2.3.0](https://github.com/GetStream/stream-chat-react-native/compare/[email protected]@v2.3.0) (2025-01-29)
4+
5+
6+
### Features
7+
8+
* channel pinning and archiving ([#2866](https://github.com/GetStream/stream-chat-react-native/issues/2866)) ([9cf8832](https://github.com/GetStream/stream-chat-react-native/commit/9cf88327eb7274af1f0e5a11f3f06f02c9efb33c))
9+
10+
11+
### Bug Fixes
12+
13+
* archive icon name and export, swipeable usage in sample app ([#2913](https://github.com/GetStream/stream-chat-react-native/issues/2913)) ([6657138](https://github.com/GetStream/stream-chat-react-native/commit/66571384668fb9921b51ac1b8948b1f0cad1910e))
14+
315
## [2.2.0](https://github.com/GetStream/stream-chat-react-native/compare/[email protected]@v2.2.0) (2025-01-27)
416

517

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.2.0",
3+
"version": "2.3.0",
44
"private": true,
55
"repository": {
66
"type": "git",

examples/SampleApp/src/ChatUsers.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import { UserResponse } from 'stream-chat';
22
import { StreamChatGenerics } from './types';
33

44
export const USER_TOKENS: Record<string, string> = {
5-
luke_skywalker:
6-
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoibHVrZV9za3l3YWxrZXIifQ.kFSLHRB5X62t0Zlc7nwczWUfsQMwfkpylC6jCUZ6Mc0',
75
e2etest1:
86
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiZTJldGVzdDEifQ.XlQOw8nl7fFzHoBkEiTcYGkNo5r7EBYA40LABGOk4hc',
97
e2etest2:
@@ -30,9 +28,6 @@ export const USER_TOKENS: Record<string, string> = {
3028
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoicm9kb2xwaGUifQ.tLl-I8ADBhTKB-x5FB9jK4-am0dELLXgydM6VN9rTL8',
3129
};
3230
export const USERS: Record<string, UserResponse<StreamChatGenerics>> = {
33-
luke_skywalker: {
34-
id: 'luke_skywalker',
35-
},
3631
neil: {
3732
id: 'neil',
3833
image: 'https://ca.slack-edge.com/T02RM6X6B-U01173D1D5J-0dead6eea6ea-512',

examples/SampleApp/src/components/ChannelInfoOverlay.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import {
3333
import { useAppOverlayContext } from '../context/AppOverlayContext';
3434
import { useBottomSheetOverlayContext } from '../context/BottomSheetOverlayContext';
3535
import { useChannelInfoOverlayContext } from '../context/ChannelInfoOverlayContext';
36-
import { Archieve } from '../icons/Archieve';
36+
import { Archive } from '../icons/Archive';
3737
import { Pin } from '../icons/Pin';
3838

3939
dayjs.extend(relativeTime);
@@ -422,10 +422,10 @@ export const ChannelInfoOverlay = (props: ChannelInfoOverlayProps) => {
422422
]}
423423
>
424424
<View style={styles.rowInner}>
425-
<Archieve height={24} width={24} />
425+
<Archive height={24} width={24} />
426426
</View>
427427
<Text style={[styles.rowText, { color: black }]}>
428-
{membership?.archived_at ? 'Unarchieve' : 'Archieve'}
428+
{membership?.archived_at ? 'Unarchive' : 'Archive'}
429429
</Text>
430430
</View>
431431
</TapGestureHandler>

examples/SampleApp/src/components/ChannelPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { StyleSheet, View } from 'react-native';
33
import { useNavigation } from '@react-navigation/native';
44
import { RectButton } from 'react-native-gesture-handler';
5-
import Swipeable from 'react-native-gesture-handler/ReanimatedSwipeable';
5+
import Swipeable from 'react-native-gesture-handler/Swipeable';
66
import {
77
ChannelPreviewMessenger,
88
ChannelPreviewMessengerProps,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useTheme } from 'stream-chat-react-native';
44

55
import { IconProps } from '../utils/base';
66

7-
export const Archieve: React.FC<IconProps> = ({ height = 512, width = 512 }) => {
7+
export const Archive: React.FC<IconProps> = ({ height = 512, width = 512 }) => {
88
const {
99
theme: {
1010
colors: { grey },

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.4.0](https://github.com/GetStream/stream-chat-react-native/compare/v6.3.1...v6.4.0) (2025-01-29)
4+
5+
6+
### Features
7+
8+
* channel pinning and archiving ([#2866](https://github.com/GetStream/stream-chat-react-native/issues/2866)) ([9cf8832](https://github.com/GetStream/stream-chat-react-native/commit/9cf88327eb7274af1f0e5a11f3f06f02c9efb33c))
9+
10+
11+
### Bug Fixes
12+
13+
* add thumbnail info on gallery press handlers ([#2911](https://github.com/GetStream/stream-chat-react-native/issues/2911)) ([059a420](https://github.com/GetStream/stream-chat-react-native/commit/059a42039daca87ea9fedc1b00a0364480b9d21d))
14+
* archive icon name and export, swipeable usage in sample app ([#2913](https://github.com/GetStream/stream-chat-react-native/issues/2913)) ([6657138](https://github.com/GetStream/stream-chat-react-native/commit/66571384668fb9921b51ac1b8948b1f0cad1910e))
15+
* audio attachment reset to 0 issue and refinements ([#2903](https://github.com/GetStream/stream-chat-react-native/issues/2903)) ([c649714](https://github.com/GetStream/stream-chat-react-native/commit/c6497145bea4afaa508706bf75adfd6d4d68fe5d))
16+
317
### [6.3.1](https://github.com/GetStream/stream-chat-react-native/compare/v6.3.0...v6.3.1) (2025-01-28)
418

519

package/expo-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-expo",
33
"description": "The official Expo SDK for Stream Chat, a service for building chat applications",
4-
"version": "6.3.1",
4+
"version": "6.4.0",
55
"author": {
66
"company": "Stream.io Inc",
77
"name": "Stream.io Inc"
@@ -10,7 +10,7 @@
1010
"main": "src/index.js",
1111
"types": "types/index.d.ts",
1212
"dependencies": {
13-
"stream-chat-react-native-core": "6.3.1"
13+
"stream-chat-react-native-core": "6.4.0"
1414
},
1515
"peerDependencies": {
1616
"expo": ">=51.0.0",

package/expo-package/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5113,10 +5113,10 @@ [email protected], stream-buffers@~2.2.0:
51135113
resolved "https://registry.yarnpkg.com/stream-buffers/-/stream-buffers-2.2.0.tgz#91d5f5130d1cef96dcfa7f726945188741d09ee4"
51145114
integrity sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==
51155115

5116-
5117-
version "6.3.0"
5118-
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-6.3.0.tgz#08ec225e89c04b6306e0c8e4d9bffeca2791ade1"
5119-
integrity sha512-8WjfRE4GLr5Y6iU21mFw26KyA0edyGbjkZUuVjjdJnQ0HHdVulFLL0bEp1aRH4/VgEdw6Vz7/e7D8i9IMfm3UA==
5116+
5117+
version "6.3.1"
5118+
resolved "https://registry.yarnpkg.com/stream-chat-react-native-core/-/stream-chat-react-native-core-6.3.1.tgz#fa173c92bc11538e729978e223fd14db39c7ae75"
5119+
integrity sha512-ec1ySYZS7m0ncQ0zw+B2fw2+eMf4+8xpf9ynrmOoeLh54EmHYyhH3BK6roEXnMDGwI4U60iI2yolotY3E/xtNA==
51205120
dependencies:
51215121
"@gorhom/bottom-sheet" "^5.0.6"
51225122
dayjs "1.10.5"

package/native-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",
33
"description": "The official React Native SDK for Stream Chat, a service for building chat applications",
4-
"version": "6.3.1",
4+
"version": "6.4.0",
55
"homepage": "https://www.npmjs.com/package/stream-chat-react-native",
66
"author": {
77
"company": "Stream.io Inc",
@@ -20,7 +20,7 @@
2020
"types": "types/index.d.ts",
2121
"dependencies": {
2222
"es6-symbol": "^3.1.3",
23-
"stream-chat-react-native-core": "6.3.1"
23+
"stream-chat-react-native-core": "6.4.0"
2424
},
2525
"peerDependencies": {
2626
"@react-native-camera-roll/camera-roll": ">=7.8.0",

0 commit comments

Comments
 (0)