powersync-ja / powersync.dart

SDK that enables local-first and real-time reactive apps with embedded SQLite for Flutter/Dart clients
https://www.powersync.com
133 stars 18 forks source link

bump sqlite_async version to 0.9.0 #186

Closed davidmartos96 closed 1 month ago

davidmartos96 commented 1 month ago

Updates sqlite_async version in the package and in the demos, and it updates the drift demo with an up to date version. Depends on https://github.com/powersync-ja/sqlite_async.dart/pull/65

mugikhan commented 1 month ago

@davidmartos96 can you run melos prepare in the monorepo and ensure there are no errors when fetching these dependencies?

As noted in #160, the supabase-todolist-drift demo will fail to fetch it's dependencies when upgrading to sqlite_async v0.9.0. We have also not published drift_sqlite_async: ^0.2.0-alpha.1 and will fail on dependency resolution.

davidmartos96 commented 1 month ago

I did run melos bootstrap. Errors are expected because https://github.com/powersync-ja/sqlite_async.dart/pull/65 is not published yet. We can mark as draft if you wish

mugikhan commented 1 month ago

Hey @davidmartos96 I am unsure about the upgrade of the sqlite3 package as we haven't released our core extension with support for the upgraded version. Could you please run a melos prepare and ensure that you don't have any errors?

davidmartos96 commented 1 month ago

@mugikhan I believe the problem is because this hasn't been merged yet https://github.com/powersync-ja/sqlite3.dart/pull/10

It adds compatibility with sqlite3 v2.4.6 on Web WASM which is the minimum version that supports web 1.0.0, required by sqlite_async 0.9.0