Skip to content

Releases: powersync-ja/powersync-js

@powersync/web@1.23.0

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

  • 0446f15: Update PowerSync core extension to 0.4.0
  • Updated dependencies [cbb20c0]
  • Updated dependencies [7e8bb1a]
    • @powersync/common@1.33.0

@powersync/tanstack-react-query@0.0.27

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

Patch Changes

  • Updated dependencies [cbb20c0]
  • Updated dependencies [7e8bb1a]
    • @powersync/common@1.33.0
    • @powersync/react@1.5.3

@powersync/react-native@1.22.0

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

  • 0446f15: Update PowerSync core extension to 0.4.0
  • 450b2c9: Fix issues forwarding array buffers to Rust sync client.
  • Updated dependencies [cbb20c0]
  • Updated dependencies [7e8bb1a]
    • @powersync/common@1.33.0
    • @powersync/react@1.5.3

@powersync/op-sqlite@0.7.1

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

Patch Changes

  • 0446f15: Update PowerSync core extension to 0.4.0
  • Updated dependencies [cbb20c0]
  • Updated dependencies [7e8bb1a]
    • @powersync/common@1.33.0

@powersync/node@0.6.0

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

  • 0446f15: Update PowerSync core extension to 0.4.0
  • Updated dependencies [cbb20c0]
  • Updated dependencies [7e8bb1a]
    • @powersync/common@1.33.0

@powersync/diagnostics-app@0.9.1

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

Patch Changes

  • Updated dependencies [cbb20c0]
  • Updated dependencies [0446f15]
    • @powersync/web@1.23.0
    • @powersync/react@1.5.3

@powersync/common@1.33.0

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/web@1.22.0

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

  • Updated dependencies [96ddd5d]
  • Updated dependencies [96ddd5d]
  • Updated dependencies [efc8ba9]
    • @powersync/common@1.32.0

@powersync/tanstack-react-query@0.0.26

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

Patch Changes

  • Updated dependencies [96ddd5d]
  • Updated dependencies [96ddd5d]
  • Updated dependencies [efc8ba9]
    • @powersync/common@1.32.0
    • @powersync/react@1.5.3

@powersync/react-native@1.21.0

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

  • Updated dependencies [96ddd5d]
  • Updated dependencies [96ddd5d]
  • Updated dependencies [efc8ba9]
    • @powersync/common@1.32.0
    • @powersync/react@1.5.3