Skip to content

Releases: powersync-ja/powersync-js

@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

@powersync/[email protected]

18 Jun 16:16
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

  • 7e8bb1a: Include metadata and previous values when serializing CRUD entries to JSON.

@powersync/[email protected]

09 Jun 14:01
8894360
Compare
Choose a tag to compare

Minor Changes

  • 96ddd5d: Improved behaviour when connect is called multiple times in quick succession. Updating client parameters should now be more responsive.

Patch Changes

@powersync/[email protected]

09 Jun 14:01
8894360
Compare
Choose a tag to compare

Patch Changes

@powersync/[email protected]

09 Jun 14:01
8894360
Compare
Choose a tag to compare

Minor Changes

  • 96ddd5d: Fixed issue where iOS WebSockets could fail to reconnect after a connection issue.
  • 96ddd5d: Improved behaviour when connect is called multiple times in quick succession. Updating client parameters should now be more responsive.

Patch Changes

@powersync/[email protected]

09 Jun 14:01
8894360
Compare
Choose a tag to compare

Minor Changes

  • ddc0bd1: Updated op-sqlite upstream peer dependency from 11.x.x to support ^13.x.x and ^14.x.x,

    Noteworthy changes from version 11 to version 14 include:

    1. SQLite updated to 3.49.1
    2. SQLCipher updated to 4.8.0
    3. Monorepo config resolution, you may need to move your op-sqlite config from your application's package.json to the monorepo root package.json depending on where your package manager tool hoists modules (see 1 and 2).

Patch Changes

@powersync/[email protected]

09 Jun 14:01
8894360
Compare
Choose a tag to compare

Minor Changes

  • 96ddd5d: Improved behaviour when connect is called multiple times in quick succession. Updating client parameters should now be more responsive.
  • efc8ba9: Switch to undici WebSocket for Dispatcher and diagnostics_channel support. This now adds support for the ALL_PROXY environment variable by default, as well as WSS_PROXY for websocket connections.

Patch Changes

@powersync/[email protected]

09 Jun 14:01
8894360
Compare
Choose a tag to compare

Minor Changes

  • 96ddd5d: - Added Sync error alert banner to all views.
    • Fix bug where clicking signOut would not disconnect from the PowerSync service.
    • Updated implementation to fetch sync errors from the SyncStatus.

Patch Changes

@powersync/[email protected]

09 Jun 14:01
8894360
Compare
Choose a tag to compare

Minor Changes

  • 96ddd5d: Improved behaviour when connect is called multiple times in quick succession. Updating client parameters should now be more responsive.
  • efc8ba9: Preserve more details on websocket errors.

Patch Changes

  • 96ddd5d: Fixed bug where changes in SyncStatus downloadError and uploadError might not be reported.