Skip to content

Commit f687928

Browse files
authored
release: 2.0.0. (#464)
* release: 2.0.0. * update README and pubspec.yaml. * fix version consistency check.
1 parent 85b2a96 commit f687928

6 files changed

+100
-76
lines changed

CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# CHANGELOG
22

3+
## 2.0.0
4+
5+
## Breaking Changes
6+
There are several breaking changes between v1 and v2. Please consult our [migration guide](https://docs.livekit.io/guides/migrate-from-v1/) when upgrading to v2.
7+
8+
* `Room.participants` was renamed to `Room.remoteParticipants`
9+
* `Room.{audio/video}Tracks` was renamed to `Room.{audio/video}TrackPublications`
10+
* `LocalParticipant.publishData` now uses participant identity as destinations instead of participant sids.
11+
* `Room.sid` now changed to `await room.getSid();`.
12+
* Removed `VideoQuality.OFF` from `VideoQuality` enum.
13+
14+
## Removal of previously deprecated APIs
15+
16+
* `LiveKitClient.connect` - Please use `var room = Room(...)` and `room.connect` instead.
17+
* `track in TrackMutedEvent/TrackUnmutedEvent` - Use `publication` instead
18+
* `TrackStreamStateUpdatedEvent.trackPublication` - Use `TrackStreamStateUpdatedEvent.publication` instead
19+
* `RemotePublication.videoQuality` - Use `RemotePublication.setVideoQuality(quality)` instead
20+
* `RemotePublication.subscribed` - Use `RemotePublication.subscribe()` or `unsubscribe()` instead
21+
* `RemotePublication.enabled` - Use `RemotePublication.enable()` or `disable()` instead
22+
* `Participant.unpublishTrack` - Use `Participant.removePublishedTrack` instead
23+
* Removed `AudioPublishOptions.stopMicTrackOnMute`
24+
25+
## Other changes
26+
27+
* Do not emit Reconnecting event during connection resume. (#459)
28+
* Cleanup when remove remote participants. (#460)
29+
* Support change key index for encryptors. (#457)
30+
* Bug fixes for e2ee (Web/Firefox). (#453)
31+
* Add lost quality (Protocol v11). (#443)
32+
* [E2EE] Add key handler for web worker. (#449)
33+
* E2EE improvement. (#461)
34+
335
## 1.5.6
436

537
* Set different rendering methods for web and native.

ios/livekit_client.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'livekit_client'
3-
s.version = '1.5.6'
3+
s.version = '2.0.0'
44
s.summary = 'Open source platform for real-time audio and video.'
55
s.description = 'Open source platform for real-time audio and video.'
66
s.homepage = 'https://livekit.io/'

lib/src/livekit.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
/// Main entry point to connect to a room.
1616
/// {@category Room}
1717
class LiveKitClient {
18-
static const version = '1.5.6';
18+
static const version = '2.0.0';
1919
}

macos/livekit_client.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'livekit_client'
3-
s.version = '1.5.6'
3+
s.version = '2.0.0'
44
s.summary = 'Open source platform for real-time audio and video.'
55
s.description = 'Open source platform for real-time audio and video.'
66
s.homepage = 'https://livekit.io/'

0 commit comments

Comments
 (0)