Skip to content

Commit b5ed71a

Browse files
authored
Merge pull request #3582 from GetStream/develop
Next Release
2 parents cca74a2 + f61374f commit b5ed71a

22 files changed

Lines changed: 474 additions & 53 deletions

.github/workflows/changelog-preview.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ jobs:
1414
node-version: [ 24.x ]
1515
steps:
1616
- name: Use Node.js ${{ matrix.node-version }}
17-
uses: actions/setup-node@v4
17+
uses: actions/setup-node@v6
1818
with:
1919
node-version: ${{ matrix.node-version }}
2020
- name: Install Linux build tools
2121
run: sudo apt-get update && sudo apt-get install -y build-essential
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v6
2323
with:
2424
ref: develop
2525
# pulls all commits (needed for semantic release to correctly version)
2626
fetch-depth: '0'
2727
# pulls all tags (needed for semantic release to correctly version)
2828
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
2929
- name: Use Node.js ${{ matrix.node-version }}
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@v6
3131
with:
3232
node-version: ${{ matrix.node-version }}
3333
registry-url: 'https://registry.npmjs.org'
@@ -62,12 +62,12 @@ jobs:
6262
echo "::set-output name=exists::true"
6363
echo "::set-output name=preview::$CHANGELOG_PREVIEW_ESCAPED"
6464
fi
65-
- uses: marocchino/sticky-pull-request-comment@v2
65+
- uses: marocchino/sticky-pull-request-comment@v3
6666
if: steps.generate_changelog.outputs.exists == 'true'
6767
with:
6868
header: changelog_preview
6969
message: ${{ steps.generate_changelog.outputs.preview }}
70-
- uses: marocchino/sticky-pull-request-comment@v2
70+
- uses: marocchino/sticky-pull-request-comment@v3
7171
if: steps.generate_changelog.outputs.exists != 'true'
7272
with:
7373
header: changelog_preview

.github/workflows/check-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
matrix:
1616
node-version: [24.x]
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v6
1919
with:
2020
# Disabling shallow clone is recommended for improving relevancy of reporting
2121
fetch-depth: 0
2222
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v4
23+
uses: actions/setup-node@v6
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626
- name: Install Linux build tools

.github/workflows/lint-pr-title.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,22 @@ on:
1010
jobs:
1111
lint_pr_title:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
pull-requests: read
1315
steps:
14-
- uses: deepakputhraya/action-pr-title@v1.0.2
16+
- uses: amannn/action-semantic-pull-request@v6
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1519
with:
16-
regex: '^(\w*)(?:\((.*)\))?: (.*)$'
20+
types: |
21+
feat
22+
fix
23+
docs
24+
refactor
25+
chore
26+
test
27+
perf
28+
ci
29+
build
30+
style
31+
revert

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
node-version: [24.x]
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v6
2323
with:
2424
fetch-depth: '0'
2525

2626
- name: Fetch tags
2727
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
2828

2929
- name: Use Node.js ${{ matrix.node-version }}
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@v6
3131
with:
3232
node-version: ${{ matrix.node-version }}
3333
registry-url: 'https://registry.npmjs.org'

.github/workflows/sample-distribution.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ jobs:
2020
node-version: [24.x]
2121
steps:
2222
- name: Connect Bot
23-
uses: webfactory/ssh-agent@v0.7.0
23+
uses: webfactory/ssh-agent@v0.10.0
2424
with:
2525
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
2626
- name: Use Node.js ${{ matrix.node-version }}
27-
uses: actions/setup-node@v4
27+
uses: actions/setup-node@v6
2828
with:
2929
node-version: ${{ matrix.node-version }}
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v6
3131
- uses: maxim-lobanov/setup-xcode@v1
3232
with:
3333
xcode-version: '26.2' # Update as needed
3434
- uses: ./.github/actions/ruby-cache
3535
- name: Install && Build - SDK and Sample App
3636
uses: ./.github/actions/install-and-build-sdk
3737
- name: Cache iOS pods
38-
uses: actions/cache@v4
38+
uses: actions/cache@v5
3939
with:
4040
path: examples/SampleApp/ios/Pods
4141
key: ${{ runner.os }}-pods-${{ hashFiles('examples/SampleApp/ios/Podfile.lock') }}
@@ -65,13 +65,13 @@ jobs:
6565
node-version: [24.x]
6666
steps:
6767
- name: Use Node.js ${{ matrix.node-version }}
68-
uses: actions/setup-node@v4
68+
uses: actions/setup-node@v6
6969
with:
7070
node-version: ${{ matrix.node-version }}
71-
- uses: actions/checkout@v2
71+
- uses: actions/checkout@v6
7272
- name: Install Linux build tools
7373
run: sudo apt-get update && sudo apt-get install -y build-essential
74-
- uses: actions/setup-java@v3
74+
- uses: actions/setup-java@v5
7575
with:
7676
distribution: 'zulu'
7777
java-version: '17'

