Skip to content

Update JavaScript docs for v2 release#524

Merged
simolus3 merged 7 commits into
mainfrom
js-v2
Jul 21, 2026
Merged

Update JavaScript docs for v2 release#524
simolus3 merged 7 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
Comment thread client-sdks/reference/javascript-web.mdx Outdated
Comment thread client-sdks/frameworks/react-native-web-support.mdx Outdated
Comment thread client-sdks/reference/javascript-web.mdx
Comment thread client-sdks/reference/javascript-web.mdx Outdated
Comment thread client-sdks/reference/javascript-web.mdx Outdated
Comment thread client-sdks/reference/react-native-and-expo.mdx Outdated
Comment thread client-sdks/reference/react-native-and-expo.mdx
Comment thread client-sdks/full-text-search.mdx Outdated
Comment thread client-sdks/advanced/data-encryption.mdx Outdated
@simolus3
simolus3 merged commit 5caf9f3 into main Jul 21, 2026
4 checks passed
@simolus3
simolus3 deleted the js-v2 branch July 21, 2026 18:13
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.

3 participants