Skip to content
Merged
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
1 change: 0 additions & 1 deletion .changes/audio-processing-lifecycle

This file was deleted.

1 change: 0 additions & 1 deletion .changes/clamp-response-timeout

This file was deleted.

1 change: 0 additions & 1 deletion .changes/connection-credentials

This file was deleted.

1 change: 0 additions & 1 deletion .changes/fix-app-ext-compile

This file was deleted.

1 change: 0 additions & 1 deletion .changes/last-spoke-at

This file was deleted.

1 change: 0 additions & 1 deletion .changes/logger

This file was deleted.

1 change: 0 additions & 1 deletion .changes/serial-cancellation

This file was deleted.

1 change: 0 additions & 1 deletion .changes/stream-type

This file was deleted.

1 change: 0 additions & 1 deletion .changes/xcframework

This file was deleted.

2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.8.1
2.9.0
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## [2.9.0] - 2025-10-20

### Added

- Improved logging with the interface for custom loggers
- Add lastSpokeAt property to Participant
- Abstract token source for easier token fetching in production and faster integration with sandbox environment

### Fixed

- clamp response timeout in performRpc to minimal 1s
- Audio processing delegate lifecycle
- Byte stream MIME type defaulting to text/plain
- App extension compile issues
- Breaking change: Library evolution support (xcframework). May break existing `*Track` extensions.
- Serial operations cancellation semantics

## [2.8.1] - 2025-10-02

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion LiveKitClient.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "LiveKitClient"
spec.version = "2.8.1"
spec.version = "2.9.0"
spec.summary = "LiveKit Swift Client SDK. Easily build live audio or video experiences into your mobile app, game or website."
spec.homepage = "https://github.com/livekit/client-sdk-swift"
spec.license = {:type => "Apache 2.0", :file => "LICENSE"}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Add the dependency and also to your target
let package = Package(
...
dependencies: [
.package(name: "LiveKit", url: "https://github.com/livekit/client-sdk-swift.git", .upToNextMajor("2.8.1")),
.package(name: "LiveKit", url: "https://github.com/livekit/client-sdk-swift.git", .upToNextMajor("2.9.0")),
],
targets: [
.target(
Expand Down
4 changes: 3 additions & 1 deletion Sources/LiveKit/LiveKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class LiveKitSDK: NSObject, Loggable {
override private init() {}

@objc(sdkVersion)
public static let version = "2.8.1"
public static let version = "2.9.0"

fileprivate struct State {
var logger: Logger = OSLogger()
Expand All @@ -54,13 +54,15 @@ public class LiveKitSDK: NSObject, Loggable {
/// Adjust the minimum log level for the default `OSLogger`
/// - Note: This method must be called before any other logging is done
/// e.g. in the `App.init()` or `AppDelegate/SceneDelegate`
@objc
public static func setLogLevel(_ level: LogLevel) {
setLogger(OSLogger(minLevel: level))
}

/// Disable logging for the SDK
/// - Note: This method must be called before any other logging is done
/// e.g. in the `App.init()` or `AppDelegate/SceneDelegate`
@objc
public static func disableLogging() {
setLogger(DisabledLogger())
}
Expand Down
1 change: 1 addition & 0 deletions Sources/LiveKit/Support/Logger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ extension Loggable {

// MARK: - Level

@objc
@frozen
public enum LogLevel: Int, Sendable, Comparable {
case debug
Expand Down
Loading