From feb63ab2d9f6641571759eb1257b8d2dcc8b1446 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 21 Oct 2026 20:03:08 +0000 Subject: [PATCH] Version Packages --- .../cancel-incoming-stream-on-early-exit.md | 5 ----- .changeset/cuddly-cougars-study.md | 5 ----- ...eferrable-map-abort-unhandled-rejection.md | 5 ----- .changeset/olive-cities-enjoy.md | 5 ----- .changeset/rn-dynacast-encodings.md | 5 ----- .changeset/room-extensions.md | 5 ----- .changeset/stale-connect-engine.md | 5 ----- CHANGELOG.md | 20 +++++++++++++++++++ package.json | 2 +- 9 files changed, 21 insertions(+), 36 deletions(-) delete mode 100644 .changeset/cancel-incoming-stream-on-early-exit.md delete mode 100644 .changeset/cuddly-cougars-study.md delete mode 100644 .changeset/deferrable-map-abort-unhandled-rejection.md delete mode 100644 .changeset/olive-cities-enjoy.md delete mode 100644 .changeset/rn-dynacast-encodings.md delete mode 100644 .changeset/room-extensions.md delete mode 100644 .changeset/stale-connect-engine.md diff --git a/.changeset/cancel-incoming-stream-on-early-exit.md b/.changeset/cancel-incoming-stream-on-early-exit.md deleted file mode 100644 index 2335477952..0000000000 --- a/.changeset/cancel-incoming-stream-on-early-exit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Cancel an incoming data stream when its reader stops early (an aborted `signal`, a `break` out of `for await`, or a read error), so the stream is unregistered and later packets for it are dropped instead of buffering until the trailer arrives. A reader can no longer resume a stream after leaving its iteration early. diff --git a/.changeset/cuddly-cougars-study.md b/.changeset/cuddly-cougars-study.md deleted file mode 100644 index 4828058692..0000000000 --- a/.changeset/cuddly-cougars-study.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"livekit-client": patch ---- - -add datatrack data channel to sync state info diff --git a/.changeset/deferrable-map-abort-unhandled-rejection.md b/.changeset/deferrable-map-abort-unhandled-rejection.md deleted file mode 100644 index 2a5a4a11c7..0000000000 --- a/.changeset/deferrable-map-abort-unhandled-rejection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Fix an unhandled promise rejection when the signal passed to `dataTracks.getDeferred()` aborts, even though the caller catches the rejected promise. diff --git a/.changeset/olive-cities-enjoy.md b/.changeset/olive-cities-enjoy.md deleted file mode 100644 index 22df7d9d65..0000000000 --- a/.changeset/olive-cities-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Fixes an issue where if a data stream runs into a terminal error, any packets delivered afterwards will be treated as if the stream doesn't exist (and not throw a sync error) diff --git a/.changeset/rn-dynacast-encodings.md b/.changeset/rn-dynacast-encodings.md deleted file mode 100644 index da58e28f71..0000000000 --- a/.changeset/rn-dynacast-encodings.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -Fix dynacast never pausing video layers on React Native: save sender encodings before skipping the stats monitor diff --git a/.changeset/room-extensions.md b/.changeset/room-extensions.md deleted file mode 100644 index 24f043c720..0000000000 --- a/.changeset/room-extensions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': minor ---- - -Split `Room` into `CoreRoom` plus extensions. `createRoom(options, [extensions])` from `livekit-client/core` builds a room with only the extensions an application needs; `e2ee`, `frameMetadata` and `dataStreams` take their options directly. `Room.dispose()` releases a room for good. Video publishing (camera, screen share, simulcast, SVC, backup codecs) is the `video` extension; receiving video stays in core. The new `livekit-client/core` entry (ESM only, experimental) exports `CoreRoom` and the extensions. `simulateParticipants` and the legacy chat messages are extensions too; the core entry does not offer legacy chat. diff --git a/.changeset/stale-connect-engine.md b/.changeset/stale-connect-engine.md deleted file mode 100644 index f8fe2f1365..0000000000 --- a/.changeset/stale-connect-engine.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-client': patch ---- - -If `room.disconnect()` runs during the signal join, the connection attempt now rejects as cancelled instead of with a `TypeError`. A stale connection attempt no longer closes the engine of a newer connection or disconnects the room. diff --git a/CHANGELOG.md b/CHANGELOG.md index dbc6568ac6..dbc511a789 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # Change Log +## 2.24.0 + +### Minor Changes + +- Split `Room` into `CoreRoom` plus extensions. `createRoom(options, [extensions])` from `livekit-client/core` builds a room with only the extensions an application needs; `e2ee`, `frameMetadata` and `dataStreams` take their options directly. `Room.dispose()` releases a room for good. Video publishing (camera, screen share, simulcast, SVC, backup codecs) is the `video` extension; receiving video stays in core. The new `livekit-client/core` entry (ESM only, experimental) exports `CoreRoom` and the extensions. `simulateParticipants` and the legacy chat messages are extensions too; the core entry does not offer legacy chat. - [#2141](https://github.com/livekit/client-sdk-js/pull/2141) ([@lukasIO](https://github.com/lukasIO)) + +### Patch Changes + +- Cancel an incoming data stream when its reader stops early (an aborted `signal`, a `break` out of `for await`, or a read error), so the stream is unregistered and later packets for it are dropped instead of buffering until the trailer arrives. A reader can no longer resume a stream after leaving its iteration early. - [#2168](https://github.com/livekit/client-sdk-js/pull/2168) ([@1egoman](https://github.com/1egoman)) + +- add datatrack data channel to sync state info - [#2159](https://github.com/livekit/client-sdk-js/pull/2159) ([@lukasIO](https://github.com/lukasIO)) + +- Fix an unhandled promise rejection when the signal passed to `dataTracks.getDeferred()` aborts, even though the caller catches the rejected promise. - [#2156](https://github.com/livekit/client-sdk-js/pull/2156) ([@Abhishek-B-R](https://github.com/Abhishek-B-R)) + +- Fixes an issue where if a data stream runs into a terminal error, any packets delivered afterwards will be treated as if the stream doesn't exist (and not throw a sync error) - [#2167](https://github.com/livekit/client-sdk-js/pull/2167) ([@1egoman](https://github.com/1egoman)) + +- Fix dynacast never pausing video layers on React Native: save sender encodings before skipping the stats monitor - [#2163](https://github.com/livekit/client-sdk-js/pull/2163) ([@davidliu](https://github.com/davidliu)) + +- If `room.disconnect()` runs during the signal join, the connection attempt now rejects as cancelled instead of with a `TypeError`. A stale connection attempt no longer closes the engine of a newer connection or disconnects the room. - [#2151](https://github.com/livekit/client-sdk-js/pull/2151) ([@lukasIO](https://github.com/lukasIO)) + ## 2.23.0 ### Minor Changes diff --git a/package.json b/package.json index d5fe419594..fed0281277 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "livekit-client", - "version": "2.23.0", + "version": "2.24.0", "description": "JavaScript/TypeScript client SDK for LiveKit", "main": "./dist/livekit-client.umd.js", "unpkg": "./dist/livekit-client.umd.js",