Skip to content

chore: stream-chat rc.31 compatibility - #3919

Merged
isekovanic merged 3 commits into
V10from
fix/latest-rc-api-compatibility
Nov 3, 2026
Merged

isekovanic merged 3 commits into
V10from
fix/latest-rc-api-compatibility

Conversation

@isekovanic

Copy link
Copy Markdown
Contributor

Tickets:

🎯 Goal

Bumps stream-chat to 10.0.0-rc.31 and removes the SDK code it makes redundant. rc.31 includes GetStream/stream-chat-js#1982, GetStream/stream-chat-js#1985, GetStream/stream-chat-js#1986 and GetStream/stream-chat-js#1987.

Commit Ticket Change
328ecfb7e REACT-1184 Remove setupCommandUIMiddlewares
01671f45b REACT-1400 Pinned-message search uses the default text filter
f34a0b01c Bump stream-chat to ^10.0.0-rc.31

🛠 Implementation details

REACT-1184 - remove setupCommandUIMiddlewares

Commit: 328ecfb7e

GetStream/stream-chat-js#1985 installs the four command middlewares in every composer by default: the active command guard and the command string extraction around the commands middleware, and the command injection after attachments, for messages and for drafts. Those are the same middlewares, with the same ids and positions, that setupCommandUIMiddlewares inserted, so the helper has nothing left to do and is removed. SampleApp no longer calls it.

This is a breaking change. Apps that call setupCommandUIMiddlewares delete the call. Apps that never called it now get the command behaviour too: typing /giphy cats makes giphy the active command and leaves cats in the input. ai-docs/ai-migration-v9-to-v10.md and ai-docs/v10-breaking-changes.md are updated, and the note about the REACT-1489 fix to this helper is dropped since the helper is gone.

REACT-1400 - pinned-message search

Commit: 01671f45b

MessageSearchSource matched message text by exact equality, so ChannelPinnedMessageListProvider replaced that filter with its own text: { $q }. GetStream/stream-chat-js#1987 makes the default text: { $autocomplete }, so the override is removed. Pinned-message search now matches by word prefix: "lun" finds "Lunch tomorrow?". An empty query still lists every pinned message.

Bump stream-chat to 10.0.0-rc.31

Commit: f34a0b01c

The SDK and the four example apps move to ^10.0.0-rc.31. Besides the two changes above, it brings:

Neither needs a change here.

🎨 UI Changes

None.

🧪 Testing

  • In SampleApp on iOS, typing /giphy cats shows the GIPHY chip with cats in the input, and sending it shows the Giphy preview. Picking Giphy from the commands menu and typing dogs does the same.
  • In SampleApp on iOS, pinned-message search finds "offline send check" for "offl" and "sen", and shows no results for "zzq".
  • The full unit suite, yarn typecheck, yarn lint and yarn build pass.

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@Stream-SDK-Bot

Copy link
Copy Markdown
Contributor

SDK Size

title develop branch diff status
js_bundle_size 2037 KB 2020 KB -17486 B 🚀
ai_components_size 163 KB 163 KB -16 B 🚀

@isekovanic
isekovanic merged commit e7794a7 into V10 Nov 3, 2026
4 of 5 checks passed
@isekovanic
isekovanic deleted the fix/latest-rc-api-compatibility branch November 3, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants