You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Divergence] JS Web SDK adds additionalInitializationFunctions for statically linked wa-sqlite extensions (powersync-js #1151) #704
What's changing: The @powersync/web database open options gain additionalInitializationFunctions, an optional array of exported function names that custom wa-sqlite builds with statically linked extensions can use to initialize those extensions. The names are forwarded to local connections and database workers, including read-only workers. powersync_init_static runs first, then each additional no-argument export, and every return code is checked before the database opens. A nonzero return code from the core or an extension, or a missing export, now rejects opening the database. The default makes no additional calls. The change is in a pending minor changeset for @powersync/web and has not been released yet.
High priority — existing docs are now inaccurate or incomplete
None identified.
For reviewer consideration — worth documenting
Using SQLite Extensions (https://docs.powersync.com/client-sdks/advanced/sqlite-extensions), JavaScript "Web" section: says loading extensions with @powersync/web requires a custom wa-sqlite build, but does not mention how to initialize statically linked extensions. No page covers additionalInitializationFunctions yet.
Filed automatically by Claude Code (claude-sonnet-5-5). A human must verify the scope, prepare the docs PR, and publish it only once this update has been released.
[Status Update] Source PR powersync-ja/powersync-js#1151 is now merged on 2026-10-19.
Documentation updates can be published after the change ships in a release.
Filed automatically by Claude Code (claude-sonnet-5-5). A human must verify the scope, prepare the docs PR, and publish it only once this update has been released.
Activity
benitav commentedon Oct 21, 2026
[Status Update] Source PR powersync-ja/powersync-js#1151 is now merged on 2026-10-19.
Documentation updates can be published after the change ships in a release.
Filed automatically by Claude Code (
claude-sonnet-5-5). A human must verify the scope, prepare the docs PR, and publish it only once this update has been released.Generated by Claude Code