Skip to content

Update JavaScript docs for v2 release#524

Draft
simolus3 wants to merge 5 commits into
mainfrom
js-v2
Draft

Update JavaScript docs for v2 release#524
simolus3 wants to merge 5 commits into
mainfrom
js-v2

Conversation

@simolus3

@simolus3 simolus3 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Version 2 of the JavaScript SDK will:

  • Replace js_logger with a custom interface and default console implementation.
  • Refactor open and sync option types to avoid explicit factories in most cases.
  • Encapsulate implementation details (doesn't require documentation changes).
  • Moves uploading, downloading and errors from dataFlowStatus to the main SyncStatus interface.
  • Simplify DBAdapter implementations (mostly internal, the website has no documentation on that interface).
  • Load RSocket dynamically, and make HTTP the default on most SDKs.
  • Merge web workers (relevant for React Native Web setup with custom copied workers).
  • Remove CommonJS builds (doesn't require documentation changes).
  • Remove RQNS support and make op-sqlite the only production database driver.
  • Remove deprecated members (none of them are mentioned on the docs site).

This updates database instantiations and logger setups to reflect pending v2 changes.

AI use: I let Claude go through issues labelled tmp-js-v2 to generate an initial draft, which I've then checked and updated manually.

@mintlify

mintlify Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
powersync 🟢 Ready View Preview Jun 29, 2026, 4:01 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Comment thread client-sdks/reference/react-native-and-expo.mdx Outdated
Co-authored-by: benitav <benitav@users.noreply.github.com>
Comment thread client-sdks/reference/javascript-web.mdx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants