diff --git a/.changeset/data-streams-compress-option.md b/.changeset/data-streams-compress-option.md deleted file mode 100644 index e7586833..00000000 --- a/.changeset/data-streams-compress-option.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -io.livekit.livekit-sdk: minor ---- - -Add a `Compress` option to `StreamTextOptions` and `StreamByteOptions`, so `SendText` and `SendFile` can opt out of data stream compression. diff --git a/.changeset/disconnect-during-pending-connect.md b/.changeset/disconnect-during-pending-connect.md deleted file mode 100644 index f539ae4f..00000000 --- a/.changeset/disconnect-during-pending-connect.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -io.livekit.livekit-sdk: patch ---- - -`Room.Disconnect()` (and `Dispose()`) called while `Connect()` is still pending is no longer ignored: the room is disconnected as soon as the connect completes, without raising `Connected`, and the pending `ConnectInstruction` completes with `IsError` set. - -`Room.Connect()` no longer overwrites the live room handle and leaks the native room when called on a room that is not disconnected. On a connected room it is now a no-op that logs a warning and returns a completed instruction. While the room is reconnecting, it replaces the reconnection with a new connection, reporting the old session as `Disconnected` with `ClientInitiated`. It throws `InvalidOperationException` while another `Connect()` is still pending. It can be called from a `Disconnected` handler to reconnect right away, except while a `Connect()` is replacing a reconnecting session. `Room.E2EEManager` now receives the room handle (it was created before the handle was set). diff --git a/.changeset/sdk-version-constant.md b/.changeset/sdk-version-constant.md deleted file mode 100644 index 85b14e18..00000000 --- a/.changeset/sdk-version-constant.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -io.livekit.livekit-sdk: patch ---- - -The SDK version reported to the server is now compiled into the SDK, so it is no longer `"unknown"` when the SDK is copied into `Assets/` or in the first Editor session of a project. The SDK no longer writes `Assets/Resources/LiveKitSdkVersionInfo.txt` into your project; you can delete that file. diff --git a/CHANGELOG.md b/CHANGELOG.md index a7bd7795..21c4e846 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ # Changelog +## 2.2.0 + +### Minor Changes + +- Add a `Compress` option to `StreamTextOptions` and `StreamByteOptions`, so `SendText` and `SendFile` can opt out of data stream compression. - [#400](https://github.com/livekit/client-sdk-unity/pull/400) ([@1egoman](https://github.com/1egoman)) + +### Patch Changes + +- `Room.Disconnect()` (and `Dispose()`) called while `Connect()` is still pending is no longer ignored: the room is disconnected as soon as the connect completes, without raising `Connected`, and the pending `ConnectInstruction` completes with `IsError` set. - [#404](https://github.com/livekit/client-sdk-unity/pull/404) ([@MaxHeimbrock](https://github.com/MaxHeimbrock)) + + `Room.Connect()` no longer overwrites the live room handle and leaks the native room when called on a room that is not disconnected. On a connected room it is now a no-op that logs a warning and returns a completed instruction. While the room is reconnecting, it replaces the reconnection with a new connection, reporting the old session as `Disconnected` with `ClientInitiated`. It throws `InvalidOperationException` while another `Connect()` is still pending. It can be called from a `Disconnected` handler to reconnect right away, except while a `Connect()` is replacing a reconnecting session. `Room.E2EEManager` now receives the room handle (it was created before the handle was set). +- The SDK version reported to the server is now compiled into the SDK, so it is no longer `"unknown"` when the SDK is copied into `Assets/` or in the first Editor session of a project. The SDK no longer writes `Assets/Resources/LiveKitSdkVersionInfo.txt` into your project; you can delete that file. - [#412](https://github.com/livekit/client-sdk-unity/pull/412) ([@MaxHeimbrock](https://github.com/MaxHeimbrock)) + + The notes for 2.1.1 and earlier are on the [releases page](https://github.com/livekit/client-sdk-unity/releases). diff --git a/README.md b/README.md index d2e192f2..9ca4ab94 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ cd client-sdk-unity ``` Or you can import the Git url `https://github.com/livekit/client-sdk-unity.git` from the package manager. -If you want to use tagged release versions, use `https://github.com/livekit/client-sdk-unity.git#vX.X.X`, for example with `#v2.1.1`. +If you want to use tagged release versions, use `https://github.com/livekit/client-sdk-unity.git#vX.X.X`, for example with `#v2.2.0`. ### Using OpenUPM diff --git a/Runtime/Scripts/Internal/PackageVersion.cs b/Runtime/Scripts/Internal/PackageVersion.cs index 978cca34..fd7db66f 100644 --- a/Runtime/Scripts/Internal/PackageVersion.cs +++ b/Runtime/Scripts/Internal/PackageVersion.cs @@ -3,7 +3,7 @@ namespace LiveKit.Internal public static class PackageVersion { // Updated by verwalter on each release, together with package.json (see verwalter.toml). - public const string Version = "2.1.1"; + public const string Version = "2.2.0"; public static string Get() => Version; } diff --git a/package.json b/package.json index 38745684..f69a9937 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "io.livekit.livekit-sdk", - "version": "2.1.1", + "version": "2.2.0", "displayName": "LiveKit SDK", "description": "LiveKit", "unity": "2022.3", @@ -36,4 +36,4 @@ "dependencies": { "com.unity.nuget.newtonsoft-json": "3.2.1" } -} +} \ No newline at end of file