Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/data-streams-compress-option.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/disconnect-during-pending-connect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sdk-version-constant.md

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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).
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/Internal/PackageVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -36,4 +36,4 @@
"dependencies": {
"com.unity.nuget.newtonsoft-json": "3.2.1"
}
}
}
Loading