Skip to content

Releases: powersync-ja/powersync-js

@powersync/[email protected]

07 Jul 10:00
Compare
Choose a tag to compare

Patch Changes

@powersync/[email protected]

07 Jul 10:00
Compare
Choose a tag to compare

Patch Changes

@powersync/[email protected]

07 Jul 10:01
Compare
Choose a tag to compare

Patch Changes

  • ffe3095: Improve websocket keepalive logic to reduce keepalive errors.
  • 6ebaabe: Fixed an issue where the default op-sqlite database location determination logic was being overridden. The dbLocation is 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/[email protected]

07 Jul 10:01
Compare
Choose a tag to compare

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 lastSyncedAt values in sync status.
  • Updated dependencies [ffe3095]
  • Updated dependencies [36d8f28]
  • Updated dependencies [53236a8]
  • Updated dependencies [b7255b7]
  • Updated dependencies [70a9cf5]
  • Updated dependencies [d1b7fcb]

@powersync/[email protected]

07 Jul 10:00
Compare
Choose a tag to compare

Patch Changes

@powersync/[email protected]

07 Jul 10:00
Compare
Choose a tag to compare

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 lastSyncedAt values in sync status.

@powersync/[email protected]

18 Jun 16:17
7590cc5
Compare
Choose a tag to compare

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 the clientImplementation 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/[email protected]

18 Jun 16:17
7590cc5
Compare
Choose a tag to compare

Patch Changes

@powersync/[email protected]

18 Jun 16:17
7590cc5
Compare
Choose a tag to compare

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 the clientImplementation 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/[email protected]

18 Jun 16:16
7590cc5
Compare
Choose a tag to compare

Patch Changes