Releases: powersync-ja/powersync-js
@powersync/web@1.23.0
Minor Changes
-
cbb20c0: This adds a new (and currently experimental) sync client implementation
implemented natively in the PowerSync SQLite extension.This implementation will eventually become the default, but we encourage
interested users to try it out. In particular, we expect that it can improve
sync performance (especially on platforms with challenging JS performance,
like React Native).On all our JavaScript SDKs, the new implementation can be enabled with a
sync option entry when connecting:await db.connect(new MyConnector(), { clientImplementation: SyncClientImplementation.RUST });
Since the new client implements the same protocol, you can also migrate back
to the JavaScript client later by removing theclientImplementation
option.However: After enabling the
RUST
client, you cannot downgrade your
PowerSync SDK below this version. When enabled for the first time, databases
will be migrated. The JavaScript sync client from this and later SDK versions
understands the new format, but the client from an older SDK version will not!
Patch Changes
@powersync/tanstack-react-query@0.0.27
@powersync/react-native@1.22.0
Minor Changes
-
cbb20c0: This adds a new (and currently experimental) sync client implementation
implemented natively in the PowerSync SQLite extension.This implementation will eventually become the default, but we encourage
interested users to try it out. In particular, we expect that it can improve
sync performance (especially on platforms with challenging JS performance,
like React Native).On all our JavaScript SDKs, the new implementation can be enabled with a
sync option entry when connecting:await db.connect(new MyConnector(), { clientImplementation: SyncClientImplementation.RUST });
Since the new client implements the same protocol, you can also migrate back
to the JavaScript client later by removing theclientImplementation
option.However: After enabling the
RUST
client, you cannot downgrade your
PowerSync SDK below this version. When enabled for the first time, databases
will be migrated. The JavaScript sync client from this and later SDK versions
understands the new format, but the client from an older SDK version will not!
Patch Changes
@powersync/op-sqlite@0.7.1
@powersync/node@0.6.0
Minor Changes
-
cbb20c0: This adds a new (and currently experimental) sync client implementation
implemented natively in the PowerSync SQLite extension.This implementation will eventually become the default, but we encourage
interested users to try it out. In particular, we expect that it can improve
sync performance (especially on platforms with challenging JS performance,
like React Native).On all our JavaScript SDKs, the new implementation can be enabled with a
sync option entry when connecting:await db.connect(new MyConnector(), { clientImplementation: SyncClientImplementation.RUST });
Since the new client implements the same protocol, you can also migrate back
to the JavaScript client later by removing theclientImplementation
option.However: After enabling the
RUST
client, you cannot downgrade your
PowerSync SDK below this version. When enabled for the first time, databases
will be migrated. The JavaScript sync client from this and later SDK versions
understands the new format, but the client from an older SDK version will not!
Patch Changes
@powersync/diagnostics-app@0.9.1
@powersync/common@1.33.0
Minor Changes
-
cbb20c0: This adds a new (and currently experimental) sync client implementation
implemented natively in the PowerSync SQLite extension.This implementation will eventually become the default, but we encourage
interested users to try it out. In particular, we expect that it can improve
sync performance (especially on platforms with challenging JS performance,
like React Native).On all our JavaScript SDKs, the new implementation can be enabled with a
sync option entry when connecting:await db.connect(new MyConnector(), { clientImplementation: SyncClientImplementation.RUST });
Since the new client implements the same protocol, you can also migrate back
to the JavaScript client later by removing theclientImplementation
option.However: After enabling the
RUST
client, you cannot downgrade your
PowerSync SDK below this version. When enabled for the first time, databases
will be migrated. The JavaScript sync client from this and later SDK versions
understands the new format, but the client from an older SDK version will not!
Patch Changes
- 7e8bb1a: Include metadata and previous values when serializing CRUD entries to JSON.