diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 85c9c02..2cd34e0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -30,6 +30,7 @@ jobs: test: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: include: - sqlite_version: "3440200" diff --git a/packages/sqlite_async/CHANGELOG.md b/packages/sqlite_async/CHANGELOG.md index a91538e..f1dad95 100644 --- a/packages/sqlite_async/CHANGELOG.md +++ b/packages/sqlite_async/CHANGELOG.md @@ -1,12 +1,18 @@ +## 0.9.1 + +- Support version ^0.2.0 of package:sqlite3_web +- Fix update notifications to only fire outside transactions +- Fix update notifications to be debounced on web + ## 0.9.0 - - Support the latest version of package:web and package:sqlite3_web +- Support the latest version of package:web and package:sqlite3_web - - Export sqlite3 `open` for packages that depend on `sqlite_async` +- Export sqlite3 `open` for packages that depend on `sqlite_async` ## 0.8.3 - - Updated web database implementation for get and getOptional. Fixed refreshSchema not working in web. +- Updated web database implementation for get and getOptional. Fixed refreshSchema not working in web. ## 0.8.2 diff --git a/packages/sqlite_async/pubspec.yaml b/packages/sqlite_async/pubspec.yaml index 438acbb..c412233 100644 --- a/packages/sqlite_async/pubspec.yaml +++ b/packages/sqlite_async/pubspec.yaml @@ -1,6 +1,6 @@ name: sqlite_async description: High-performance asynchronous interface for SQLite on Dart and Flutter. -version: 0.9.0 +version: 0.9.1 repository: https://github.com/powersync-ja/sqlite_async.dart environment: sdk: ">=3.4.0 <4.0.0" @@ -12,8 +12,8 @@ topics: - flutter dependencies: - sqlite3: "^2.4.4" - sqlite3_web: ^0.1.3 + sqlite3: "^2.4.7" + sqlite3_web: ^0.2.0 async: ^2.10.0 collection: ^1.17.0 mutex: ^3.1.0 diff --git a/packages/sqlite_async/test/watch_test.dart b/packages/sqlite_async/test/watch_test.dart index 08a80cb..7e74790 100644 --- a/packages/sqlite_async/test/watch_test.dart +++ b/packages/sqlite_async/test/watch_test.dart @@ -258,7 +258,7 @@ void main() { final db = await testUtils.setupDatabase(path: path); await createTables(db); - const baseTime = 10; + const baseTime = 20; const throttleDuration = Duration(milliseconds: baseTime); // delay must be bigger than throttleDuration, and bigger @@ -300,6 +300,7 @@ void main() { // [0, 2, 2]: The watch is triggered during the transaction, // but executes after the transaction (single connection). // [0]: No updates triggered. + // [2, 2]: Timing issue? }); }); }