Skip to content

fix: drop server-side remnants, add WS interface - #1819

Merged
szuperaz merged 5 commits into
release-v10from
drop-server-side-remnants
Aug 13, 2026
Merged

fix: drop server-side remnants, add WS interface#1819
szuperaz merged 5 commits into
release-v10from
drop-server-side-remnants

Conversation

@arnautov-anton

Copy link
Copy Markdown
Contributor

Description of the changes, What, Why and How?

@arnautov-anton arnautov-anton changed the title Initial commit fix: drop server-side remnants, add WS interface Aug 11, 2026
@arnautov-anton
arnautov-anton force-pushed the drop-server-side-remnants branch from 1b48929 to 2790716 Compare August 11, 2026 16:28
Comment thread src/utils.ts Outdated
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;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in dd95783

Comment thread src/connection.ts
Comment on lines +345 to +346
const WS = this.client.options.WebSocketImpl ?? WebSocket;
this.ws = new WS(wsURL);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread src/signing.ts
* @returns The uncompressed payload bytes.
* @throws {@link InvalidWebhookError} when the gzip envelope is malformed.
*/
export function gunzipPayload(rawBody: string | Buffer): Buffer {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@szuperaz do we have these APIs in the node-sdk?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, they were added to stream-node too when they were added to stream-chat-js: GetStream/stream-node#294

@arnautov-anton
arnautov-anton force-pushed the drop-server-side-remnants branch from 2790716 to 138ddc9 Compare August 12, 2026 13:59
@szuperaz
szuperaz merged commit 39c0c53 into release-v10 Aug 13, 2026
4 checks passed
@szuperaz
szuperaz deleted the drop-server-side-remnants branch August 13, 2026 19:36
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))
@stream-ci-bot

Copy link
Copy Markdown

🎉 This PR is included in version 10.0.0-rc.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants