|
1 | 1 | # CHANGELOG
|
2 | 2 |
|
| 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 | + |
3 | 35 | ## 1.5.6
|
4 | 36 |
|
5 | 37 | * Set different rendering methods for web and native.
|
|
0 commit comments