Skip to content

livekit-ffi 0.14.0 (2026-11-13)

Choose a tag to compare

@knope-bot knope-bot released this 13 Nov 20:31
c0de3bc

Breaking Changes

  • Add an opt-in decoded HTTP response limit, used by telemetry export, that reports an oversized response as the new TransportError::ResponseTooLarge variant. Code that matches TransportError exhaustively, in Rust or in the generated Swift and Kotlin bindings, needs a case for it.

Fixes

  • Scope agent database access to a thread or a database: AgentThreadGrants gains sql, and the new agentDatabase claim (AgentDatabaseGrants) grants read, write and delete on listed databases plus project-wide create and list. AgentGrants::database_admin is removed, and DatabaseClient signs each call with only the grant it needs. A thread's database id is its thread id, so Thread::database_id is gone.
  • Fix remote participant and track leaks when closing a room, including encrypted tracks, cancelled closure, and participant updates racing with teardown.
  • Compile the LiveKitFFI CocoaPod in Swift 5 mode, matching SPM and allowing Swift 6 hosts without inheriting their language mode.
  • Handle out-of-range key indices gracefully in KeyProvider and clamp key_ring_size to valid bounds.
  • Log libwebrtc messages at their own severity instead of reporting every one as debug, so its warnings and errors are no longer filtered out by default in every SDK.
  • On a full reconnect, Room now reports Reconnecting (and the ConnectionStateChanged that precedes it) before removing remote participants, so the ParticipantDisconnected events of a full reconnect arrive after Reconnecting rather than before it and can be told apart from participants actually leaving. #1591 (@MaxHeimbrock)
  • When the local room closes, in-flight perform_rpc calls now fail with RpcErrorCode::ConnectionClosed (1506) instead of RecipientDisconnected (1503), which remains reserved for remote participant departures.
  • Report the .NET SDK as ClientInfo.SDK.DOTNET in the join request. The dotnet SDK name fell through to UNKNOWN on the single peer connection path. - #1669 (@MaxHeimbrock)