Skip to content

Commit c258569

Browse files
committed
Make minor release, remove outdated information
1 parent da63c75 commit c258569

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 1.9.0
3+
## 1.9.0 (unreleased)
44

55
- Sync options: `newClientImplementation` is now the default.
66
- Make `androidx.sqlite:sqlite-bundled` an API dependency of `:core` to avoid toolchain warnings.

common/src/commonMain/kotlin/com/powersync/PowerSyncDatabase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public interface PowerSyncDatabase : Queries {
105105
crudThrottleMs: Long = 1000L,
106106
retryDelayMs: Long = 5000L,
107107
params: Map<String, JsonParam?> = emptyMap(),
108-
options: SyncOptions = SyncOptions.defaults,
108+
options: SyncOptions = SyncOptions(),
109109
)
110110

111111
/**

common/src/commonMain/kotlin/com/powersync/sync/SyncOptions.kt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ public sealed class SyncClientConfiguration {
3838
*/
3939
public class SyncOptions(
4040
/**
41-
* Whether to use a new client implementation written in Rust.
41+
* Enables the new client implementation written in Rust.
4242
*
43-
* The new implementation is more efficient is the default. It can be disabled if there are issues with the new
44-
* implementation, but we expect to remove the old implementation in a future version of the PowerSync SDK. So if
45-
* you run into issues with the new client, please share them with us!
43+
* The new implementation is more efficient and enabled by default. It can be disabled if compatibility issues occur.
44+
* The old implementation will be removed in a future version of the PowerSync SDK.
45+
* Please report any issues experienced with the new implementation.
4646
*/
4747
public val newClientImplementation: Boolean = true,
4848
/**
@@ -62,10 +62,8 @@ public class SyncOptions(
6262
public companion object {
6363
/**
6464
* The default sync options, which are safe and stable to use.
65-
*
66-
* Constructing non-standard sync options requires an opt-in to experimental PowerSync
67-
* APIs, and those might change in the future.
6865
*/
66+
@Deprecated("Customizing sync options is no longer necessary, use constructor instead", replaceWith = ReplaceWith("SyncOptions()"))
6967
public val defaults: SyncOptions = SyncOptions()
7068
}
7169
}

0 commit comments

Comments
 (0)