Releases: powersync-ja/powersync-js
@powersync/diagnostics-app@0.9.3
Patch Changes
- @powersync/react@1.5.3
- @powersync/web@1.23.2
@powersync/common@1.33.2
Patch Changes
- 9b2bde3: Fix compilation error due to broken import in
SyncProgress.d.ts
@powersync/web@1.23.1
Patch Changes
- b398483: Use
BEGIN EXCLUSIVEto open write transactions - ffe3095: Improve websocket keepalive logic to reduce keepalive errors.
- 53236a8: Rust client: Properly upload CRUD entries made while offline.
- d1b7fcb: Rust sync client: Fix reported
lastSyncedAtvalues in sync status. - Updated dependencies [ffe3095]
- Updated dependencies [36d8f28]
- Updated dependencies [53236a8]
- Updated dependencies [b7255b7]
- Updated dependencies [70a9cf5]
- Updated dependencies [d1b7fcb]
- @powersync/common@1.33.1
@powersync/tanstack-react-query@0.0.28
@powersync/react-native@1.22.1
Patch Changes
- ffe3095: Improve websocket keepalive logic to reduce keepalive errors.
- 53236a8: Rust client: Properly upload CRUD entries made while offline.
- d1b7fcb: Rust sync client: Fix reported
lastSyncedAtvalues in sync status. - Updated dependencies [ffe3095]
- Updated dependencies [36d8f28]
- Updated dependencies [53236a8]
- Updated dependencies [b7255b7]
- Updated dependencies [70a9cf5]
- Updated dependencies [d1b7fcb]
- @powersync/common@1.33.1
- @powersync/react@1.5.3
@powersync/op-sqlite@0.7.2
Patch Changes
- ffe3095: Improve websocket keepalive logic to reduce keepalive errors.
- 6ebaabe: Fixed an issue where the default
op-sqlitedatabase location determination logic was being overridden. ThedbLocationis now only applied when explicitly provided, resolving issues with features like iOS App Groups. - Updated dependencies [ffe3095]
- Updated dependencies [36d8f28]
- Updated dependencies [53236a8]
- Updated dependencies [b7255b7]
- Updated dependencies [70a9cf5]
- Updated dependencies [d1b7fcb]
- @powersync/common@1.33.1
@powersync/node@0.7.0
Minor Changes
- 31e942f: Upgrade undici and use the default undici errors for WebSockets.
Patch Changes
- ffe3095: Improve websocket keepalive logic to reduce keepalive errors.
- 53236a8: Rust client: Properly upload CRUD entries made while offline.
- d1b7fcb: Rust sync client: Fix reported
lastSyncedAtvalues in sync status. - Updated dependencies [ffe3095]
- Updated dependencies [36d8f28]
- Updated dependencies [53236a8]
- Updated dependencies [b7255b7]
- Updated dependencies [70a9cf5]
- Updated dependencies [d1b7fcb]
- @powersync/common@1.33.1
@powersync/diagnostics-app@0.9.2
@powersync/common@1.33.1
Patch Changes
- ffe3095: Improve websocket keepalive logic to reduce keepalive errors.
- 36d8f28: Remove unused compaction logic.
- 53236a8: Rust client: Properly upload CRUD entries made while offline.
- b7255b7: Rust sync client: Fix
connect()resolving before a connection is made. - 70a9cf5: Added CommonJs output for common package. Ensuring default export entry is last so that require statements don't use .mjs output instead of .cjs.
- d1b7fcb: Rust sync client: Fix reported
lastSyncedAtvalues in sync status.
@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 theclientImplementationoption.However: After enabling the
RUSTclient, 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!