Skip to content

Commit 7a89124

Browse files
deprecate the old client
1 parent 5e20c40 commit 7a89124

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Sources/PowerSync/Protocol/PowerSyncDatabaseProtocol.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,11 @@ public struct ConnectOptions: Sendable {
9595
}
9696

9797
/// Initializes a ``ConnectOptions`` instance with optional values, including experimental options.
98-
@_spi(PowerSyncExperimental)
98+
@available(
99+
*,
100+
deprecated,
101+
message: "Specifying the newClientImplementation flag is no longer needed. It is now enabled by default. The use of the old client is deprecated and will be removed in a future version."
102+
)
99103
public init(
100104
crudThrottle: TimeInterval = 1,
101105
retryDelay: TimeInterval = 5,

Tests/PowerSyncTests/ConnectTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@testable @_spi(PowerSyncExperimental) import PowerSync
1+
@testable import PowerSync
22
import XCTest
33

44
final class ConnectTests: XCTestCase {

0 commit comments

Comments
 (0)