What's changing: The JavaScript SDK removes its js-logger dependency and replaces it with a custom PowerSyncLogger interface. The createBaseLogger() function and its associated methods (useDefaults(), setLevel()) are gone. Users who need a non-default logger implement PowerSyncLogger directly; createPowerSyncLogger is available for the default logger with configurable minimum severity. Log-level configuration for web and sync workers also changes: WASQLiteOpenFactory gains a logLevel parameter, and sync workers accept a minimum log level option separately.
High priority — existing docs are now inaccurate or incomplete
- Troubleshooting page (
https://docs.powersync.com/debugging/troubleshooting) — the "Client-Side Logging" section for JavaScript-based SDKs currently reads: "You can use our built-in logger based on js-logger for logging. Create the base logger with const logger = createBaseLogger() and enable with logger.useDefaults() and set level with logger.setLevel(LogLevel.DEBUG)." All of createBaseLogger(), useDefaults(), and setLevel() are removed in v2; this guidance will fail verbatim when followed against a v2 release.
For reviewer consideration — may be worth documenting
None.
Source PR: powersync-ja/powersync-js#966. At the time of filing, the PR is merged 2026-06-08. This change targets the v2 pre-release branch and has not shipped in a stable release. Publish updates only after the PR ships in a released version.
Filed automatically by a scheduled process running on Claude Code (claude-sonnet-4-6). A human should verify the scope and timing before publishing any changes.
What's changing: The JavaScript SDK removes its
js-loggerdependency and replaces it with a customPowerSyncLoggerinterface. ThecreateBaseLogger()function and its associated methods (useDefaults(),setLevel()) are gone. Users who need a non-default logger implementPowerSyncLoggerdirectly;createPowerSyncLoggeris available for the default logger with configurable minimum severity. Log-level configuration for web and sync workers also changes:WASQLiteOpenFactorygains alogLevelparameter, and sync workers accept a minimum log level option separately.High priority — existing docs are now inaccurate or incomplete
https://docs.powersync.com/debugging/troubleshooting) — the "Client-Side Logging" section for JavaScript-based SDKs currently reads: "You can use our built-in logger based on js-logger for logging. Create the base logger withconst logger = createBaseLogger()and enable withlogger.useDefaults()and set level withlogger.setLevel(LogLevel.DEBUG)." All ofcreateBaseLogger(),useDefaults(), andsetLevel()are removed in v2; this guidance will fail verbatim when followed against a v2 release.For reviewer consideration — may be worth documenting
None.
Source PR: powersync-ja/powersync-js#966. At the time of filing, the PR is merged 2026-06-08. This change targets the
v2pre-release branch and has not shipped in a stable release. Publish updates only after the PR ships in a released version.Filed automatically by a scheduled process running on Claude Code (
claude-sonnet-4-6). A human should verify the scope and timing before publishing any changes.