Update docs for Kotlin SDK legacy sync client removal#403
Open
mintlify[bot] wants to merge 2 commits intomainfrom
Open
Update docs for Kotlin SDK legacy sync client removal#403mintlify[bot] wants to merge 2 commits intomainfrom
mintlify[bot] wants to merge 2 commits intomainfrom
Conversation
benitav
approved these changes
Apr 22, 2026
simolus3
reviewed
Apr 22, 2026
| 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> |
Contributor
There was a problem hiding this comment.
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), | ||
| ), |
Contributor
There was a problem hiding this comment.
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 |
| @@ -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 | | |||
Contributor
There was a problem hiding this comment.
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) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Kotlin SDK v1.12.0 removes the legacy Kotlin sync client, making the Rust-based sync client the only implementation. The
newClientImplementationparameter inSyncOptionsis no longer needed.connect()example by removing the now-unnecessarynewClientImplementation = trueparameter, with a note for users on older SDK versionsTriggered by powersync-ja/powersync-kotlin@cfd66f0.