.github/workflows/sdk-size-metrics.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Connect Bot
22-
uses: webfactory/ssh-agent@v0.7.0
22+
uses: webfactory/ssh-agent@v0.10.0
2323
with:
2424
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
2525

26-
- uses: actions/checkout@v3.1.0
26+
- uses: actions/checkout@v6
2727

2828
- uses: ./.github/actions/ruby-cache
2929

30-
- uses: actions/setup-node@v4
30+
- uses: actions/setup-node@v6
3131
with:
3232
node-version: 24.x
3333
cache: 'yarn'

examples/SampleApp/src/screens/ThreadScreen.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ export const ThreadScreen: React.FC<ThreadScreenProps> = ({
150150
<Channel
151151
audioRecordingEnabled={true}
152152
channel={channel}
153-
enforceUniqueReaction
154153
keyboardVerticalOffset={0}
155154
messageActions={messageActions}
156155
messageInputFloating={messageInputFloating}

examples/SampleApp/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8291,10 +8291,10 @@ stream-chat-react-native-core@8.1.0:
82918291
version "0.0.0"
82928292
uid ""
82938293

8294-
stream-chat@^9.42.1:
8295-
version "9.42.1"
8296-
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-9.42.1.tgz#8b6aa4e3e73a39ed07bb2a4f2a6829ba9354567a"
8297-
integrity sha512-o+9wQO4Ruu1A48T0IrX9ZH8+9F5xPgGLPvflaswaPeLyIZXcy8bsQdcT/HSrPmT7gs0WGD3qcbXaAJU5lMQezQ==
8294+
stream-chat@^9.43.0:
8295+
version "9.43.0"
8296+
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-9.43.0.tgz#216a80abadea83dcee6fb339b76035b26af2beb5"
8297+
integrity sha512-gc12LZTmRWvSi6EjnMK7Y+D8xOQIouVUO2flUShazG/NqVccJhXYphQ96PzK7Wym+5wwwitTaJqq0m/1VUPBCA==
82988298
dependencies:
82998299
"@types/jsonwebtoken" "^9.0.8"
83008300
"@types/ws" "^8.5.14"

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"path": "0.12.7",
8484
"react-native-markdown-package": "1.8.2",
8585
"react-native-url-polyfill": "^2.0.0",
86-
"stream-chat": "^9.42.1",
86+
"stream-chat": "^9.43.0",
8787
"use-sync-external-store": "^1.5.0"
8888
},
8989
"peerDependencies": {

package/src/components/AttachmentPicker/components/AttachmentPickerContent.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,13 @@ export const AttachmentCommandNativePickerItem = ({ item }: { item: CommandSugge
5858
const { close } = useBottomSheetContext();
5959

6060
const handlePress = useCallback(() => {
61+
if (messageComposer.isCommandDisabled(item)) {
62+
return;
63+
}
64+
6165
textComposer.setCommand(item);
6266
close(() => inputBoxRef.current?.focus());
63-
}, [textComposer, item, close, inputBoxRef]);
67+
}, [messageComposer, item, textComposer, close, inputBoxRef]);
6468

6569
return <AttachmentCommandPickerItemUI item={item} onPress={handlePress} />;
6670
};
@@ -73,9 +77,13 @@ export const AttachmentCommandPickerItem = ({ item }: { item: CommandSuggestion
7377
const { inputBoxRef } = useMessageInputContext();
7478

7579
const handlePress = useCallback(() => {
80+
if (messageComposer.isCommandDisabled(item)) {
81+
return;
82+
}
83+
7684
textComposer.setCommand(item);
7785
inputBoxRef.current?.focus();
78-
}, [textComposer, item, inputBoxRef]);
86+
}, [messageComposer, item, textComposer, inputBoxRef]);
7987

8088
if (disableAttachmentPicker) {
8189
return <AttachmentCommandNativePickerItem item={item} />;

0 commit comments

Comments
 (0)