Skip to content
Discussion options

You must be logged in to vote

Thanks for raising this, and sorry for the confusion here!

I do my best to make both workers and the sqlite3.wasm file forwards-compatible, meaning that upgrading drift or the sqlite3 package without upgrading your workers and WebAssembly assets should still work. So you don't always have to watch your pubspec.lock to ensure you're using the exact same version.

The inverse is not true, however. If you use a sqlite3.wasm from version x, the version of package:sqlite3 must be at least that version. This is likely what has caused these issues for you. In particular, for the major upgrade from 2.x -> 3.x in the sqlite3 package, there is no compatibility between the two versions.

Drift is stil…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dickermoshe
Comment options

@simolus3
Comment options

Answer selected by mohansella
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants