File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
' @powersync/common ' : minor
3
+ ' @powersync/node ' : minor
4
+ ' @powersync/web ' : minor
5
+ ' @powersync/react-native ' : minor
3
6
---
4
7
5
- Add new experimental sync client based on the core extension.
8
+ This adds a new (and currently experimental) sync client implementation
9
+ implemented natively in the PowerSync SQLite extension.
10
+
11
+ This implementation will eventually become the default, but we encourage
12
+ interested users to try it out. In particular, we expect that it can improve
13
+ sync performance (especially on platforms with challenging JS performance,
14
+ like React Native).
15
+
16
+ On all our JavaScript SDKs, the new implementation can be enabled with a
17
+ sync option entry when connecting:
18
+
19
+ ``` JS
20
+ await db .connect (new MyConnector (), {
21
+ clientImplementation: SyncClientImplementation .RUST
22
+ });
23
+ ```
24
+
25
+ Since the new client implements the same protocol, you can also migrate back
26
+ to the JavaScript client later by removing the ` clientImplementation ` option.
27
+
28
+ __ However__ : After enabling the ` RUST ` client, you cannot downgrade your
29
+ PowerSync SDK below this version. When enabled for the first time, databases
30
+ will be migrated. The JavaScript sync client from this and later SDK versions
31
+ understands the new format, but the client from an older SDK version will not!
You can’t perform that action at this time.
0 commit comments