Skip to content

Update docs for Kotlin SDK legacy sync client removal#403

Open
mintlify[bot] wants to merge 2 commits intomainfrom
mintlify/kotlin-1.12-legacy-removal-1776760716
Open

Update docs for Kotlin SDK legacy sync client removal#403
mintlify[bot] wants to merge 2 commits intomainfrom
mintlify/kotlin-1.12-legacy-removal-1776760716

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Apr 21, 2026

Summary

Kotlin SDK v1.12.0 removes the legacy Kotlin sync client, making the Rust-based sync client the only implementation. The newClientImplementation parameter in SyncOptions is no longer needed.

  • Updated the Sync Streams migration guide version table to note the legacy client removal in v1.12.0, and added a note to the Kotlin code example
  • Simplified the Room integration connect() example by removing the now-unnecessary newClientImplementation = true parameter, with a note for users on older SDK versions

Triggered by powersync-ja/powersync-kotlin@cfd66f0.

powersync.connect(YourBackendConnector())
```

<Note>Raw tables require the Rust-based sync client, which is the default since Kotlin SDK v1.9.0 and the only implementation since v1.12.0. If you're on a version before v1.9.0, pass `options = SyncOptions(newClientImplementation = true)` to `connect()`.</Note>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can just remove this note as well, it's been the default for long enough.

Comment on lines 104 to 117
put =
PendingStatement(
"INSERT OR REPLACE INTO todos (id, description, created_by) VALUES (?, ?, ?)",
listOf(
PendingStatementParameter.Id,
PendingStatementParameter.Column("description"),
PendingStatementParameter.Column("created_by"),
),
),
delete =
PendingStatement(
"DELETE FROM todos WHERE id = ?",
listOf(PendingStatementParameter.Id),
),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is outdated as well since these statements can be inferred now. We should probably update the snippets and link to raw table docs.


**Swift:**
```swift
@_spi(PowerSyncExperimental) import PowerSync
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is outdated as well

@@ -54,7 +54,7 @@
| Capacitor | v0.0.1 | v0.3.0 |
| Tauri | v0.0.1 | Always (Rust client only) |
| Dart/Flutter | v1.16.0 | v1.17.0 |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might as well update this too

Suggested change
| Dart/Flutter | v1.16.0 | v1.17.0 |
| Dart/Flutter | v1.16.0 | v1.17.0 (legacy client removed in v2.0.0) |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants