fix: drop server-side remnants, add WS interface - #1819
Merged
Conversation
arnautov-anton
requested review from
MartinCupela,
isekovanic,
oliverlaz,
santhoshvai,
szuperaz and
vishalnarkhede
as code owners
August 11, 2026 15:31
arnautov-anton
force-pushed
the
drop-server-side-remnants
branch
from
August 11, 2026 16:28
1b48929 to
2790716
Compare
arnautov-anton
commented
Aug 11, 2026
Comment on lines
103
to
113
| export function addFileToFormData(uri: string | Blob, name?: string) { | ||
| const data = new FormData(); | ||
|
|
||
| if (isReadableStream(uri) || isBuffer(uri) || isFileWebAPI(uri) || isBlobWebAPI(uri)) { | ||
| if (isBlobWebAPI(uri)) { | ||
| if (name) data.append('file', uri, name); | ||
| else data.append('file', uri); | ||
| } else { | ||
| data.append('file', { | ||
| uri, | ||
| name: name || (uri as string).split('/').reverse()[0], | ||
| contentType: contentType || undefined, | ||
| type: contentType || undefined, | ||
| }); | ||
| data.append('file', uri); | ||
| } | ||
|
|
||
| return data; |
Contributor
Author
There was a problem hiding this comment.
This right here is the biggest change and would need some testing from RN guys too, not sure whether this is the correct typing. @isekovanic
arnautov-anton
commented
Aug 11, 2026
Comment on lines
+345
to
+346
| const WS = this.client.options.WebSocketImpl ?? WebSocket; | ||
| this.ws = new WS(wsURL); |
oliverlaz
reviewed
Aug 12, 2026
| * @returns The uncompressed payload bytes. | ||
| * @throws {@link InvalidWebhookError} when the gzip envelope is malformed. | ||
| */ | ||
| export function gunzipPayload(rawBody: string | Buffer): Buffer { |
Contributor
There was a problem hiding this comment.
Yes, they were added to stream-node too when they were added to stream-chat-js: GetStream/stream-node#294
oliverlaz
approved these changes
Aug 12, 2026
arnautov-anton
force-pushed
the
drop-server-side-remnants
branch
from
August 12, 2026 13:59
2790716 to
138ddc9
Compare
github-actions Bot
pushed a commit
that referenced
this pull request
Aug 19, 2026
## [10.0.0-rc.3](v10.0.0-rc.2...v10.0.0-rc.3) (2026-08-19) ### Bug Fixes * drop server-side remnants, add WS interface ([#1819](#1819)) ([39c0c53](39c0c53)) * handle offline db syncing errors more gracefully ([#1818](#1818)) ([5b77c05](5b77c05)) * post-merge/OAPI-reconciliation adjustments ([#1812](#1812)) ([5073c67](5073c67)) * regenerate api layer (fix generated filter types) ([#1827](#1827)) ([e540d88](e540d88)) * signal api ([#1828](#1828)) ([9032b1a](9032b1a)) * **types:** add missing API response fields reported by scheduled type tests ([#1817](#1817)) ([e957c9d](e957c9d)) ### Features * destructive reconciliation ([#1822](#1822)) ([3c46fbf](3c46fbf)) * port search improvements ([#1829](#1829)) ([7276299](7276299)), closes [#1823](#1823) * regenerate from latest open api spec ([#1821](#1821)) ([22344ca](22344ca)) * regenerate open api spec + improve tooling ([#1824](#1824)) ([a3198e7](a3198e7)) * **search:** adapt debounce to query length and cancel superseded requests ([#1823](#1823)) ([1ca8bf7](1ca8bf7)) ### Chores * **deps:** bump axios, form-data and dev dependencies ([#1825](#1825)) ([940f2bc](940f2bc)) ### Performance Improvements * introduce event sync limit for offline db ([#1826](#1826)) ([46cb7df](46cb7df))
|
🎉 This PR is included in version 10.0.0-rc.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the changes, What, Why and How?