Skip to content

fix(adapter-sql-js): Updated sql-js upstream version to support rust sync implementation - #681

Merged
Chriztiaan merged 1 commit into
mainfrom
fix/rust-sync-sql-js
Jul 31, 2025
Merged

fix(adapter-sql-js): Updated sql-js upstream version to support rust sync implementation#681
Chriztiaan merged 1 commit into
mainfrom
fix/rust-sync-sql-js

Conversation

@Chriztiaan

Copy link
Copy Markdown
Contributor

Small dependency bump for adapter-sql-js package.
See upstream change powersync-ja/powersync-sql-js#5

@changeset-bot

changeset-bot Bot commented Jul 31, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 69a160a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@powersync/adapter-sql-js Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Chriztiaan
Chriztiaan marked this pull request as ready for review July 31, 2025 14:18
@Chriztiaan
Chriztiaan merged commit 8cc3335 into main Jul 31, 2025
9 checks passed
@Chriztiaan
Chriztiaan deleted the fix/rust-sync-sql-js branch July 31, 2025 14:23
@rkistner

Copy link
Copy Markdown
Contributor

So if I understand correctly, the issue is that we're passing an ArrayBuffer, while upstream sql-js only supports Uint8Array?

This probably comes up because we're explicitly converting from Uint8Array to ArrayBuffer here, and now we're effectively converting back to Uint8Array. I wonder if we should modify that check, to keep the Uint8Array as-is for anything other than RNQS? It likely also affects our op-sqlite implementation.

whygee-dev pushed a commit to whygee-dev/powersync-js that referenced this pull request Oct 18, 2025
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