DATE:
AUTHOR:
PowerSync Product Team
Node.js SDK

Node.js Client SDK [Beta]: v0.11.1

DATE:
AUTHOR: PowerSync Product Team

We are pleased to announce the release of version 0.11.1 of the PowerSync Node.js client SDK.

See the full changelog below.

Have any questions or feedback? Chat with us and the PowerSync community on Discord.

Changelog

v0.11.1 - 2025-10-03

  • [ADDED] Expose connection options to simplify integrations and allow dynamic access to connection parameters. (PR #726)

v0.11.0 - 2025-09-29

  • [ADDED] Introduced sync streams as an early alpha release to enable more dynamic sync. Follow the discussion in #sync-streams-alpha in Discord. (PR #707)

  • [IMPROVED] Updated the powersync-sqlite-core extension to v0.4.6. (PR #720)

v1.10.2 - 2025-09-17

  • [FIXED] A potential race condition in WatchedQueries when updateSettings is called frequently. (PR #713)

  • [FIXED] The TriggerManager trackTableDiff API example, which showed an incorrect method. (PR #711)

v1.10.1 - 2025-09-04

  • [ADDED] clientImplementation field to SyncStatus reporting whether the default JavaScript-based vs new Rust-based sync client is being used. (PR #704)

  • [IMPROVED] Updated the powersync-sqlite-core extension to v0.4.5. (PR #702)

  • [FIXED] An issue where an already fetching query would handle a query change and briefly report isFetching being false before becoming true again. (PR #706)

v1.10.0 - 2025-08-28

  • [ADDED] getCrudTransactions(), returning an async iterator of transactions. This can be used to batch transactions when uploading CRUD data. (PR #693)

  • [ADDED] Trigger‑based table diff tracking: Added an experimental feature that enables diff tracking using SQLite triggers, which is more efficient than differential watch queries on large datasets. Learn more in the release notes. (PR #663)

  • [IMPROVED] Updated the powersync-sqlite-core extension to v0.4.4. (PR #699)

  • [FIXED] An issue where the Rust sync implementation might not disconnect in some circumstances. (PR #700)

v0.9.0 - 2025-08-08

  • [IMPROVED] Added CJS specific type declarations. (PR #686)

  • [FIXED] Rust sync client: Fixed warning when reconnecting during CRUD uploads. (PR #676)

  • [DEPRECATED] Marked the AbstractPowerSyncDatabase.dispose method as deprecated. The AbstractPowerSyncDatabase.close method should be used instead. (PR #683)

v0.8.1 - 2025-07-30

  • [ADDED] Incremental and differential watched queries implementation. Learn more in the docs. (PR #614)

  • [ADDED] @powersync/adapter-sql-js to support SQL.js. (PR #647)

  • [FIXED] A bug where a WebSocket connection timeout could cause an uncaught exception. (PR #671)

  • [FIXED] A warning about raw tables being used when they're not. (PR #673)

v1.8.0 - 2025-07-17

  • [ADDED] Experimental support for raw SQLite tables, giving you full control over the table structure to sync into.
    While PowerSync manages tables as JSON views by default, raw tables have to be created by the application
    developer. For more information about raw tables, see the release notes. (PR #654)

  • [IMPROVED] Propagate logger from PowerSyncDatabase to streaming sync and remote implementations, and tweak some log messages. (PR #659)

  • [IMPROVED] Updated the powersync-sqlite-core extension to v0.4.2. (PR #656)

  • [FIXED] Sync stream delays during CRUD upload. (PR #661)

  • [INTERNAL] Removed shared mutex implementation of readLock and writeLock. (PR #662)

v0.7.1 - 2025-07-08

  • [FIXED] Compilation error due to broken import in SyncProgress.d.ts (PR #657)

v0.7.0 - 2025-07-07

  • [IMPROVED] Added a CommonJS build for @powersync/commonand re-ordered exports so require() loads the new .cjs bundle instead of the ESM build. (PR #644)

  • [IMPROVED] WebSocket keepalive tracking: treat any message as activity, extend lifetime to 90s, and defer BSON parsing which reduces keepalive errors on slow or busy connections. (PR #648)

  • Several fixes on the experimental Rust-based sync client:

    • [FIXED] After reconnecting, the sync client now properly uploads CRUD changes queued while offline; includes DataStream tweaks to allow inserting data while blocked on lowWater. (PR #650)

    • [FIXED] The sync client reports correct lastSyncedAt by converting UTC seconds to milliseconds, fixing the incorrect “1970” timestamps. (PR #649)

    • [FIXED] The sync client’s connect() promise no longer resolves before a connection was made. (PR #643)

  • [INTERNAL] Removed unused compaction logic. (PR #639)

v0.6.0 - 2025-06-18

  • [ADDED] An experimental sync client delivering improved sync performance. Learn more about it in the release notes.

  • [IMPROVED] Updated the powersync-sqlite-core extension to v0.4.0.

  • [FIXED] Include metadata and previous values when serializing CRUD entries to JSON. (PR #631)

For earlier changes, see CHANGELOG.md on GitHub.

Powered by LaunchNotes